Package org.apache.parquet.hadoop.api
Class WriteSupport.WriteContext
- java.lang.Object
-
- org.apache.parquet.hadoop.api.WriteSupport.WriteContext
-
- Enclosing class:
- WriteSupport<T>
public static final class WriteSupport.WriteContext extends Object
information to be persisted in the file
-
-
Constructor Summary
Constructors Constructor Description WriteContext(org.apache.parquet.schema.MessageType schema, Map<String,String> extraMetaData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>getExtraMetaData()org.apache.parquet.schema.MessageTypegetSchema()
-
-
-
Constructor Detail
-
WriteContext
public WriteContext(org.apache.parquet.schema.MessageType schema, Map<String,String> extraMetaData)- Parameters:
schema- the schema of the dataextraMetaData- application specific metadata to add in the file- Throws:
NullPointerException- if schema or extraMetaData isnull
-
-