|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.data.hadoop.store.split.AbstractSplitter org.springframework.data.hadoop.store.split.SlopBlockSplitter org.springframework.data.hadoop.store.split.StaticLengthSplitter
public class StaticLengthSplitter
A StaticLengthSplitter
is a Splitter
using
a static length to split a resource into an equal sized. Last
remaining block split is returned as it is.
Field Summary |
---|
Fields inherited from class org.springframework.data.hadoop.store.split.SlopBlockSplitter |
---|
DEFAULT_SPLIT_SLOP |
Constructor Summary | |
---|---|
StaticLengthSplitter(org.apache.hadoop.conf.Configuration configuration,
long length)
Instantiates a new static length splitter. |
|
StaticLengthSplitter(long length)
Instantiates a new static length splitter. |
Method Summary | |
---|---|
void |
setLength(long length)
Sets the split length. |
Methods inherited from class org.springframework.data.hadoop.store.split.SlopBlockSplitter |
---|
getMaxSplitSize, getMinSplitSize, getSplits, setMaxSplitSize, setMinSplitSize, setSlop |
Methods inherited from class org.springframework.data.hadoop.store.split.AbstractSplitter |
---|
buildSplit, computeSplitSize, getBlockIndex, getConfiguration, setConfiguration |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StaticLengthSplitter(long length)
length
- the lengthpublic StaticLengthSplitter(org.apache.hadoop.conf.Configuration configuration, long length)
configuration
- the configurationlength
- the lengthMethod Detail |
---|
public void setLength(long length)
length
- the new length length
|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |