_ON_TABLE_, columnList, DROP_INDEX_, hashInt, hashString, name, owner, type
Constructor and Description |
---|
SqlPrimaryKey(Object... columnList)
Instantiates a new sql primary key.
|
SqlPrimaryKey(String name,
SqlTableIdentity table,
Object... columnList)
Instantiates a new sql primary key.
|
Modifier and Type | Method and Description |
---|---|
String |
CREATE_INDEX()
CREAT e_ index.
|
void |
createIndex()
Creates the index.
|
SqlPrimaryKey |
setName(String name)
Sets the name.
|
addColumn, assembleColumnListString, assembleName, assembleTableClassCode, buildHash, createGenericName, DROP_INDEX, ensureIndexPreAndSuffix, equals, getColumnList, getColumnListString, getCompareString, getName, getOwner, getType, hashCode, iterator, resetHash, setOwner, toIndexDefinition
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public SqlPrimaryKey(Object... columnList)
columnList
- the column listpublic SqlPrimaryKey(String name, SqlTableIdentity table, Object... columnList)
name
- the nametable
- the tablecolumnList
- the column listpublic String CREATE_INDEX()
SqlIndex
CREATE_INDEX
in class SqlIndex
SqlIndex.CREATE_INDEX()
public void createIndex() throws SQLEngineException
SQLEngineException
- the sQL engine exceptionpublic SqlPrimaryKey setName(String name)
SqlIndex
setName
in class SqlIndex
name
- SqlIndex.setName(java.lang.String)
Copyright © 2003–2021 XDEV Software. All rights reserved.