Package org.apache.parquet.hadoop.api
Class ReadSupport.ReadContext
java.lang.Object
org.apache.parquet.hadoop.api.ReadSupport.ReadContext
- Enclosing class:
- ReadSupport<T>
information to read the file
-
Constructor Summary
ConstructorsConstructorDescriptionReadContext(org.apache.parquet.schema.MessageType requestedSchema) ReadContext(org.apache.parquet.schema.MessageType requestedSchema, Map<String, String> readSupportMetadata) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.parquet.schema.MessageType
-
Constructor Details
-
ReadContext
public ReadContext(org.apache.parquet.schema.MessageType requestedSchema) - Parameters:
requestedSchema- the schema requested by the user. Can not be null.
-
ReadContext
public ReadContext(org.apache.parquet.schema.MessageType requestedSchema, Map<String, String> readSupportMetadata) - Parameters:
requestedSchema- the schema requested by the user. Can not be null.readSupportMetadata- metadata specific to the ReadSupport implementation. Will be available in the prepareForRead phase.
-
-
Method Details
-
getRequestedSchema
public org.apache.parquet.schema.MessageType getRequestedSchema()- Returns:
- the schema of the file
-
getReadSupportMetadata
- Returns:
- metadata specific to the ReadSupport implementation
-