|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectInputSplit
HCatSplit
public class HCatSplit
The HCatSplit wrapper around the InputSplit returned by the underlying InputFormat
Constructor Summary | |
---|---|
HCatSplit()
Instantiates a new hcat split. |
|
HCatSplit(PartInfo partitionInfo,
InputSplit baseMapRedSplit,
HCatSchema tableSchema)
Instantiates a new hcat split. |
Method Summary | |
---|---|
InputSplit |
getBaseSplit()
Gets the underlying InputSplit. |
HCatSchema |
getDataSchema()
Gets the data schema. |
long |
getLength()
|
String[] |
getLocations()
|
PartInfo |
getPartitionInfo()
Gets the partition info. |
HCatSchema |
getTableSchema()
Gets the table schema. |
void |
readFields(DataInput input)
|
void |
write(DataOutput output)
|
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HCatSplit()
public HCatSplit(PartInfo partitionInfo, InputSplit baseMapRedSplit, HCatSchema tableSchema)
partitionInfo
- the partition infobaseMapRedSplit
- the base mapred splittableSchema
- the table level schemaMethod Detail |
---|
public PartInfo getPartitionInfo()
public InputSplit getBaseSplit()
public HCatSchema getDataSchema()
public HCatSchema getTableSchema()
public long getLength()
getLength
in interface InputSplit
getLength
in class InputSplit
public String[] getLocations()
getLocations
in interface InputSplit
getLocations
in class InputSplit
public void readFields(DataInput input) throws IOException
readFields
in interface Writable
IOException
public void write(DataOutput output) throws IOException
write
in interface Writable
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |