|
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.DataMiningServer
An instance of DataMiningServer is used as a proxy to create connections to a Data Mining Server.
| Constructor Summary | |
DataMiningServer(java.lang.String url, java.lang.String userName, java.lang.String password)Creates a Data Mining Server with specified information. | |
DataMiningServer(java.lang.String url, java.lang.String userName, java.lang.String password, java.util.Locale locale)Creates a Data Mining Server with specified information. | |
| Method Summary | |
static void |
closeConnection(Connection dmsConn)Closes the Data Mining Server connection. |
static Connection |
createConnection(java.sql.Connection dbConn)Using the given database connection, creates a Data Mining Server connection |
Connection |
login()Given the parameters set in the Data Mining Server instance, logs into the server and returns a Connection instance. |
void |
logout(Connection connection)Closes the specified connection to the Data Mining Server. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DataMiningServer(java.lang.String url,
java.lang.String userName,
java.lang.String password)
throws InvalidArgumentException
url - URL (jdbc:oracle:thin:@host:port:sid)userName - user idpassword - user passwordInvalidArgumentException -
InvalidArgumentException
public DataMiningServer(java.lang.String url,
java.lang.String userName,
java.lang.String password,
java.util.Locale locale)
throws InvalidArgumentException
url - URL (jdbc:oracle:thin:@host:port:sid)userName - user idpassword - user passwordInvalidArgumentException - is thrownInvalidArgumentException| Method Detail |
public Connection login()
throws ODMException
Connection instance.ODMException - when login failsODMException
public void logout(Connection connection)
throws InvalidArgumentException,
ODMException
connection - a valid connection to a Data Mining Server.InvalidArgumentException - when the connection is nullODMException - when logout failsInvalidArgumentExceptionODMException
public static Connection createConnection(java.sql.Connection dbConn)
throws ODMException
dbConn - jdbc connection of the data mining userODMException - is thrownODMException
public static void closeConnection(Connection dmsConn)
throws ODMException
dmsConn - data mining user connectionODMException - is thrownODMException
|
| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||