public class TimeBatch extends ETLContext
BATCH_SIZE, DAY, HOUR, MINUTE, MONTH, SECOND, TIME_LAG| Constructor and Description |
|---|
TimeBatch() |
| Modifier and Type | Method and Description |
|---|---|
long |
getEnd() |
long |
getStart() |
java.util.concurrent.TimeUnit |
getTimeUnit() |
TimeBatch |
run(java.lang.Class<? extends TimeBatchStrategy> cls) |
void |
setEnd(long end) |
void |
setStart(long start) |
createAsync, createAsync, createAsync, extractor, get, getBatchSize, getCutoff, getExtractorName, getGenerator, getImportedCount, getInspector, getInspector, getLastUpdate, getLastUpdateClass, getLastUpdateValue, getMapper, getPartitionKeyType, getProvision, getSession, getSourceClass, getStartTime, getTimeLag, initialize, isExtractAll, lookupLastUpdate, open, reset, save, saveLastUpdate, setBatchSize, setExtractAll, setExtractorName, setImportedCount, setLastUpdateClass, setProvision, setSourceClass, setStartTime, setTimeLag, setTimeUnit, tableNamepublic long getStart()
public void setStart(long start)
public long getEnd()
public void setEnd(long end)
public java.util.concurrent.TimeUnit getTimeUnit()
getTimeUnit in class ETLContextpublic TimeBatch run(java.lang.Class<? extends TimeBatchStrategy> cls)