public interface OrcValueWriter<T>
Modifier and Type | Method and Description |
---|---|
default java.util.stream.Stream<FieldMetrics<?>> |
metrics()
Returns a stream of
FieldMetrics that this OrcValueWriter keeps track of. |
void |
nonNullWrite(int rowId,
T data,
org.apache.orc.storage.ql.exec.vector.ColumnVector output) |
default void |
nullWrite() |
default void |
write(int rowId,
T data,
org.apache.orc.storage.ql.exec.vector.ColumnVector output)
Take a value from the data value and add it to the ORC output.
|
default void write(int rowId, T data, org.apache.orc.storage.ql.exec.vector.ColumnVector output)
rowId
- the row in the ColumnVectordata
- the data value to write.output
- the ColumnVector to put the value intovoid nonNullWrite(int rowId, T data, org.apache.orc.storage.ql.exec.vector.ColumnVector output)
default void nullWrite()
default java.util.stream.Stream<FieldMetrics<?>> metrics()
FieldMetrics
that this OrcValueWriter keeps track of.