Class VarByteChunkSVForwardIndexWriterV4
- java.lang.Object
-
- org.apache.pinot.segment.local.io.writer.impl.VarByteChunkSVForwardIndexWriterV4
-
- All Implemented Interfaces:
Closeable,AutoCloseable,VarByteChunkWriter
@NotThreadSafe public class VarByteChunkSVForwardIndexWriterV4 extends Object implements VarByteChunkWriter
Class to write out variable length bytes into a single column. Only sequential writes are supported.
-
-
Field Summary
Fields Modifier and Type Field Description static intVERSION
-
Constructor Summary
Constructors Constructor Description VarByteChunkSVForwardIndexWriterV4(File file, ChunkCompressionType compressionType, int chunkSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidputBigDecimal(BigDecimal bigDecimal)voidputBytes(byte[] bytes)voidputString(String string)
-
-
-
Field Detail
-
VERSION
public static final int VERSION
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
VarByteChunkSVForwardIndexWriterV4
public VarByteChunkSVForwardIndexWriterV4(File file, ChunkCompressionType compressionType, int chunkSize) throws IOException
- Throws:
IOException
-
-
Method Detail
-
putBigDecimal
public void putBigDecimal(BigDecimal bigDecimal)
- Specified by:
putBigDecimalin interfaceVarByteChunkWriter
-
putString
public void putString(String string)
- Specified by:
putStringin interfaceVarByteChunkWriter
-
putBytes
public void putBytes(byte[] bytes)
- Specified by:
putBytesin interfaceVarByteChunkWriter
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
-