Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Event Processing for Oracle Java Embedded
11g Release 1 (11.1.1.7)

E39906-01
FRAMES    NO FRAMES
DETAIL:  FIELD | CONSTR | METHOD


com.oracle.cep.cartridge
Interface ExternalPreparedStatement


public interface ExternalPreparedStatement

External Prepared Statement.


Method Summary
 void close()
          Release this object's resources immediately without wait.
 java.util.Iterator executeQuery()
          Executes the statement and returns an iterator over result set.
 void setBigDecimal(int paramIndex, java.math.BigDecimal x)
          Sets the designated parameter to the given Java BigDecimal value.
 void setBoolean(int paramIndex, boolean x)
          Sets the designated parameter to the given Java boolean value.
 void setBytes(int paramIndex, byte[] x)
          Sets the designated parameter to the given Java array of bytes.
 void setDouble(int paramIndex, double x)
          Sets the designated parameter to the given Java double value.
 void setFloat(int paramIndex, float x)
          Sets the designated parameter to the given Java float value.
 void setInt(int paramIndex, int x)
          Sets the designated parameter to the given Java int value.
 void setLong(int paramIndex, long x)
          Sets the designated parameter to the given Java long value.
 void setNull(int paramIndex, int SQLType)
          Sets the designated parameter to Null.
 void setString(int paramIndex, java.lang.String x)
          Sets the designated parameter to the given Java String value.
 void setTimestamp(int paramIndex, java.sql.Timestamp x)
          Sets the designated parameter to the given java.sql.Timestamp value.

 

Method Detail

executeQuery

public java.util.Iterator executeQuery()
                                throws java.lang.Exception
Executes the statement and returns an iterator over result set.
Result set must be of objects as defined by the data-source's event-type. Typically, the implementor goes through the event-type repository to create the result set objects.
Returns:
an Iterator over a collection of objects
See Also:
ExternalSource.getEventType(), EventTypeRepository

setBytes

public void setBytes(int paramIndex,
                     byte[] x)
              throws java.lang.Exception
Sets the designated parameter to the given Java array of bytes.
Parameters:
paramIndex - the first parameter is 1, the second is 2, ...
x - the parameter value

setDouble

public void setDouble(int paramIndex,
                      double x)
               throws java.lang.Exception
Sets the designated parameter to the given Java double value.
Parameters:
paramIndex - the first parameter is 1, the second is 2, ...
x - the parameter value

setBigDecimal

public void setBigDecimal(int paramIndex,
                          java.math.BigDecimal x)
                   throws java.lang.Exception
Sets the designated parameter to the given Java BigDecimal value.
Parameters:
paramIndex - the first parameter is 1, the second is 2, ...
x - the parameter value

setFloat

public void setFloat(int paramIndex,
                     float x)
              throws java.lang.Exception
Sets the designated parameter to the given Java float value.
Parameters:
paramIndex - the first parameter is 1, the second is 2, ...
x - the parameter value

setInt

public void setInt(int paramIndex,
                   int x)
            throws java.lang.Exception
Sets the designated parameter to the given Java int value.
Parameters:
paramIndex - the first parameter is 1, the second is 2, ...
x - the parameter value

setLong

public void setLong(int paramIndex,
                    long x)
             throws java.lang.Exception
Sets the designated parameter to the given Java long value.
Parameters:
paramIndex - the first parameter is 1, the second is 2, ...
x - the parameter value

setBoolean

public void setBoolean(int paramIndex,
                       boolean x)
                throws java.lang.Exception
Sets the designated parameter to the given Java boolean value.
Parameters:
paramIndex - the first parameter is 1, the second is 2, ...
x - the parameter value

setString

public void setString(int paramIndex,
                      java.lang.String x)
               throws java.lang.Exception
Sets the designated parameter to the given Java String value.
Parameters:
paramIndex - the first parameter is 1, the second is 2, ...
x - the parameter value

setTimestamp

public void setTimestamp(int paramIndex,
                         java.sql.Timestamp x)
                  throws java.lang.Exception
Sets the designated parameter to the given java.sql.Timestamp value.
Parameters:
paramIndex - the first parameter is 1, the second is 2, ...
x - the parameter value

setNull

public void setNull(int paramIndex,
                    int SQLType)
             throws java.lang.Exception
Sets the designated parameter to Null.
Parameters:
paramIndex - the first parameter is 1, the second is 2, ...
SQLType - the parameter value

close

public void close()
           throws java.lang.Exception
Release this object's resources immediately without wait.

Overview  Package   Class   Use  Tree  Deprecated  Index  Help 
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