|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.data.hadoop.store.split.GenericSplit
public class GenericSplit
A GenericSplit
is simple implementation of
Split
and SplitLocation
storing needed
information as it is.
Constructor Summary | |
---|---|
GenericSplit()
Instantiates a new generic split. |
|
GenericSplit(long start,
long length,
java.lang.String[] locations)
Instantiates a new generic split. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
long |
getEnd()
Gets the split end position. |
long |
getLength()
Gets the split length. |
java.lang.String[] |
getLocations()
Gets the locations of a split. |
long |
getStart()
Gets the split start position. |
int |
hashCode()
|
void |
setLength(long length)
|
void |
setStart(long start)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GenericSplit()
public GenericSplit(long start, long length, java.lang.String[] locations)
start
- the split startlength
- the split lengthlocations
- the split locationsMethod Detail |
---|
public long getStart()
Split
getStart
in interface Split
public long getLength()
Split
getLength
in interface Split
public long getEnd()
Split
getEnd
in interface Split
public void setStart(long start)
public void setLength(long length)
public java.lang.String[] getLocations()
SplitLocation
getLocations
in interface SplitLocation
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |