Package org.apache.parquet.hadoop.api
Class ReadSupport.ReadContext
- java.lang.Object
-
- org.apache.parquet.hadoop.api.ReadSupport.ReadContext
-
- Enclosing class:
- ReadSupport<T>
public static final class ReadSupport.ReadContext extends Object
information to read the file
-
-
Constructor Summary
Constructors Constructor Description ReadContext(org.apache.parquet.schema.MessageType requestedSchema)ReadContext(org.apache.parquet.schema.MessageType requestedSchema, Map<String,String> readSupportMetadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>getReadSupportMetadata()org.apache.parquet.schema.MessageTypegetRequestedSchema()
-
-
-
Constructor Detail
-
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.
-
-