public class PartitionOrderByContext extends PartitionContext
BATCH_SIZE, DAY, HOUR, MINUTE, MONTH, SECOND, TIME_LAG| Constructor and Description |
|---|
PartitionOrderByContext() |
| Modifier and Type | Method and Description |
|---|---|
PartitionOrderByStrategy |
createStrategy() |
java.lang.Comparable |
getEndId(java.lang.Comparable partition) |
java.lang.String |
getExtractionQuery() |
java.lang.Comparable |
getStartId(java.lang.Comparable partition) |
void |
reset() |
PartitionOrderByContext |
run(java.lang.Class<? extends PartitionStrategy> cls) |
void |
setEndId(java.lang.Comparable partition,
java.lang.Comparable id) |
void |
setStartId(java.lang.Comparable hour,
java.lang.Comparable id) |
createContext, createContext, getLoadDelegate, getPartitions, getPreparedStatements, setLoadDelegate, setPartitionscreateAsync, createAsync, createAsync, extractor, get, getBatchSize, getCutoff, getExtractorName, getGenerator, getImportedCount, getInspector, getInspector, getLastUpdate, getLastUpdateClass, getLastUpdateValue, getMapper, getPartitionKeyType, getPrimaryKey, getProvision, getSession, getSourceClass, getStartTime, getTimeLag, getTimeUnit, initialize, isExtractAll, lookupLastUpdate, open, save, saveLastUpdate, setBatchSize, setExtractAll, setExtractorName, setImportedCount, setLastUpdateClass, setPrimaryKey, setProvision, setSourceClass, setStartTime, setTimeLag, setTimeUnit, tableName, transformpublic java.lang.String getExtractionQuery()
public PartitionOrderByStrategy createStrategy()
createStrategy in class PartitionContextpublic java.lang.Comparable getStartId(java.lang.Comparable partition)
public void setStartId(java.lang.Comparable hour,
java.lang.Comparable id)
public java.lang.Comparable getEndId(java.lang.Comparable partition)
public void setEndId(java.lang.Comparable partition,
java.lang.Comparable id)
public void reset()
reset in class PartitionContextpublic PartitionOrderByContext run(java.lang.Class<? extends PartitionStrategy> cls)
run in class PartitionContext