public class RowIdSupport extends Object
| Constructor and Description |
|---|
RowIdSupport(DataModel dataModel,
DBMS configuration,
boolean useRowIds)
Constructor.
|
RowIdSupport(DataModel dataModel,
DBMS configuration,
ExecutionContext executionContext)
Constructor.
|
RowIdSupport(DataModel dataModel,
DBMS configuration,
String rowIdType,
boolean useRowIds)
Constructor.
|
RowIdSupport(DataModel dataModel,
DBMS configuration,
String rowIdType,
ExecutionContext executionContext)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<Column> |
getColumns(Table table)
Gets the columns with additional rowid-column of a table
|
PrimaryKey |
getPrimaryKey(Table table)
Gets the primary key of a table.
|
PrimaryKey |
getUniversalPrimaryKey()
Gets the universal primary key.
|
PrimaryKey |
getUniversalPrimaryKey(Session session)
Gets the universal primary key.
|
void |
setUseRowIdsOnlyForTablesWithoutPK(boolean useRowIdsOnlyForTablesWithoutPK) |
public RowIdSupport(DataModel dataModel, DBMS configuration, String rowIdType, boolean useRowIds)
dataModel - the data modelconfiguration - DBMS configurationrowIdType - type of rowid-columnsuseRowIds - true iff rowid column is used instead of primary keyspublic RowIdSupport(DataModel dataModel, DBMS configuration, boolean useRowIds)
dataModel - the data modelconfiguration - DBMS configurationuseRowIds - true iff rowid column is used instead of primary keyspublic RowIdSupport(DataModel dataModel, DBMS configuration, String rowIdType, ExecutionContext executionContext)
dataModel - the data modelrowIdType - type of rowid-columnsconfiguration - DBMS configurationpublic RowIdSupport(DataModel dataModel, DBMS configuration, ExecutionContext executionContext)
dataModel - the data modelconfiguration - DBMS configurationpublic PrimaryKey getPrimaryKey(Table table)
table - the tablepublic PrimaryKey getUniversalPrimaryKey(Session session)
session - for null value guessingpublic PrimaryKey getUniversalPrimaryKey()
public void setUseRowIdsOnlyForTablesWithoutPK(boolean useRowIdsOnlyForTablesWithoutPK)
useRowIdsOnlyForTablesWithoutPK - the useRowIdsOnlyForTablesWithoutPK to set