Class MinMaxIdSelectorTool
- java.lang.Object
-
- de.akquinet.jbosscc.guttenbase.tools.MinMaxIdSelectorTool
-
public class MinMaxIdSelectorTool extends Object
Compute MIN and MAX of given Id-Column© 2012-2034 akquinet tech@spree
- Author:
- M. Dahm
-
-
Constructor Summary
Constructors Constructor Description MinMaxIdSelectorTool(ConnectorRepository connectorRepository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
computeMinMax(String connectorId, TableMetaData tableMetaData)
Compute MIN and MAX of given Id-Columnvoid
computeMinMax(String connectorId, TableMetaData tableMetaData, Connection connection)
Compute MIN and MAX of given Id-Column using existing connectionlong
getMaxValue()
long
getMinValue()
-
-
-
Constructor Detail
-
MinMaxIdSelectorTool
public MinMaxIdSelectorTool(ConnectorRepository connectorRepository)
-
-
Method Detail
-
computeMinMax
public void computeMinMax(String connectorId, TableMetaData tableMetaData) throws SQLException
Compute MIN and MAX of given Id-Column- Throws:
SQLException
-
computeMinMax
public void computeMinMax(String connectorId, TableMetaData tableMetaData, Connection connection) throws SQLException
Compute MIN and MAX of given Id-Column using existing connection- Throws:
SQLException
-
getMinValue
public long getMinValue()
-
getMaxValue
public long getMaxValue()
-
-