public class ReadersInitializer extends Object
HiveScanBatchCreator
.Constructor and Description |
---|
ReadersInitializer() |
Modifier and Type | Method and Description |
---|---|
static List<RecordReader> |
init(ExecutorFragmentContext ctx,
HiveSubScan config)
Selects reader constructor reference as
HiveReaderFactory readerFactory. |
public static List<RecordReader> init(ExecutorFragmentContext ctx, HiveSubScan config)
HiveReaderFactory
readerFactory.
Then check if input splits are empty creates empty record reader, or one reader per split otherwise.ctx
- context related to fragmentconfig
- context which holds different Hive configurationsCopyright © 1970 The Apache Software Foundation. All rights reserved.