public final class Table extends BasicTable implements VersionedElement
MAX_IDENTIFIER_LENGTH
REC_VERSION
YOU_CANNOT_DROP_A_COLUMN_THAT_BELONGS_TO
Constructor and Description |
---|
Table(GrainPart grainPart,
String name) |
Modifier and Type | Method and Description |
---|---|
IntegerColumn |
getRecVersionField()
Returns a description of recversion field.
|
boolean |
hasPrimeKey()
Whether the table has primary key.
|
boolean |
isReadOnly()
Deprecated.
left for backwards compatibility.
|
boolean |
isVersioned()
Whether the table is versioned (WITH VERSION CHECK).
|
void |
setVersioned(boolean isVersioned)
Sets to the table option "versioned".
|
addColumn, finalizePK, getColumn, getColumnIndex, getColumns, getForeignKeys, getImplements, getIndices, getPkConstraintName, getPrimaryKey, isAutoUpdate, removeColumn, setAutoUpdate, setPK, setPkConstraintName, toString
delete
getGrain, getGrainPart
equals, getCelestaDoc, getName, getQuotedName, getQuotedNameIfNeeded, hashCode, limitName, limitName, setCelestaDoc
getGrain, getName, getQuotedName, getQuotedNameIfNeeded
public Table(GrainPart grainPart, String name) throws ParseException
ParseException
public boolean hasPrimeKey()
TableElement
hasPrimeKey
in interface TableElement
@Deprecated public boolean isReadOnly()
false
public boolean isVersioned()
VersionedElement
isVersioned
in interface VersionedElement
public void setVersioned(boolean isVersioned)
isVersioned
- "versioned" option valuepublic IntegerColumn getRecVersionField()
VersionedElement
getRecVersionField
in interface VersionedElement
Copyright © 2022 CURS. All rights reserved.