|
Oracle Fusion Middleware Java API Reference for Oracle Event Processing for Oracle Java Embedded 11g Release 1 (11.1.1.7) E39906-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Connection to an external data-source. A connection supports a fixed set of capabilities, such as the equals function, the less-than function, the AND comparative function, etc. By default, a connection supports the equals function for all native CQL types (e.g. char, int). To specify a different set of capabilities, an ExternalConnection must implement the interface CapabilityProvider.
ExternalDataSource, CapabilityProvider| Method Summary | |
void |
close()Releases all the resources acquired by Connection without any wait. |
ExternalPreparedStatement |
prepareStatement(java.lang.String relationName, java.util.List relationAttrs, ExternalPredicate predicate)Creates a ExternalPreparedStatement object for sending statements to external data-sources. |
boolean |
supportsPredicate(ExternalPredicate predicate)Return true if the connection supports the predicate. |
| Method Detail |
public ExternalPreparedStatement prepareStatement(java.lang.String relationName,
java.util.List relationAttrs,
ExternalPredicate predicate)
throws java.lang.Exception
predicate.relationName - name of the relation (table)relationAttrs - attributes (columns) of the relation (table)pred - predicate clause, or null if statement should return all tuples.
public boolean supportsPredicate(ExternalPredicate predicate)
throws java.lang.Exception
predicate. The infrastructure invokes this method prior to executing a prepared statement.predicate -
public void close()
throws java.lang.Exception
|
Copyright © 2007, 2013 Oracle and/or its affiliates. All rights reserved. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||