public class MarkLogicInputSplit
extends org.apache.hadoop.mapreduce.InputSplit
implements org.apache.hadoop.io.Writable
| Constructor and Description |
|---|
MarkLogicInputSplit() |
MarkLogicInputSplit(long start,
long length,
BigInteger forestId,
String hostName,
List<ForestHost> replicas) |
| Modifier and Type | Method and Description |
|---|---|
BigInteger |
getForestId() |
long |
getLength() |
String[] |
getLocations() |
List<ForestHost> |
getReplicas() |
long |
getStart() |
boolean |
isLastSplit()
Is this the last split?
|
void |
readFields(DataInput in) |
void |
setForestId(BigInteger forestId) |
void |
setHostName(String[] hostName) |
void |
setLastSplit(boolean isLast) |
void |
setLength(long length) |
void |
setStart(long start) |
String |
toString() |
void |
write(DataOutput out) |
public MarkLogicInputSplit()
public MarkLogicInputSplit(long start,
long length,
BigInteger forestId,
String hostName,
List<ForestHost> replicas)
public long getLength()
throws IOException,
InterruptedException
getLength in class org.apache.hadoop.mapreduce.InputSplitIOExceptionInterruptedExceptionpublic boolean isLastSplit()
public String[] getLocations() throws IOException, InterruptedException
getLocations in class org.apache.hadoop.mapreduce.InputSplitIOExceptionInterruptedExceptionpublic long getStart()
public void setStart(long start)
public BigInteger getForestId()
public void setForestId(BigInteger forestId)
public void setHostName(String[] hostName)
public void setLength(long length)
public void setLastSplit(boolean isLast)
public List<ForestHost> getReplicas()
public void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionpublic void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionCopyright © 2021 MarkLogic Corporation
Complete online documentation for MarkLogic Server, XQuery and related components may be found at developer.marklogic.com