|
|||||||||
| 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,
String[] locations)
Instantiates a new generic split. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
long |
getEnd()
Gets the split end position. |
long |
getLength()
Gets the split length. |
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,
String[] locations)
start - the split startlength - the split lengthlocations - the split locations| Method Detail |
|---|
public long getStart()
Split
getStart in interface Splitpublic long getLength()
Split
getLength in interface Splitpublic long getEnd()
Split
getEnd in interface Splitpublic void setStart(long start)
public void setLength(long length)
public String[] getLocations()
SplitLocation
getLocations in interface SplitLocationpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||