|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | 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 |
Type | Method |
---|---|
static LocationAccessData |
deserialize(byte[] obj)
For internal use only. |
Location |
getLocation()
For internal use only |
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 . |
byte[] |
serialize()
For internal use only. |
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.object
InvalidArgumentException
- is thrown 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
- is thrown Method Detail |
public java.lang.String getObjectName()
public java.lang.String getSchema()
public Location getLocation()
public java.lang.String toString()
LocationAccessData
object.toString
in class java.lang.Object
schema.object
public boolean validate(Connection connection) throws InvalidArgumentException, ODMException
validate
returns true, otherwise false.connection
- connection returned from DataMiningServer loginInvalidArgumentException
- is thrown ODMException
- is thrown 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
- is thrown public byte[] serialize() throws java.io.IOException
public static LocationAccessData deserialize(byte[] obj) throws java.io.IOException, java.lang.ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |