Skip navigation links

Oracle Data Mining Java API Reference
11g Release 1 (11.1)

B28132-01


oracle.dmt.jdm.resource
Class OraConnection

java.lang.Object
  extended byoracle.dmt.jdm.resource.OraConnection

All Implemented Interfaces:
javax.datamining.resource.Connection

public class OraConnection
extends java.lang.Object
implements javax.datamining.resource.Connection

Method Summary
 java.sql.ResultSet getObjectNames(java.lang.String schemaPattern, javax.datamining.NamedObject objectType, java.lang.String objectNamePattern, javax.datamining.Enum minorType_1, javax.datamining.Enum minorType_2)
          This method is added as an Oracle extension to provide listing of mining object names across schemas.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

getObjectNames

public java.sql.ResultSet getObjectNames(java.lang.String schemaPattern,
                                         javax.datamining.NamedObject objectType,
                                         java.lang.String objectNamePattern,
                                         javax.datamining.Enum minorType_1,
                                         javax.datamining.Enum minorType_2)
This method is added as an Oracle extension to provide listing of mining object names across schemas. It returns the java.sql.ResultSet object with the following columns:
  1. SCHEMA_NAME String => Name of the schema (can be null)
  2. TYPE String => Type of the object (NamedObject object types)
  3. NAME String => Name of the object
  4. MINOR_TYPE_1 String => Mining objects can have minor/sub types. For example, model object can have function and algorithm as minor types. Table in this comment lists the allowed minor types based on the object type.
  5. MINOR_TYPE_2 String => Mining objects can have more than one minor type. If they have second minor type, then this column is used.
  6. CREATION_DATE Timestamp => Date when this object was created
  7. DESCRIPTION String => Description of the object

Following list shows the possible minor types for different mining objects.

Parameters:
schemaPattern - a schema name pattern; must match the schema name as it is stored in the database; "" retrieves those without a schema; null means that the schema name should not be used to narrow the search
objectType - object type to include; null returns all types
objectNamePattern - an object name pattern; must match the mining object name as it is stored in the database
minorType_1 - primary minor type to include; it is ignored when the object type argument is not specified; null returns all primary minor types
minorType_2 - secondary minor type to include; it is ignored when the object type argument is not specified; null returns all secondary minor types
Returns:
Since:
OJDM 11.1.0

Skip navigation links

Oracle Data Mining Java API Reference
11g Release 1 (11.1)

B28132-01


Copyright © 2005-2007 Oracle. All rights reserved.