oracle.dmt.odm
Class LocationCellAccessData
java.lang.Object
|
+--oracle.dmt.odm.MiningObject
|
+--oracle.dmt.odm.LocationAccessData
|
+--oracle.dmt.odm.LocationCellAccessData
- All Implemented Interfaces:
- java.io.Serializable
- public class LocationCellAccessData
- extends LocationAccessData
This class allows users to specify a particular row and column
in specified schema and table.
- See Also:
- Serialized Form
LocationCellAccessData(java.lang.String objectName,
java.lang.String schemaName,
java.lang.String columnName,
oracle.sql.ROWID rowID)
Creates an instance of LocationCellAccessData for the specified
row and column in specified schema and table. |
Type | Method |
java.lang.String |
getColumnName()
Returns column name. |
oracle.sql.ROWID |
getRowID()
Returns the row id object. |
boolean |
validate(Connection connection)
Validate that connection specifes an actual location. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LocationCellAccessData
public LocationCellAccessData(java.lang.String objectName,
java.lang.String schemaName,
java.lang.String columnName,
oracle.sql.ROWID rowID)
throws InvalidArgumentException,
ODMException
- Creates an instance of
LocationCellAccessData
for the specified
row and column in specified schema and table.
- Parameters:
objectName
- table nameschemaName
- schema namecolumnName
- name of columnrowID
- row id- Throws:
InvalidArgumentException
- is thrown
- when the objectName is null
- when the objectName is > 30 bytes
- when the schemaName is not null and it is > 30 bytes
- when the columnName is null
- when the columnName is > 30 bytes
- when rowID is null
getColumnName
public java.lang.String getColumnName()
- Returns column name.
- Returns:
- String - column name
getRowID
public oracle.sql.ROWID getRowID()
- Returns the row id object.
- Returns:
- oracle.sql.ROWID - row id
validate
public boolean validate(Connection connection)
throws InvalidArgumentException,
ODMException
- Validate that connection specifes an actual location. If the connection is
made successfully,
validate
returns true.
- Overrides:
validate
in class LocationAccessData
- Parameters:
connection
- Connection returned from DataMiningServer login- Returns:
- boolean - true if validation is successful
- Throws:
InvalidArgumentException
- is thrown
- when the connection is nullODMException
- is thrown
- when validation cannot be performed