public class InfinispanInputSplit
extends org.apache.hadoop.mapreduce.InputSplit
implements org.apache.hadoop.io.Writable
| Constructor and Description |
|---|
InfinispanInputSplit() |
InfinispanInputSplit(Set<Integer> segments,
InetSocketAddress preferredServer) |
| Modifier and Type | Method and Description |
|---|---|
long |
getLength() |
String[] |
getLocations() |
InetSocketAddress |
getPreferredServer() |
Set<Integer> |
getSegments() |
void |
readFields(DataInput in) |
void |
write(DataOutput out) |
public InfinispanInputSplit(Set<Integer> segments, InetSocketAddress preferredServer)
public InfinispanInputSplit()
public long getLength()
throws IOException,
InterruptedException
getLength in class org.apache.hadoop.mapreduce.InputSplitIOExceptionInterruptedExceptionpublic String[] getLocations() throws IOException, InterruptedException
getLocations in class org.apache.hadoop.mapreduce.InputSplitIOExceptionInterruptedExceptionpublic void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionpublic void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionpublic InetSocketAddress getPreferredServer()
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.