public class HCatInputFormatReader extends HCatReader
HCatInputFormat
conf, info, re, sp
Constructor and Description |
---|
HCatInputFormatReader(InputSplit split,
Configuration config,
StateProvider sp) |
HCatInputFormatReader(ReadEntity info,
java.util.Map<java.lang.String,java.lang.String> config) |
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. |
java.util.Iterator<HCatRecord> |
read()
This should be called at slave nodes to read
HCatRecord s |
getConf
public HCatInputFormatReader(InputSplit split, Configuration config, StateProvider sp)
public HCatInputFormatReader(ReadEntity info, java.util.Map<java.lang.String,java.lang.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 java.util.Iterator<HCatRecord> read() throws HCatException
HCatReader
HCatRecord
sread
in class HCatReader
Iterator
of HCatRecord
HCatException
Copyright © 2012 The Apache Software Foundation