|
||||||||||
| 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 schema| Method Detail |
|---|
public PartInfo getPartitionInfo()
public InputSplit getBaseSplit()
public HCatSchema getDataSchema()
public HCatSchema getTableSchema()
public long getLength()
getLength in interface InputSplitgetLength in class InputSplitpublic String[] getLocations()
getLocations in interface InputSplitgetLocations in class InputSplit
public void readFields(DataInput input)
throws IOException
readFields in interface WritableIOException
public void write(DataOutput output)
throws IOException
write in interface WritableIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||