Class Int32BlockPool.SliceWriter
A Int32BlockPool.SliceWriter that allows to write multiple integer slices into a given Int32BlockPool.
@lucene.internal
Inheritance
System.Object
Int32BlockPool.SliceWriter
Assembly: DistributedLucene.Net.dll
Syntax
public class SliceWriter : object
Constructors
Name | Description |
---|---|
SliceWriter(Int32BlockPool) |
Properties
Name | Description |
---|---|
CurrentOffset | Returns the offset of the currently written slice. The returned value should be used as the end offset to initialize a Int32BlockPool.SliceReader once this slice is fully written or to reset the this writer if another slice needs to be written. |
Methods
Name | Description |
---|---|
Reset(Int32) | |
StartNewSlice() | Starts a new slice and returns the start offset. The returned value should be used as the start offset to initialize a Int32BlockPool.SliceReader. |
WriteInt32(Int32) | Writes the given value into the slice and resizes the slice if needed NOTE: This was writeInt() in Lucene |