public interface TabularResultSet extends ProcedureResultSet
RelationalObject.Filter
Modifier and Type | Field and Description |
---|---|
static KomodoType |
IDENTIFIER
Identifier of this object.
|
static TypeResolver<TabularResultSet> |
RESOLVER
The resolver of a
TabularResultSet . |
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 |
---|---|
ResultSetColumn |
addColumn(Repository.UnitOfWork transaction,
String columnName) |
ResultSetColumn[] |
getColumns(Repository.UnitOfWork transaction) |
AbstractProcedure |
getParent(Repository.UnitOfWork transaction) |
void |
removeColumn(Repository.UnitOfWork transaction,
String columnToRemove) |
void |
rename(Repository.UnitOfWork transaction,
String newName)
Rename is not allowed!!
|
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<TabularResultSet> RESOLVER
TabularResultSet
.AbstractProcedure getParent(Repository.UnitOfWork transaction) throws KException
getParent
in interface KNode
KException
KNode.getParent(org.komodo.spi.repository.Repository.UnitOfWork)
ResultSetColumn addColumn(Repository.UnitOfWork transaction, String columnName) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)columnName
- the name of the column being added (cannot be empty)null
)KException
- if an error occursResultSetColumn[] getColumns(Repository.UnitOfWork transaction) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)null
but can be empty)KException
- if an error occursvoid removeColumn(Repository.UnitOfWork transaction, String columnToRemove) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)columnToRemove
- the name of the column being removed (cannot be empty)KException
- 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)
Copyright © 2013–2019. All rights reserved.