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) |
getLocationInfopublic EsInputSplit()
public EsInputSplit(org.elasticsearch.hadoop.rest.PartitionDefinition partition)
public long getLength()
getLength in interface InputSplitgetLength in class InputSplitpublic String[] getLocations()
getLocations in interface InputSplitgetLocations in class InputSplitpublic void write(DataOutput out) throws IOException
write in interface WritableIOExceptionpublic void readFields(DataInput in) throws IOException
readFields in interface WritableIOExceptionpublic org.elasticsearch.hadoop.rest.PartitionDefinition getPartition()