public class Int32DecimalParquetValueWriter extends DecimalValueWriter
RecordConsumer
to be stored as INT32 type.Constructor and Description |
---|
Int32DecimalParquetValueWriter() |
Modifier and Type | Method and Description |
---|---|
void |
writeValue(org.apache.parquet.io.api.RecordConsumer consumer,
DrillBuf buffer,
int start,
int end,
int precision)
Takes value from specified
DrillBuf buffer , converts it into required format
if needed and passes the value into specified RecordConsumer consumer . |
getDecimalValueWriterForType
public void writeValue(org.apache.parquet.io.api.RecordConsumer consumer, DrillBuf buffer, int start, int end, int precision)
DecimalValueWriter
DrillBuf buffer
, converts it into required format
if needed and passes the value into specified RecordConsumer consumer
.writeValue
in class DecimalValueWriter
consumer
- abstraction for writing recordsbuffer
- the source of data that should be writtenstart
- start position of data in bufferend
- end position of data in bufferprecision
- precision of the value that should be storedCopyright © 2021 The Apache Software Foundation. All rights reserved.