|
Oracle Warehouse Builder Java API Reference 10g Release 1 (10.1) B12155-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ExternalTable
interface represents an Oracle database external table.
Field Summary |
Fields inherited from interface oracle.owb.metadatamgmt.changemgmt.Snapshotable |
MAX_DEPENDENCY_DEPTH, MIN_DEPENDENCY_DEPTH |
Method Summary | |
ExternalTableColumn |
createColumn(java.lang.String name) Creates and adds a new ExternalTableColumn to the ExternalTable. |
ExternalTableColumn |
createColumn(java.lang.String name, int position) Creates and adds a new ExternalTableColumn to the ExternalTable at the specified position. |
Datafile |
createDatafile(java.lang.String name) Create a Data File. |
void |
deleteDatafile(java.lang.String name) Delete a Data File. |
ExternalTableColumn |
findColumn(java.lang.String name) Finds an ExternalTableColumn in the ExternalTable |
Datafile |
findDatafile(java.lang.String name) Find a Data File. |
java.lang.String |
getAccessParameters() Gets the access parameters for the ExternalTable. |
ExternalTableColumn[] |
getColumns() Gets an ordered list of the ExternalTable's columns. |
Datafile[] |
getDatafiles() Get the Data Files. |
Location |
getDefaultLocation() Gets the default location of the ExternalTable's datafiles, log files, discard files, and bad files. |
Module |
getModule() Gets the owning Module of the ExternalTable |
Record |
getReferencedRecord() Gets the corresponding Record for the ExternalTable. |
void |
moveColumn(ExternalTableColumn column, int newPosition) Moves an ExternalTableColumn to a new position. |
void |
setAccessParameters(java.lang.String parameters) Sets the access parameters for the ExternalTable. |
void |
setDefaultLocation(Location location) Sets the default location of the ExternalTable's datafiles, log files, discard files, and bad files. |
void |
setReferencedRecord(Record record) Sets the corresponding Record for the ExternalTable. |
Methods inherited from interface oracle.owb.foundation.Component |
getOwningFolder, isReloadNeeded, lock, reload, unlock |
Methods inherited from interface oracle.owb.foundation.OWBNamedObject |
delete, getBusinessName, getClassDefinition, getComponent, getDescription, getName, getUOID, isDeletable, isEditable, isRenamable, setBusinessName, setDescription, setName |
Methods inherited from interface oracle.owb.metadatamgmt.changemgmt.Snapshotable |
compare, compare, compare, compare, createSnapshot, createSnapshot, createSnapshotWithDependeeComponents, createSnapshotWithDependeeComponents, getSnapshots |
Methods inherited from interface oracle.owb.reconcile.ReconcileSource |
getReconcileTargetTypes, getType |
Methods inherited from interface oracle.owb.reconcile.ReconcileTarget |
canMatchByPosition, getReconcileSourceTypes, getType |
Methods inherited from interface oracle.owb.foundation.property.PropertyOwner |
getDefaultPropertyValue, getLogicalPropertyKeys, getPhysicalPropertyKeys, getPropertyDomain, getPropertyKeys, getPropertyValue, getPropertyValueString, isLogicalProperty, isPhysicalProperty, isReadOnlyProperty, setPropertyValue, setPropertyValueByString |
Methods inherited from interface oracle.owb.compile.ValidatableObject |
validate |
Methods inherited from interface oracle.owb.compile.CompilableObject |
compile |
Method Detail |
public Module getModule()
public void setReferencedRecord(Record record)
record
- the Record from which this ExternalTable is derivedpublic Record getReferencedRecord()
public void setDefaultLocation(Location location)
location
- the Location to be used as default.public Location getDefaultLocation()
public void setAccessParameters(java.lang.String parameters)
parameters
- a String containing the file access parameters of this ExternalTablepublic java.lang.String getAccessParameters()
public ExternalTableColumn createColumn(java.lang.String name) throws NameSpaceException, InvalidFormatException
name
- a String which will be the name of the new ExternalTableColumn. The name will be converted to all uppercase characters if it is not already.NameSpaceException
- If the name has already been used by an ExternalTableColumn in this ExternalTableInvalidFormatException
- If the name is not a valid name for an ExternalTableColumn object. For example, it is too long or contains invalid characters.public ExternalTableColumn createColumn(java.lang.String name, int position) throws NameSpaceException, InvalidFormatException
name
- a String which will be the name of the new ExternalTableColumn. The name will be converted to all uppercase characters if it is not already.position
- where this newly created ExternalTableColumn will be located in this ExternalTable.NameSpaceException
- If the name has already been used by an ExternalTableColumn in this ExternalTableInvalidFormatException
- If the name is not a valid name for an ExternalTableColumn object. For example, it is too long or contains invalid characters.public ExternalTableColumn[] getColumns()
public ExternalTableColumn findColumn(java.lang.String name)
name
- a String specifying the name of the ExternalTableColumn to find. It is case sensitive.public void moveColumn(ExternalTableColumn column, int newPosition)
column
- the ExternalTableColumn to movenewPosition
- the position in this ExternalTable to move the column to.public Datafile[] getDatafiles()
Datafiles
(if any) configured for this external table.public Datafile createDatafile(java.lang.String name) throws NameSpaceException
NameSpaceException
- if a Datafile
of that name already exists.public Datafile findDatafile(java.lang.String name)
public void deleteDatafile(java.lang.String name)
|
Oracle Warehouse Builder Java API Reference 10g Release 1 (10.1) B12155-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |