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(MessageType schema, Map<String,String> extraMetaData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>
getExtraMetaData()
MessageType
getSchema()
-
-
-
Constructor Detail
-
WriteContext
public WriteContext(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
-
-
Method Detail
-
getSchema
public MessageType getSchema()
- Returns:
- the schema of the file
-
-