protected static class EsInputFormat.EsInputSplit extends InputSplit implements InputSplit
Constructor and Description |
---|
EsInputSplit() |
EsInputSplit(org.elasticsearch.hadoop.rest.PartitionDefinition partition) |
Modifier and Type | Method and Description |
---|---|
long |
getLength() |
String[] |
getLocations() |
org.elasticsearch.hadoop.rest.PartitionDefinition |
getPartition() |
void |
readFields(DataInput in) |
String |
toString() |
void |
write(DataOutput out) |
getLocationInfo
public EsInputSplit()
public EsInputSplit(org.elasticsearch.hadoop.rest.PartitionDefinition partition)
public long getLength()
getLength
in interface InputSplit
getLength
in class InputSplit
public String[] getLocations()
getLocations
in interface InputSplit
getLocations
in class InputSplit
public void write(DataOutput out) throws IOException
write
in interface Writable
IOException
public void readFields(DataInput in) throws IOException
readFields
in interface Writable
IOException
public org.elasticsearch.hadoop.rest.PartitionDefinition getPartition()