| 
Oracle Data Mining Java API Reference 10g Release 1 (10.1) B12276-01  | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
  |
  +--oracle.dmt.odm.MiningObject
        |
        +--oracle.dmt.odm.LocationAccessData
An instance of LocationAccessData allows users to specify the location of input and output data tables.
| Constructor Summary | |
LocationAccessData(java.lang.String unifiedLocation)Creates an instance of LocationAccessData for the specified location string. | |
LocationAccessData(java.lang.String objectName, java.lang.String schemaName)Creates an instance of LocationAccessData for the specified object name and schema name. | |
| Method Summary | |
 java.lang.String | 
getObjectName()Returns the object name corresponding to the table when the object is stored.  | 
 java.lang.String | 
getSchema()Returns the schema name corresponding to the location when the object is located.  | 
static boolean | 
isEqual(LocationAccessData lad1, LocationAccessData lad2, LocationEqualityLevel lel)Compares two instances of LocationAccessData. | 
 java.lang.String | 
toString()Converts location information contained in the object into a single string, which can then be used to create a LocationAccessData object. | 
 boolean | 
validate(Connection connection)Validates that connection specifes an actual location.  | 
| Methods inherited from class java.lang.Object | 
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
public LocationAccessData(java.lang.String unifiedLocation)
                   throws InvalidArgumentException,
ODMException
LocationAccessData for the specified location string. The format of a location string is schema.object.unifiedLocation - string in the format schema.objectInvalidArgumentException - 
ODMException
public LocationAccessData(java.lang.String objectName,
                          java.lang.String schemaName)
                   throws InvalidArgumentException,
ODMException
LocationAccessData for the specified object name and schema name.objectName - object nameschemaName - schema nameInvalidArgumentException - 
ODMException| Method Detail | 
public java.lang.String getObjectName()
public java.lang.String getSchema()
public java.lang.String toString()
LocationAccessData object.toString in class java.lang.Objectschema.object
public boolean validate(Connection connection)
                 throws InvalidArgumentException,
ODMException
validate returns true, otherwise false.connection - connection returned from DataMiningServer loginInvalidArgumentException - when the connection is nullODMException - when validation cannot be performedInvalidArgumentExceptionODMException
public static boolean isEqual(LocationAccessData lad1,
LocationAccessData lad2,
LocationEqualityLevel lel)
                       throws InvalidArgumentException
LocationAccessData. If they are identical, returns true, otherwise, returns false.lad1 - LocationAccessDatalad2 - LocationAccessDatalel - LocationEqualityLevelInvalidArgumentException - when the lad1/lad2/lel are nullInvalidArgumentException 
  | 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||