Skip navigation links

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.7.0)

E17060-04


oracle.odi.interfaces.data
Interface IOdiInterfaceDataAccessHelper


public interface IOdiInterfaceDataAccessHelper

An interface that can be implemented to help with runtime data access for the sources and targets of an interface. Various subcomponents of the interface can be specified, and data access is set up for those subcomponents. For example a specific set of source data stores, filters, joins, target columns or target mappings may be specified.

Implementations of this interface are used for computing all information needed to perform a show data on any object of the interface.

All known implementing interfaces:

OdiInterfaceDataAccessHelperWithSnpObjects
OdiInterfaceDataAccessHelperWithSnpObjectsViewData


Method Summary
 DataAccessInfo createDataAccessInfo(OdiInstance pOdiInstance, IInterfaceSubComponent[] pInterfaceSubComponents, IJMSCallBack pJMSCallBack, boolean pCheckValidityOnly, boolean pCountLines)
          Creates a DataAccessInfo to retrieve a request and a connection to the data of the elements that are sent in pInterfaceSubComponents.

 

Method Detail

createDataAccessInfo

DataAccessInfo createDataAccessInfo(OdiInstance pOdiInstance,
                                    IInterfaceSubComponent[] pInterfaceSubComponents,
                                    IJMSCallBack pJMSCallBack,
                                    boolean pCheckValidityOnly,
                                    boolean pCountLines)
                                    throws PhysicalSchemasConflictException,
                                           InexistentMappingException,
                                           OdiConnectionNotFoundException,
                                           java.sql.SQLException,
                                           java.lang.ClassNotFoundException
Creates a DataAccessInfo to retrieve a request and a connection to the data of the elements that are sent in pInterfaceSubComponents. The elements in this array can be any of these elements of the interface:
- SourceDataStore,
- TargetMapping,
- GenericClause (Join or Filter),
- SourceSet.
Note that if you want to retrieve the data from the target datastore, you need to add the DataSet for which you want the mappings. If the interface has only one dataset, it may be ommitted, though.
Parameters:
pOdiInstance - the current OdiInstance on which the interface is located
pInterfaceSubComponents - all the sub components that are to be part of the show data expression
pJMSCallBack - the JMS callback giving JMS information if it is a JMS connection
pCheckValidityOnly - if true then the request will not return any data but only check the validity of the generated SQL code
pCountLines - if true, then the request only counts the data for the selected elements
Returns:
a DataAccessInfo containing all information needed to show the data of the interface ojbects
Throws:
PhysicalSchemasConflictException - if two interface subcomponents are not on the same physical schema
InexistentMappingException - if there is a missing mapping from logical schema to physical schema
OdiConnectionNotFoundException - if the connection to the data could not be resolved because no component points to a physical connection
java.sql.SQLException - if the connection could not be established to the data
java.lang.ClassNotFoundException - if the driver for the data connection is missing

Skip navigation links

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.7.0)

E17060-04


Copyright © 2010, 2013, Oracle and/or its affiliates. All rights reserved.