public class DataModelWriteSupport extends parquet.hadoop.api.WriteSupport<Object>
RecordConsumer
.Constructor and Description |
---|
DataModelWriteSupport(DataModelDescriptor descriptor)
Creates a new instance with empty extra-metadata.
|
DataModelWriteSupport(DataModelDescriptor descriptor,
Map<String,String> metadata)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
parquet.hadoop.api.WriteSupport.WriteContext |
init(org.apache.hadoop.conf.Configuration configuration) |
void |
prepareForWrite(parquet.io.api.RecordConsumer consumer) |
void |
write(Object value) |
public DataModelWriteSupport(DataModelDescriptor descriptor)
descriptor
- the target data model descriptorpublic DataModelWriteSupport(DataModelDescriptor descriptor, Map<String,String> metadata)
descriptor
- the target data model descriptormetadata
- the extra metadatapublic parquet.hadoop.api.WriteSupport.WriteContext init(org.apache.hadoop.conf.Configuration configuration)
init
in class parquet.hadoop.api.WriteSupport<Object>
public void prepareForWrite(parquet.io.api.RecordConsumer consumer)
prepareForWrite
in class parquet.hadoop.api.WriteSupport<Object>
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.