public class CockroachDB1920IdentityColumnSupport extends IdentityColumnSupportImpl
| Constructor and Description |
|---|
CockroachDB1920IdentityColumnSupport() |
| Modifier and Type | Method and Description |
|---|---|
String |
getIdentityColumnString(int type)
The syntax used during DDL to define a column as being an IDENTITY of
a particular type.
|
String |
getIdentitySelectString(String table,
String column,
int type)
Get the select command to use to retrieve the last generated IDENTITY
value for a particular table
|
boolean |
hasDataTypeInIdentityColumn()
Whether this dialect have an Identity clause added to the data type or a
completely separate identity data type
|
boolean |
supportsIdentityColumns()
Does this dialect support identity column key generation?
|
appendIdentitySelectToInsert, buildGetGeneratedKeysDelegate, getIdentityInsertString, supportsInsertSelectIdentitypublic CockroachDB1920IdentityColumnSupport()
public boolean supportsIdentityColumns()
IdentityColumnSupportsupportsIdentityColumns in interface IdentityColumnSupportsupportsIdentityColumns in class IdentityColumnSupportImplpublic String getIdentitySelectString(String table, String column, int type)
IdentityColumnSupportgetIdentitySelectString in interface IdentityColumnSupportgetIdentitySelectString in class IdentityColumnSupportImpltable - The table into which the insert was donecolumn - The PK column.type - The Types type code.public String getIdentityColumnString(int type)
IdentityColumnSupportgetIdentityColumnString in interface IdentityColumnSupportgetIdentityColumnString in class IdentityColumnSupportImpltype - The Types type code.public boolean hasDataTypeInIdentityColumn()
IdentityColumnSupporthasDataTypeInIdentityColumn in interface IdentityColumnSupporthasDataTypeInIdentityColumn in class IdentityColumnSupportImplCopyright © 2001-2022 Red Hat, Inc. All Rights Reserved.