Package org.apache.iceberg.orc
Interface OrcValueWriter<T>
-
- All Known Implementing Classes:
GenericOrcWriters.StructWriter
public interface OrcValueWriter<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default java.util.stream.Stream<FieldMetrics<?>>metrics()Returns a stream ofFieldMetricsthat this OrcValueWriter keeps track of.voidnonNullWrite(int rowId, T data, org.apache.orc.storage.ql.exec.vector.ColumnVector output)default voidnullWrite()default voidwrite(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.
-
-
-
Method Detail
-
write
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.- Parameters:
rowId- the row in the ColumnVectordata- the data value to write.output- the ColumnVector to put the value into
-
nonNullWrite
void nonNullWrite(int rowId, T data, org.apache.orc.storage.ql.exec.vector.ColumnVector output)
-
nullWrite
default void nullWrite()
-
metrics
default java.util.stream.Stream<FieldMetrics<?>> metrics()
Returns a stream ofFieldMetricsthat this OrcValueWriter keeps track of.
-
-