public interface Encoder
| Modifier and Type | Method and Description |
|---|---|
void |
addValue(java.lang.Object value,
RecordConsumer consumer)
Passes a supplied value representing a cell of this encoder's column
to a record consumer.
|
java.lang.String |
getColumnName()
Returns the name of the column that will be written to the parquet file.
|
Type |
getColumnType()
Returns the type of the top-level field that will be written.
|
java.lang.String getColumnName()
Note this name must obey the (undocumented?) parquet field syntax constraints; it seems that roughly it has to look like a java token.
Type getColumnType()
void addValue(java.lang.Object value,
RecordConsumer consumer)
startField and endField
calls, but if additional structuring calls are required they
must be done by this method.value - typed value to writeconsumer - value consumer