Class SplitByColumnSelectCountStatementCreator
- java.lang.Object
-
- de.akquinet.jbosscc.guttenbase.statements.AbstractStatementCreator
-
- de.akquinet.jbosscc.guttenbase.statements.AbstractSelectStatementCreator
-
- de.akquinet.jbosscc.guttenbase.statements.SplitByColumnSelectCountStatementCreator
-
public class SplitByColumnSelectCountStatementCreator extends AbstractSelectStatementCreator
Sometimes the amount of data in the result set 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.With this statement we count the number of rows that actually will be read for the given chunk.
© 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 SplitByColumnSelectCountStatementCreator(ConnectorRepository connectorRepository, String connectorId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
createColumnClause(List<ColumnMetaData> columns)
protected String
createWhereClause(TableMetaData tableMetaData)
-
Methods inherited from class de.akquinet.jbosscc.guttenbase.statements.AbstractSelectStatementCreator
createMappedSelectStatement, createOrderBy, createSelectStatement
-
Methods inherited from class de.akquinet.jbosscc.guttenbase.statements.AbstractStatementCreator
getMappedTargetColumns
-
-
-
-
Constructor Detail
-
SplitByColumnSelectCountStatementCreator
public SplitByColumnSelectCountStatementCreator(ConnectorRepository connectorRepository, String connectorId)
-
-
Method Detail
-
createColumnClause
protected String createColumnClause(List<ColumnMetaData> columns)
- Overrides:
createColumnClause
in classAbstractStatementCreator
-
createWhereClause
protected String createWhereClause(TableMetaData tableMetaData)
- Overrides:
createWhereClause
in classAbstractSelectStatementCreator
-
-