Class DefaultSplitColumn
- java.lang.Object
-
- de.akquinet.jbosscc.guttenbase.defaults.impl.DefaultSplitColumn
-
- All Implemented Interfaces:
SplitColumn
public class DefaultSplitColumn extends Object implements SplitColumn
Sometimes the amount of data exceeds buffers. 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.By default use the first primary key column, if any. Otherwise returns the first column with a numeric type. Otherwise return the first column.
© 2012-2034 akquinet tech@spree
- Author:
- M. Dahm
-
-
Constructor Summary
Constructors Constructor Description DefaultSplitColumn()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ColumnMetaData
getSplitColumn(TableMetaData table)
-
-
-
Method Detail
-
getSplitColumn
public ColumnMetaData getSplitColumn(TableMetaData table)
- Specified by:
getSplitColumn
in interfaceSplitColumn
- Returns:
- column of the table, i.e. in general the primary key or any other column name if no primary key column is appropriate
-
-