***  This interface provides Binary Compatibility only, not Source Compatibility  ***

com.sas.services.information.metadata
Interface PhysicalTableInterface

All Superinterfaces:
ClassifierInterface, DataTableInterface, MetadataInterface, PublicObjectInterface, RelationalTableInterface, java.rmi.Remote

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
 IndexInterface addIndex(java.lang.String name, java.util.List<ColumnInterface> listColumn)
          Add a Index to the physical table.
 IndexInterface addSimpleIndex(ColumnInterface column)
          Add a Simple Index (contains only 1 column) to the physical table.
 java.util.List getColumns()
          Get the list of columns in this table.
 java.util.List<IndexInterface> getIndexes()
          Get the indexes associated with the physical table.
 SASLibraryInterface getLibrary()
           
 PhysicalTableAttributes getPhysicalTableAttributes()
           
 void removeIndex(IndexInterface index)
          Remove the index from the physical table.
 void setPhysicalTableAttributes(PhysicalTableAttributes attributes)
           
 
Methods inherited from interface com.sas.services.information.metadata.RelationalTableInterface
addForeignKey, addPrimaryKey, addUniqueKey, getForeignKeys, getPrimaryKey, getUniqueKeys, removeForeignKey, removePrimaryKey, removeUniqueKey
 
Methods inherited from interface com.sas.services.information.metadata.DataTableInterface
addColumn, addColumnAt, addRole, addRole, getNumRows, getRoles, getSchema, getTableName, removeColumn, removeColumn, removeRole, setNumRows, setSchema, setTableName
 
Methods inherited from interface com.sas.services.information.metadata.ClassifierInterface
getSourceClassifierMaps, getTargetClassifierMaps
 
Methods inherited from interface com.sas.services.information.metadata.MetadataInterface
add, addAccessControl, addAttribute, addAttributes, addDocument, addExtension, addGroup, addImplementor, addKeyword, addObjectProperty, addObjectProperty, addPermissions, addPrompt, addPropertySet, addRemark, addResponsibleParty, addTransactionListener, addUsedByPrototype, checkin, checkout, commit, copyTo, countAssociatedObjects, delete, deleteAttribute, deleteAttributes, destroy, getAccessControls, getAttribute, getAttributes, getAuthorizationUtil, getCreateDate, getDescription, getDocuments, getEntityKey, getEntityURL, getExtensions, getGroups, getGUID, getIdentities, getImplementors, getKeywords, getLockedBy, getModifyDate, 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, isLoggingEnabled, isObjectAlive, isReadCompatible, logMessage, mapNameToFilesystem, mapUrlToFilesystem, moveTo, newServiceObject, refresh, removeAccessControl, removeDocument, removeExtension, removeGroup, removeImplementor, removeKeyword, removeObjectProperty, removePermissions, removePrompt, removePropertySet, removeResponsibleParty, removeUsedByPrototype, rollback, setAttribute, setAttributes, setDeleted, setDescription, setDocuments, setExtensions, setGroups, setGUID, setKeywords, setName, setObjectProperties, setPermission, setPrimaryPropertyGroup, setPrompt, setPrompts, setRemarksList, setRepository, setUsingPrototype, startTransaction, toByteArray, transactionEvent, uncheckout, update, updateFromBag, version
 
Methods inherited from interface com.sas.services.information.publicobject.PublicObjectInterface
addProcessorInterface, getContainer, getIdentifier, getName, getObjectURI, getPathUrl, getProcessorInterface, getTypeDescriptor
 

Method Detail

getPhysicalTableAttributes

PhysicalTableAttributes getPhysicalTableAttributes()
                                                   throws ServiceException,
                                                          java.rmi.RemoteException
Throws:
ServiceException
java.rmi.RemoteException

setPhysicalTableAttributes

void setPhysicalTableAttributes(PhysicalTableAttributes attributes)
                                throws ServiceException,
                                       java.rmi.RemoteException
Throws:
ServiceException
java.rmi.RemoteException

getColumns

java.util.List getColumns()
                          throws ServiceException,
                                 java.rmi.RemoteException
Description copied from interface: DataTableInterface
Get the list of columns in this table.

Specified by:
getColumns in interface DataTableInterface
Returns:
The List of ColumnInterface objects associated with this table.
Throws:
ServiceException - If a repository error occurs.
java.rmi.RemoteException - In the event of remote object failure.

getLibrary

SASLibraryInterface getLibrary()
                               throws ServiceException,
                                      java.rmi.RemoteException
Throws:
ServiceException
java.rmi.RemoteException

addIndex

IndexInterface addIndex(java.lang.String name,
                        java.util.List<ColumnInterface> listColumn)
                        throws java.rmi.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.
java.rmi.RemoteException - - In the event of remote object failure.

addSimpleIndex

IndexInterface addSimpleIndex(ColumnInterface column)
                              throws java.rmi.RemoteException,
                                     ServiceException
Add a Simple Index (contains only 1 column) to the physical table.

Parameters:
name - is the index name.
column -
Returns:
Throws:
ServiceException - - 1] If index with the given name exist in the physical table 2] If a repository error occurs.
java.rmi.RemoteException - - In the event of remote object failure.

getIndexes

java.util.List<IndexInterface> getIndexes()
                                          throws java.rmi.RemoteException,
                                                 ServiceException
Get the indexes associated with the physical table.

Returns:
Throws:
ServiceException - - If a repository error occurs.
java.rmi.RemoteException - - In the event of remote object failure.

removeIndex

void removeIndex(IndexInterface index)
                 throws java.rmi.RemoteException,
                        ServiceException
Remove the index from the physical table.

Parameters:
relationalKey -
Throws:
ServiceException - - If a repository error occurs.
java.rmi.RemoteException - - In the event of remote object failure.

***  This interface provides Binary Compatibility only, not Source Compatibility  ***




Copyright © 2009 SAS Institute Inc. All Rights Reserved.