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) |
Modifier and Type | Method and Description |
---|---|
BigInteger |
getForestId() |
long |
getLength() |
String[] |
getLocations() |
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)
public long getLength() throws IOException, InterruptedException
getLength
in class org.apache.hadoop.mapreduce.InputSplit
IOException
InterruptedException
public boolean isLastSplit()
public String[] getLocations() throws IOException, InterruptedException
getLocations
in class org.apache.hadoop.mapreduce.InputSplit
IOException
InterruptedException
public 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 void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
Copyright © 2016 MarkLogic Corporation. All Rights Reserved.
Complete online documentation for MarkLogic Server, XQuery and related components may be found at developer.marklogic.com