Skip navigation links
oracle.javatools.db.ora
Class OracleExternalTableProperties.LocationSpecifier
java.lang.Object
oracle.javatools.db.AbstractDBObject
oracle.javatools.db.AbstractChildDBObject
oracle.javatools.db.ora.OracleExternalTableProperties.LocationSpecifier
- All Implemented Interfaces:
- ChildDBObject, DBObject, Copyable, DynamicPropertySet
- Enclosing class:
- OracleExternalTableProperties
-
public static class OracleExternalTableProperties.LocationSpecifier
- extends AbstractChildDBObject
The LOCATION clause lets you specify one or more external data sources. A LocationSpecifier object represents one entry in a LOCATION clause.
Usually the LocationSpecifier is a file, but it need not be. Oracle Database does not interpret this clause. It is up to the access driver to interpret this information in the context of the external data. You cannot use wildcards in the LocationSpecifier to specify multiple files.
Field Summary |
static java.lang.String |
TYPE
|
Method Summary |
DBObjectID |
getDirectory()
Gets the id for the Directory this location is using. |
java.lang.String |
getName()
Retrieves the name of this object. |
java.lang.String |
getSpecifier()
Gets the location in the Directory being specified. |
java.lang.String |
getType()
Returns the type of this object. |
void |
setDirectory(DBObjectID directory)
Sets the id for the Directory this location is using. |
void |
setSpecifier(java.lang.String specifier)
Sets the location in the Directory being specified. |
Methods inherited from class oracle.javatools.db.AbstractDBObject |
changeParent, compareToImpl, copyObject, copyTo, copyTo, copyTo, copyTo, equals, equalsImpl, findOwnedObject, findOwnedObject, findOwnedObject, getChildSupport, getID, 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, getOwnedObjects, getOwnedObjects, getReferenceIDs, replaceReferenceIDs, setID, setName |
TYPE
public static final java.lang.String TYPE
-
- See Also:
- Constant Field Values
OracleExternalTableProperties.LocationSpecifier
public OracleExternalTableProperties.LocationSpecifier()
- Creates an empty LocationSpecifier.
OracleExternalTableProperties.LocationSpecifier
public OracleExternalTableProperties.LocationSpecifier(java.lang.String specifier)
- Creates a LocationSpecifier with the given location, to use the default Directory.
OracleExternalTableProperties.LocationSpecifier
public OracleExternalTableProperties.LocationSpecifier(DBObjectID directory,
java.lang.String specifier)
- Creates a LocationSpecifier with the given location and Directory.
- Parameters:
directory
- the id of the Directory to use.
specifier
- the location in that Directory being specified.
getType
public java.lang.String getType()
- Description copied from interface:
DBObject
- Returns the type of this object. Valid types include things like tables, views, synonyms, and columns.
-
- Returns:
- a string describing the type of object.
setDirectory
public void setDirectory(DBObjectID directory)
- Sets the id for the Directory this location is using. If null the Directory of the owning OracleExternalTableProperties is used.
getDirectory
public DBObjectID getDirectory()
- Gets the id for the Directory this location is using. If null the Directory of the owning OracleExternalTableProperties should be used.
setSpecifier
public void setSpecifier(java.lang.String specifier)
- Sets the location in the Directory being specified.
getSpecifier
public java.lang.String getSpecifier()
- Gets the location in the Directory being specified.
getName
public java.lang.String getName()
- Description copied from interface:
DBObject
- Retrieves the name of this object.
-
- Specified by:
getName
in interface DBObject
- Overrides:
getName
in class AbstractDBObject
-
- Returns:
- a string containing the name of this object.
Skip navigation links
Copyright © 1997, 2015, Oracle. All rights reserved.