BEA Systems, Inc.


com.bea.ldi.server.common
Class DefaultDataAccessPointInfo

java.lang.Object
  |
  +--com.bea.ldi.server.common.DefaultDataAccessPointInfo

public class DefaultDataAccessPointInfo
extends java.lang.Object
implements DataAccessPointInfo

See Also:
DataAccessPointInfo, Serialized Form

Constructor Summary
DefaultDataAccessPointInfo(java.lang.String name, java.lang.String statement, long time, long invocations)
           
 
Method Summary
 long getDataRetrievalTime()
          The amount of time (in ms) spent in retrieving the data.
 long getInvocationCount()
          The number of times the statement, call or parser was invoked.
 java.lang.String getName()
           
 java.lang.String getStatement()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDataAccessPointInfo

public DefaultDataAccessPointInfo(java.lang.String name,
                                  java.lang.String statement,
                                  long time,
                                  long invocations)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface DataAccessPointInfo

Returns:
the name of the data access point. It consists of two parts:
  1. a server-wide identifier, consisting of the logical name of the corresponding configuration entry.
  2. an intra-query identifier, consisting of a numeric tag used to distinguish between multiple instances of data access points of the same kind.

getStatement

public java.lang.String getStatement()
Specified by:
getStatement in interface DataAccessPointInfo

Returns:
The statement or call issued to the underlying data provider. Depending on the type of the data provider the method returns the following:
  • Relational sources: the SQL statement submitted to the RDBMS
  • Functional (call-based) sources: the name of the function call being invoked
  • File-based (XML, CSV) sources: "parser", denoting that the underlying content is extracted through the use of a parser.

getDataRetrievalTime

public long getDataRetrievalTime()
The amount of time (in ms) spent in retrieving the data.
Specified by:
getDataRetrievalTime in interface DataAccessPointInfo


getInvocationCount

public long getInvocationCount()
The number of times the statement, call or parser was invoked.
Specified by:
getInvocationCount in interface DataAccessPointInfo


BEA Systems, Inc.

Documentation is available at
http://download.oracle.com/docs/cd/E13190_01/liquiddata/docs81