Package org.apache.parquet.hadoop.api
Class WriteSupport.WriteContext
java.lang.Object
org.apache.parquet.hadoop.api.WriteSupport.WriteContext
- Enclosing class:
- WriteSupport<T>
information to be persisted in the file
-
Constructor Summary
ConstructorsConstructorDescriptionWriteContext(org.apache.parquet.schema.MessageType schema, Map<String, String> extraMetaData) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.parquet.schema.MessageType
-
Constructor Details
-
WriteContext
- Parameters:
schema- the schema of the dataextraMetaData- application specific metadata to add in the file- Throws:
NullPointerException- if schema or extraMetaData isnull
-
-
Method Details
-
getSchema
public org.apache.parquet.schema.MessageType getSchema()- Returns:
- the schema of the file
-
getExtraMetaData
- Returns:
- application specific metadata
-