|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.javatools.db.AbstractDBObject oracle.javatools.db.AbstractChildDBObject oracle.javatools.db.ora.OracleExternalTableProperties
public class OracleExternalTableProperties
An external table is one whose metadata (definition) is stored in the database but whose data is stored outside the database. This object represents the properties associated with the external table clause for specifying such tables.
LONG
columns. However, you can populate LOB columns of an external table with
varray or LONG
data from an internal database table.
Nested Class Summary | |
---|---|
static class |
OracleExternalTableProperties.AccessType
Allowed values for the access parameter type. |
static class |
OracleExternalTableProperties.LocationSpecifier
The LOCATION clause lets you specify one or more external data sources. |
static class |
OracleExternalTableProperties.ProjectColumn
|
Nested classes/interfaces inherited from class oracle.javatools.db.AbstractDBObject |
---|
AbstractDBObject.ChildSupport |
Field Summary | |
---|---|
static java.lang.String |
ACCESS_DRIVER_TYPE_ORACLE_DATAPUMP
|
static java.lang.String |
ACCESS_DRIVER_TYPE_ORACLE_LOADER
|
static java.lang.String |
KEY
KEY for use in getProperty/setProperty on a Table object to query the external table properties. |
static java.lang.String |
REJECT_LIMIT_UNLIMITED
|
static java.lang.String |
TYPE
|
Fields inherited from interface oracle.javatools.db.DBObject |
---|
COMMENT |
Constructor Summary | |
---|---|
OracleExternalTableProperties()
Creates an empty OracleExternalTableProperties object, which is used to define the properties of an external table. |
Method Summary | |
---|---|
void |
addLocationSpecifier(DBObjectID directory,
java.lang.String specifier)
Adds a location specifier that uses the given Directory (by ID) and the specified location. |
void |
addLocationSpecifier(OracleExternalTableProperties.LocationSpecifier locationSpecifier)
Adds the given location specifier. |
void |
addLocationSpecifier(java.lang.String specifier)
Adds a location specifier that uses the given Directory (by ID) and the specified location. |
DBObject |
copyTo(DBObject target,
DBObject copyParent,
IDPolicy idPolicy)
Internal copy method used by the API to perform copy operations. |
protected void |
copyToImpl(OracleExternalTableProperties copy,
DBObject copyParent,
IDPolicy idPolicy)
|
boolean |
equals(java.lang.Object target)
|
protected boolean |
equalsImpl(OracleExternalTableProperties target)
|
java.lang.String |
getAccessDriverType()
Get the access driver type. |
java.lang.Object |
getAccessParameters()
Get the access driver's parameters. |
DBObjectID |
getDefaultDirectory()
Gets the default Directory by ID. |
OracleExternalTableProperties.LocationSpecifier[] |
getLocationSpecifiers()
Gets the LocationSpecifiers which are used to specify the external locations used to store the table's data. |
OracleExternalTableProperties.ProjectColumn |
getProjectColumn()
Get the value of the 'alter table project column clause'. |
protected void |
getReferenceIDsImpl(java.util.Collection<DBObjectID> refs)
Used by the final getReferenceID() implementation. |
java.lang.String |
getRejectLimit()
Gets the reject limit for the external table. |
java.lang.String |
getType()
Returns the type of this object. |
boolean |
isAccessUsingClob()
|
void |
removeAllLocationSpecifiers()
Clears the list of LocationSpecifiers. |
void |
removeLocationSpecifier(OracleExternalTableProperties.LocationSpecifier locationSpecifier)
Removes the given location specifier. |
boolean |
replaceReferenceIDs(java.util.Map<DBObjectID,DBObjectID> idMap)
Override in subclasses to replace reference IDs as appropriate. |
void |
setAccessDriverType(java.lang.String accessDriverType)
Set the access driver type. |
void |
setAccessParameters(java.lang.Object accessParameters)
Set the access driver's parameters. |
void |
setAccessUsingClob(boolean usingClob)
|
void |
setDefaultDirectory(DBObjectID directory)
Sets the default Directory by ID. |
void |
setLocationSpecifiers(OracleExternalTableProperties.LocationSpecifier[] locationSpecifiers)
Sets the LocationSpecifiers which are used to specify the external locations used to store the table's data. |
void |
setProjectColumn(OracleExternalTableProperties.ProjectColumn projectColumn)
Set the value of the 'alter table project column clause'. |
void |
setRejectLimit(java.lang.String rejectLimit)
Sets the reject limit for the external table. |
Methods inherited from class oracle.javatools.db.AbstractChildDBObject |
---|
copyToImpl, findParent, getParent, setParent |
Methods inherited from class oracle.javatools.db.AbstractDBObject |
---|
changeParent, compareToImpl, copyObject, copyTo, copyTo, copyTo, copyToImpl, equalsImpl, findOwnedObject, findOwnedObject, findOwnedObject, getChildSupport, getID, getName, getOwnedObjects, getOwnedObjects, getOwnedObjectsImpl, getProperties, getProperty, getProperty, getReferenceIDs, hashCode, includeOwnedObject, includesType, includesType, removeThisAsParent, setID, setName, setProperties, setProperty, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface oracle.javatools.db.DBObject |
---|
copyTo, copyTo, copyTo, findOwnedObject, findOwnedObject, getID, getName, getOwnedObjects, getOwnedObjects, getReferenceIDs, setID, setName |
Methods inherited from interface oracle.javatools.util.DynamicPropertySet |
---|
getProperties, getProperty, getProperty, setProperties, setProperty |
Field Detail |
---|
public static final java.lang.String KEY
public static final java.lang.String TYPE
public static final java.lang.String ACCESS_DRIVER_TYPE_ORACLE_LOADER
public static final java.lang.String ACCESS_DRIVER_TYPE_ORACLE_DATAPUMP
public static final java.lang.String REJECT_LIMIT_UNLIMITED
Constructor Detail |
---|
public OracleExternalTableProperties()
Method Detail |
---|
public java.lang.String getType()
DBObject
public DBObject copyTo(DBObject target, DBObject copyParent, IDPolicy idPolicy)
AbstractDBObject
This method does not fix internal reference ids on copy. That is done by
the calling DBObject.copyTo(DBObject, IDPolicy)
method.
copyTo
in class AbstractDBObject
DBObject.copyTo(java.lang.Object)
,
DBObject.copyTo(DBObject, boolean)
,
AbstractDBObject.copyToImpl(oracle.javatools.db.AbstractDBObject, oracle.javatools.db.DBObject, oracle.javatools.db.IDPolicy)
public boolean equals(java.lang.Object target)
equals
in class java.lang.Object
public boolean replaceReferenceIDs(java.util.Map<DBObjectID,DBObjectID> idMap)
AbstractDBObject
replaceReferenceIDs
in interface DBObject
replaceReferenceIDs
in class AbstractDBObject
idMap
- key = old DBObjectID, value = new DBObjectID
protected void getReferenceIDsImpl(java.util.Collection<DBObjectID> refs)
AbstractDBObject
getReferenceIDsImpl
in class AbstractDBObject
refs
- the collection of ids this object referencespublic void setDefaultDirectory(DBObjectID directory)
public DBObjectID getDefaultDirectory()
public void setLocationSpecifiers(OracleExternalTableProperties.LocationSpecifier[] locationSpecifiers)
OracleExternalTableProperties.LocationSpecifier
public OracleExternalTableProperties.LocationSpecifier[] getLocationSpecifiers()
OracleExternalTableProperties.LocationSpecifier
public void addLocationSpecifier(OracleExternalTableProperties.LocationSpecifier locationSpecifier)
setLocationSpecifiers(oracle.javatools.db.ora.OracleExternalTableProperties.LocationSpecifier[])
,
OracleExternalTableProperties.LocationSpecifier
public void addLocationSpecifier(DBObjectID directory, java.lang.String specifier)
setLocationSpecifiers(oracle.javatools.db.ora.OracleExternalTableProperties.LocationSpecifier[])
,
OracleExternalTableProperties.LocationSpecifier
public void addLocationSpecifier(java.lang.String specifier)
setLocationSpecifiers(oracle.javatools.db.ora.OracleExternalTableProperties.LocationSpecifier[])
,
OracleExternalTableProperties.LocationSpecifier
public void removeLocationSpecifier(OracleExternalTableProperties.LocationSpecifier locationSpecifier)
setLocationSpecifiers(oracle.javatools.db.ora.OracleExternalTableProperties.LocationSpecifier[])
,
OracleExternalTableProperties.LocationSpecifier
public void removeAllLocationSpecifiers()
setLocationSpecifiers(oracle.javatools.db.ora.OracleExternalTableProperties.LocationSpecifier[])
,
OracleExternalTableProperties.LocationSpecifier
public void setAccessDriverType(java.lang.String accessDriverType)
ACCESS_DRIVER_TYPE_ORACLE_LOADER
,
ACCESS_DRIVER_TYPE_ORACLE_DATAPUMP
public java.lang.String getAccessDriverType()
ACCESS_DRIVER_TYPE_ORACLE_LOADER
,
ACCESS_DRIVER_TYPE_ORACLE_DATAPUMP
public void setAccessParameters(java.lang.Object accessParameters)
public java.lang.Object getAccessParameters()
setAccessParameters(java.lang.Object)
public void setAccessUsingClob(boolean usingClob)
public boolean isAccessUsingClob()
public void setRejectLimit(java.lang.String rejectLimit)
public java.lang.String getRejectLimit()
public void setProjectColumn(OracleExternalTableProperties.ProjectColumn projectColumn)
OracleExternalTableProperties.ProjectColumn
public OracleExternalTableProperties.ProjectColumn getProjectColumn()
OracleExternalTableProperties.ProjectColumn
protected void copyToImpl(OracleExternalTableProperties copy, DBObject copyParent, IDPolicy idPolicy)
protected boolean equalsImpl(OracleExternalTableProperties target)
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |