public class HCatInputFormatReader extends HCatReader
HCatInputFormatconf, info, re, sp| Constructor and Description |
|---|
HCatInputFormatReader(ReadEntity info,
Map<String,String> config) |
HCatInputFormatReader(ReaderContext context,
int slaveNumber,
StateProvider sp) |
| Modifier and Type | Method and Description |
|---|---|
ReaderContext |
prepareRead()
This should be called at master node to obtain
ReaderContext which
then should be serialized and sent to slave nodes. |
Iterator<HCatRecord> |
read()
This should be called at slave nodes to read
HCatRecords |
public HCatInputFormatReader(ReaderContext context, int slaveNumber, StateProvider sp)
public HCatInputFormatReader(ReadEntity info, Map<String,String> config)
public ReaderContext prepareRead() throws HCatException
HCatReaderReaderContext which
then should be serialized and sent to slave nodes.prepareRead in class HCatReaderReaderContextHCatExceptionpublic Iterator<HCatRecord> read() throws HCatException
HCatReaderHCatRecordsread in class HCatReaderIterator of HCatRecordHCatExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.