public interface Index extends TableConstraint
TableConstraint.ConstraintType
RelationalObject.Filter
Modifier and Type | Field and Description |
---|---|
static TableConstraint.ConstraintType |
CONSTRAINT_TYPE
The constraint type for an index.
|
static KomodoType |
IDENTIFIER
Identifier of this object
|
static Index[] |
NO_INDEXES
An empty collection of index constraints.
|
static TypeResolver<Index> |
RESOLVER
The resolver of a
Index . |
static int |
TYPE_ID
The type identifier.
|
DDL_QNAMES_FILTER, DEFAULT_FILTERS, JCR_FILTER, NO_FILTERS, NT_FILTER, RESIDUAL_FILTER
EMPTY_ARRAY
Modifier and Type | Method and Description |
---|---|
String |
getExpression(Repository.UnitOfWork transaction) |
Table |
getParent(Repository.UnitOfWork transaction) |
void |
setExpression(Repository.UnitOfWork transaction,
String newExpression) |
addColumn, getColumns, getConstraintType, getTable, removeColumn
getFilters, setFilters
accept, addChild, addDescriptor, getChild, getChild, getChildren, getChildrenOfType, getChildTypes, getDescriptor, getDescriptors, getIndex, getObjectFactory, getPrimaryType, getProperty, getPropertyDescriptor, getPropertyDescriptors, getPropertyFactory, getPropertyNames, getRawChildren, getRawDescriptors, getRawParent, getRawProperty, getRawPropertyDescriptors, getRawPropertyNames, getTypeId, getTypeIdentifier, hasChild, hasChild, hasChildren, hasDescriptor, hasProperties, hasProperty, hasRawChild, hasRawChild, hasRawChildren, hasRawProperty, isChildRestricted, print, remove, removeChild, removeDescriptor, rename, setPrimaryType, setProperty
getAbsolutePath, getName, getRepository
static final int TYPE_ID
static final KomodoType IDENTIFIER
static final TableConstraint.ConstraintType CONSTRAINT_TYPE
static final Index[] NO_INDEXES
static final TypeResolver<Index> RESOLVER
Index
.Table getParent(Repository.UnitOfWork transaction) throws KException
getParent
in interface KNode
KException
KNode.getParent(org.komodo.spi.repository.Repository.UnitOfWork)
String getExpression(Repository.UnitOfWork transaction) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)KException
- if an error occursvoid setExpression(Repository.UnitOfWork transaction, String newExpression) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)newExpression
- the new expression (can be empty)KException
- if an error occursCopyright © 2013–2019. All rights reserved.