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