public abstract class BaseSplitProcessor extends Object implements SplitProcessor
SplitProcessor
.Constructor and Description |
---|
BaseSplitProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close.
|
void |
configureSplit(Properties properties,
String toFilename)
Configure split.
|
String |
getAction()
Gets the action.
|
int |
getMaxNumberOfRows()
Gets the maximum number of rows in file.
|
boolean |
supportsParallel()
Supports parallel.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
split
public int getMaxNumberOfRows()
public void configureSplit(Properties properties, String toFilename) throws IllegalArgumentException
SplitProcessor
configureSplit
in interface SplitProcessor
properties
- the propertiestoFilename
- the to filenameIllegalArgumentException
- the illegal argument exceptionpublic void close() throws Exception
SplitProcessor
close
in interface SplitProcessor
Exception
public String getAction()
SplitProcessor
getAction
in interface SplitProcessor
public boolean supportsParallel()
SplitProcessor
supportsParallel
in interface SplitProcessor
Copyright © 2010-2020 Toolsverse. All Rights Reserved.