public class HCatSplit
extends InputSplit
Constructor and Description |
---|
HCatSplit()
Instantiates a new hcat split.
|
HCatSplit(PartInfo partitionInfo,
org.apache.hadoop.mapred.InputSplit baseMapRedSplit,
HCatSchema tableSchema)
Instantiates a new hcat split.
|
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.mapred.InputSplit |
getBaseSplit()
Gets the underlying InputSplit.
|
HCatSchema |
getDataSchema()
Gets the data schema.
|
long |
getLength() |
java.lang.String[] |
getLocations() |
PartInfo |
getPartitionInfo()
Gets the partition info.
|
HCatSchema |
getTableSchema()
Gets the table schema.
|
void |
readFields(java.io.DataInput input) |
void |
write(java.io.DataOutput output) |
public HCatSplit()
public HCatSplit(PartInfo partitionInfo, org.apache.hadoop.mapred.InputSplit baseMapRedSplit, HCatSchema tableSchema)
partitionInfo
- the partition infobaseMapRedSplit
- the base mapred splittableSchema
- the table level schemapublic PartInfo getPartitionInfo()
public org.apache.hadoop.mapred.InputSplit getBaseSplit()
public HCatSchema getDataSchema()
public HCatSchema getTableSchema()
public long getLength()
public java.lang.String[] getLocations()
public void readFields(java.io.DataInput input) throws java.io.IOException
java.io.IOException
public void write(java.io.DataOutput output) throws java.io.IOException
java.io.IOException
Copyright © 2012 The Apache Software Foundation