Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


oracle.javatools.db.ora
Class OracleExternalTableProperties.LocationSpecifier

java.lang.Object
  extended by oracle.javatools.db.AbstractDBObject
      extended by oracle.javatools.db.AbstractChildDBObject
          extended by 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.


Nested Class Summary

 

Nested classes/interfaces inherited from class oracle.javatools.db.AbstractDBObject
AbstractDBObject.ChildSupport, AbstractDBObject.ListenerSupport

 

Field Summary
static java.lang.String TYPE
           

 

Fields inherited from interface oracle.javatools.db.DBObject
COMMENT

 

Constructor Summary
OracleExternalTableProperties.LocationSpecifier()
          Creates an empty LocationSpecifier.
OracleExternalTableProperties.LocationSpecifier(DBObjectID directory, java.lang.String specifier)
          Creates a LocationSpecifier with the given location and Directory.
OracleExternalTableProperties.LocationSpecifier(java.lang.String specifier)
          Creates a LocationSpecifier with the given location, to use the default Directory.

 

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.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, 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

 

Methods inherited from interface oracle.javatools.util.DynamicPropertySet
getProperties, getProperty, setProperties

 

Field Detail

TYPE

public static final java.lang.String TYPE
See Also:
Constant Field Values

Constructor Detail

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.

Method Detail

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

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


Copyright © 1997, 2012, Oracle. All rights reserved.