public interface DataTypeResultSet extends ProcedureResultSet, ResultSetColumn
Modifier and Type | Interface and Description |
---|---|
static class |
DataTypeResultSet.Type
The valid data types.
|
RelationalObject.Filter
Modifier and Type | Field and Description |
---|---|
static KomodoType |
IDENTIFIER
Identifier of this object.
|
static TypeResolver<DataTypeResultSet> |
RESOLVER
The resolver of a
DataTypeResultSet . |
static int |
TYPE_ID
The type identifier.
|
NO_COLUMNS
DDL_QNAMES_FILTER, DEFAULT_FILTERS, JCR_FILTER, NO_FILTERS, NT_FILTER, RESIDUAL_FILTER
EMPTY_ARRAY
Modifier and Type | Method and Description |
---|---|
String |
getDisplayString(Repository.UnitOfWork transaction) |
AbstractProcedure |
getParent(Repository.UnitOfWork transaction) |
DataTypeResultSet.Type |
getType(Repository.UnitOfWork transaction) |
boolean |
isArray(Repository.UnitOfWork transaction) |
void |
rename(Repository.UnitOfWork transaction,
String newName)
Rename is not allowed!!
|
void |
setArray(Repository.UnitOfWork transaction,
boolean newArray) |
void |
setType(Repository.UnitOfWork transaction,
DataTypeResultSet.Type newType) |
getDatatypeName, getDefaultValue, getDescription, getLength, getNameInSource, getNullable, getPrecision, getScale, getUuid, setDatatypeName, setDefaultValue, setDescription, setLength, setNameInSource, setNullable, setPrecision, setScale, setUuid
getCustomOptions, getStandardOptions, getStatementOptionNames, getStatementOptions, isCustomOption, isStandardOption, removeStatementOption, setStatementOption
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, setPrimaryType, setProperty
getAbsolutePath, getName, getRepository
static final KomodoType IDENTIFIER
static final int TYPE_ID
static final TypeResolver<DataTypeResultSet> RESOLVER
DataTypeResultSet
.AbstractProcedure getParent(Repository.UnitOfWork transaction) throws KException
getParent
in interface KNode
KException
KNode.getParent(org.komodo.spi.repository.Repository.UnitOfWork)
String getDisplayString(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 occursRelationalConstants.DEFAULT_LENGTH
DataTypeResultSet.Type getType(Repository.UnitOfWork transaction) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)data type
property (never empty)KException
- if an error occursDataTypeResultSet.Type.DEFAULT_VALUE
boolean isArray(Repository.UnitOfWork transaction) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)true
if an array typeKException
- if an error occursvoid rename(Repository.UnitOfWork transaction, String newName) throws UnsupportedOperationException
Rename is not allowed!!
rename
in interface KomodoObject
UnsupportedOperationException
- if calledKomodoObject.rename(org.komodo.spi.repository.Repository.UnitOfWork, java.lang.String)
void setArray(Repository.UnitOfWork transaction, boolean newArray) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)newArray
- true
if an array typeKException
- if an error occursvoid setType(Repository.UnitOfWork transaction, DataTypeResultSet.Type newType) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)newType
- the new value for the data type
property (can be null
when setting to default)KException
- if an error occursDataTypeResultSet.Type.DEFAULT_VALUE
Copyright © 2013–2019. All rights reserved.