T - the Java class of objects created by this ReadSupportpublic class DelegatingReadSupport<T> extends ReadSupport<T>
ReadSupport.ReadContextPARQUET_READ_SCHEMA| Constructor and Description |
|---|
DelegatingReadSupport(ReadSupport<T> delegate) |
| Modifier and Type | Method and Description |
|---|---|
ReadSupport.ReadContext |
init(InitContext context)
called in
InputFormat.getSplits(org.apache.hadoop.mapreduce.JobContext) in the front end |
RecordMaterializer<T> |
prepareForRead(org.apache.hadoop.conf.Configuration configuration,
Map<String,String> keyValueMetaData,
MessageType fileSchema,
ReadSupport.ReadContext readContext)
called in
RecordReader.initialize(org.apache.hadoop.mapreduce.InputSplit, org.apache.hadoop.mapreduce.TaskAttemptContext) in the back end
the returned RecordMaterializer will materialize the records and add them to the destination |
RecordMaterializer<T> |
prepareForRead(ParquetConfiguration configuration,
Map<String,String> keyValueMetaData,
MessageType fileSchema,
ReadSupport.ReadContext readContext)
called in
RecordReader.initialize(org.apache.hadoop.mapreduce.InputSplit, org.apache.hadoop.mapreduce.TaskAttemptContext) in the back end
the returned RecordMaterializer will materialize the records and add them to the destination |
String |
toString() |
getSchemaForRead, getSchemaForRead, init, initpublic DelegatingReadSupport(ReadSupport<T> delegate)
public ReadSupport.ReadContext init(InitContext context)
ReadSupportInputFormat.getSplits(org.apache.hadoop.mapreduce.JobContext) in the front endinit in class ReadSupport<T>context - the initialisation contextpublic RecordMaterializer<T> prepareForRead(org.apache.hadoop.conf.Configuration configuration, Map<String,String> keyValueMetaData, MessageType fileSchema, ReadSupport.ReadContext readContext)
ReadSupportRecordReader.initialize(org.apache.hadoop.mapreduce.InputSplit, org.apache.hadoop.mapreduce.TaskAttemptContext) in the back end
the returned RecordMaterializer will materialize the records and add them to the destinationprepareForRead in class ReadSupport<T>configuration - the job configurationkeyValueMetaData - the app specific metadata from the filefileSchema - the schema of the filereadContext - returned by the init methodpublic RecordMaterializer<T> prepareForRead(ParquetConfiguration configuration, Map<String,String> keyValueMetaData, MessageType fileSchema, ReadSupport.ReadContext readContext)
ReadSupportRecordReader.initialize(org.apache.hadoop.mapreduce.InputSplit, org.apache.hadoop.mapreduce.TaskAttemptContext) in the back end
the returned RecordMaterializer will materialize the records and add them to the destinationprepareForRead in class ReadSupport<T>configuration - the configurationkeyValueMetaData - the app specific metadata from the filefileSchema - the schema of the filereadContext - returned by the init methodCopyright © 2023 The Apache Software Foundation. All rights reserved.