Class IndexWriter
java.lang.Object
org.apache.druid.segment.serde.cell.IndexWriter
- Direct Known Subclasses:
BlockIndexWriter
-
Constructor Summary
ConstructorsConstructorDescriptionIndexWriter(WriteOutBytes outBytes, NumberSerializer positionSerializer) IndexWriter(WriteOutBytes outBytes, NumberSerializer positionSerializer, NumberSerializer indexSizeSerializer) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()longvoidpersistAndIncrement(int increment) voidtransferTo(WritableByteChannel channel)
-
Constructor Details
-
IndexWriter
public IndexWriter(WriteOutBytes outBytes, NumberSerializer positionSerializer, NumberSerializer indexSizeSerializer) -
IndexWriter
-
-
Method Details
-
persistAndIncrement
- Throws:
IOException
-
close
- Throws:
IOException
-
transferTo
- Throws:
IOException
-
getSerializedSize
public long getSerializedSize()
-