*** This interface provides Binary Compatibility only, not Source Compatibility ***
Interface PhysicalTableInterface
- All Superinterfaces:
ClassifierInterface,DataTableInterface,MetadataInterface,PublicObjectInterface,RelationalTableInterface,Remote
@SASScope("ALL")
@BinaryCompatibilityOnly
public interface PhysicalTableInterface
extends RelationalTableInterface
-
Field Summary
Fields inherited from interface com.sas.services.information.metadata.MetadataInterface
METADATA_STATE_DELETED, METADATA_STATE_DESTROYED, METADATA_STATE_NEW, METADATA_STATE_NORMAL, PERMISSION_READMETADATA, PERMISSION_WRITEMETADATA -
Method Summary
Modifier and TypeMethodDescriptionaddIndex(String name, List<ColumnInterface> listColumn) Add a Index to the physical table.addSimpleIndex(ColumnInterface column) Add a Simple Index (contains only 1 column) to the physical table.ListGet the list of columns in this table.List<IndexInterface> Get the indexes associated with the physical table.voidremoveIndex(IndexInterface index) Remove the index from the physical table.voidsetPhysicalTableAttributes(PhysicalTableAttributes attributes) Methods inherited from interface com.sas.services.information.metadata.ClassifierInterface
getSourceClassifierMaps, getTargetClassifierMapsMethods inherited from interface com.sas.services.information.metadata.DataTableInterface
addColumn, addColumnAt, addColumnHierarchy, addRole, addRole, getColumnHierarchies, getNumRows, getRoles, getSchema, getTableName, removeColumn, removeColumn, removeColumnHierarchy, removeRole, setNumRows, setSchema, setTableNameMethods inherited from interface com.sas.services.information.metadata.MetadataInterface
add, addAccessControl, addAttribute, addAttributes, addDocument, addExtension, addGroup, addImplementor, addKeyword, addNoteTextStore, addNoteTextStore, addObjectProperty, addObjectProperty, addPermissions, addPrompt, addPropertySet, addRemark, addResponsibleParty, addTransactionListener, addUsedByPrototype, checkin, checkout, commit, copyTo, countAssociatedObjects, delete, deleteAttribute, deleteAttributes, destroy, getAccessControls, getAttribute, getAttributes, getAuthorizationUtil, getCreateDate, getCreatedBy, getDescription, getDocuments, getEntityKey, getEntityURL, getExtensions, getGroups, getGUID, getIdentities, getImplementors, getKeywords, getLockedBy, getModifiedBy, getModifyDate, getNoteTextStore, getNoteTextStores, getNoteTextStoresByRole, getObjectProperties, getParent, getParentPath, getParents, getPath, getPaths, getPermission, getPermissions, getPermissions, getPreviousVersionNames, getPrimaryPropertyGroup, getPrompt, getPrompts, getPropertyBag, getPropertySets, getRemarksList, getReposId, getRepository, getRepositoryEntity, getRepositoryName, getReposKey, getResponsibleParties, getState, getTrackingId, getType, getUsageVersion, getUsedByPrototypes, getUsingPrototype, getVersion, isAuthorized, isCompatible, isDeleted, isDestroyed, isObjectAlive, isReadCompatible, mapNameToFilesystem, mapUrlToFilesystem, moveTo, newServiceObject, refresh, removeAccessControl, removeDocument, removeExtension, removeGroup, removeImplementor, removeKeyword, removeNoteTextStore, removeObjectProperty, removePermissions, removePrompt, removePropertySet, removeResponsibleParty, removeResponsiblePartyByIdentity, removeUsedByPrototype, rollback, setAttribute, setAttributes, setDeleted, setDescription, setDocuments, setExtensions, setGroups, setGUID, setKeywords, setName, setNoteTextStores, setObjectProperties, setPermission, setPrimaryPropertyGroup, setPrompt, setPrompts, setRemarksList, setRepository, setUsingPrototype, startTransaction, toByteArray, transactionEvent, uncheckout, update, updateFromBag, versionMethods inherited from interface com.sas.services.information.publicobject.PublicObjectInterface
addProcessorInterface, getContainer, getIdentifier, getName, getObjectURI, getPathUrl, getProcessorInterface, getTypeDescriptorMethods inherited from interface com.sas.services.information.metadata.RelationalTableInterface
addForeignKey, addPrimaryKey, addUniqueKey, getForeignKeys, getPrimaryKey, getUniqueKeys, removeForeignKey, removePrimaryKey, removeUniqueKey
-
Method Details
-
getPhysicalTableAttributes
- Throws:
ServiceExceptionRemoteException
-
setPhysicalTableAttributes
void setPhysicalTableAttributes(PhysicalTableAttributes attributes) throws ServiceException, RemoteException - Throws:
ServiceExceptionRemoteException
-
getColumns
Description copied from interface:DataTableInterfaceGet the list of columns in this table.- Specified by:
getColumnsin interfaceDataTableInterface- Returns:
- The List of
ColumnInterfaceobjects associated with this table. - Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-
getLibrary
- Throws:
ServiceExceptionRemoteException
-
addIndex
IndexInterface addIndex(String name, List<ColumnInterface> listColumn) throws RemoteException, ServiceException Add a Index to the physical table. If list of column contains only one column then API creates the simple index ignores the given index name. Simple index name is same as its column name.- Parameters:
name- is the index name.listColumn- is a column list associated with the index.- Returns:
- Throws:
ServiceException- - 1] If index with the given name exist in the physical table 2] If a repository error occurs.RemoteException- - In the event of remote object failure.
-
addSimpleIndex
Add a Simple Index (contains only 1 column) to the physical table.- Parameters:
column-name- is the index name.- Returns:
- Throws:
ServiceException- - 1] If index with the given name exist in the physical table 2] If a repository error occurs.RemoteException- - In the event of remote object failure.
-
getIndexes
Get the indexes associated with the physical table.- Returns:
- Throws:
ServiceException- - If a repository error occurs.RemoteException- - In the event of remote object failure.
-
removeIndex
Remove the index from the physical table.- Parameters:
relationalKey-- Throws:
ServiceException- - If a repository error occurs.RemoteException- - In the event of remote object failure.
-