public class HCatInputFormatReader extends HCatReader
HCatInputFormat
conf, 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
HCatRecord s |
public HCatInputFormatReader(ReaderContext context, int slaveNumber, StateProvider sp)
public HCatInputFormatReader(ReadEntity info, Map<String,String> config)
public ReaderContext prepareRead() throws HCatException
HCatReader
ReaderContext
which
then should be serialized and sent to slave nodes.prepareRead
in class HCatReader
ReaderContext
HCatException
public Iterator<HCatRecord> read() throws HCatException
HCatReader
HCatRecord
sread
in class HCatReader
Iterator
of HCatRecord
HCatException
Copyright © 2017 The Apache Software Foundation. All rights reserved.