Class SplitByColumnSelectStatementCreator
- java.lang.Object
-
- de.akquinet.jbosscc.guttenbase.statements.AbstractStatementCreator
-
- de.akquinet.jbosscc.guttenbase.statements.AbstractSelectStatementCreator
-
- de.akquinet.jbosscc.guttenbase.statements.SplitByColumnSelectStatementCreator
-
public class SplitByColumnSelectStatementCreator extends AbstractSelectStatementCreator
Sometimes the amount of data exceeds any buffer. In these cases we need to split the data by some given range, usually the primary key. I.e., the data is read in chunks where these chunks are split using the ID column range of values.© 2012-2034 akquinet tech@spree
Hint is used by
SplitColumnHint
- Author:
- M. Dahm
-
-
Field Summary
-
Fields inherited from class de.akquinet.jbosscc.guttenbase.statements.AbstractSelectStatementCreator
FROM
-
Fields inherited from class de.akquinet.jbosscc.guttenbase.statements.AbstractStatementCreator
_columnMapper, _connectorId, _connectorRepository, LOG
-
-
Constructor Summary
Constructors Constructor Description SplitByColumnSelectStatementCreator(ConnectorRepository connectorRepository, String connectorId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
createOrderBy(TableMetaData tableMetaData)
Try to retrieve data in some deterministic orderprotected String
createWhereClause(TableMetaData tableMetaData)
-
Methods inherited from class de.akquinet.jbosscc.guttenbase.statements.AbstractSelectStatementCreator
createMappedSelectStatement, createSelectStatement
-
Methods inherited from class de.akquinet.jbosscc.guttenbase.statements.AbstractStatementCreator
createColumnClause, getMappedTargetColumns
-
-
-
-
Constructor Detail
-
SplitByColumnSelectStatementCreator
public SplitByColumnSelectStatementCreator(ConnectorRepository connectorRepository, String connectorId)
-
-
Method Detail
-
createWhereClause
protected String createWhereClause(TableMetaData tableMetaData)
- Overrides:
createWhereClause
in classAbstractSelectStatementCreator
-
createOrderBy
protected String createOrderBy(TableMetaData tableMetaData)
Description copied from class:AbstractSelectStatementCreator
Try to retrieve data in some deterministic order- Overrides:
createOrderBy
in classAbstractSelectStatementCreator
-
-