Class IndexWriter
- java.lang.Object
-
- org.apache.druid.segment.serde.cell.IndexWriter
-
- Direct Known Subclasses:
BlockIndexWriter
public class IndexWriter extends Object
-
-
Constructor Summary
Constructors Constructor Description IndexWriter(WriteOutBytes outBytes, NumberSerializer positionSerializer)
IndexWriter(WriteOutBytes outBytes, NumberSerializer positionSerializer, NumberSerializer indexSizeSerializer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
long
getSerializedSize()
void
persistAndIncrement(int increment)
void
transferTo(WritableByteChannel channel)
-
-
-
Constructor Detail
-
IndexWriter
public IndexWriter(WriteOutBytes outBytes, NumberSerializer positionSerializer, NumberSerializer indexSizeSerializer)
-
IndexWriter
public IndexWriter(WriteOutBytes outBytes, NumberSerializer positionSerializer)
-
-
Method Detail
-
persistAndIncrement
public void persistAndIncrement(int increment) throws IOException
- Throws:
IOException
-
close
public void close() throws IOException
- Throws:
IOException
-
transferTo
public void transferTo(WritableByteChannel channel) throws IOException
- Throws:
IOException
-
getSerializedSize
public long getSerializedSize()
-
-