|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.5.0) E13403-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
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.The class extends AbstractChildDBObject so that it can implement replaceReferenceIDs() and getReferenceIDsImpl() for the default and location specifier directories.
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. |
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'. |
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. |
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 accessUsingClob) |
void |
setDefaultDirectory(DBObjectID defaultDirectory) 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, getProperty, setParent, setProperty |
Methods inherited from class oracle.javatools.db.AbstractDBObject |
---|
changeParent, compareToImpl, copyObject, copyTo, copyTo, copyTo, copyTo, equals, equalsImpl, findOwnedObject, findOwnedObject, findOwnedObject, getChildSupport, getID, getName, getOwnedObjects, getOwnedObjects, getOwnedObjectsImpl, getProperties, getProperty, getReferenceIDs, getReferenceIDsImpl, hashCode, includeOwnedObject, includesType, includesType, removeThisAsParent, replaceReferenceIDs, setID, setName, setProperties, 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, replaceReferenceIDs, setID, setName |
Methods inherited from interface oracle.javatools.util.DynamicPropertySet |
---|
getProperties, getProperty, setProperties |
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 void setDefaultDirectory(DBObjectID defaultDirectory)
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 accessUsingClob)
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
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.5.0) E13403-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |