public class DataModelMaterializer extends org.apache.parquet.io.api.RecordMaterializer<Object>
Constructor and Description |
---|
DataModelMaterializer(DataModelDescriptor descriptor,
org.apache.parquet.schema.MessageType schema,
DataModelMapping configuration)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
Object |
getCurrentRecord() |
org.apache.parquet.schema.MessageType |
getMaterializeSchema()
Returns the schema which this materializer is required.
|
org.apache.parquet.io.api.GroupConverter |
getRootConverter() |
void |
setNextRecord(Object object)
Sets the next record.
|
public DataModelMaterializer(DataModelDescriptor descriptor, org.apache.parquet.schema.MessageType schema, DataModelMapping configuration)
descriptor
- the target descriptorschema
- the file schemaconfiguration
- the mapping configurationpublic org.apache.parquet.schema.MessageType getMaterializeSchema()
public void setNextRecord(Object object)
object
- the next record objectpublic Object getCurrentRecord()
getCurrentRecord
in class org.apache.parquet.io.api.RecordMaterializer<Object>
public org.apache.parquet.io.api.GroupConverter getRootConverter()
getRootConverter
in class org.apache.parquet.io.api.RecordMaterializer<Object>
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.