oracle.xquery
Class PreparedXQuery

java.lang.Object
  |
  +--oracle.xquery.PreparedXQuery

public class PreparedXQuery
extends java.lang.Object

PreparedXQuery - This class provides the context for executing XQueries


Field Summary
 oracle.xquery.exec.QueryState qryState
           
 
Method Summary
 void execute()
          execute - Executes a function definition or a non-query statement
 XQueryResultSet executeQuery(boolean printPlan)
           
 java.lang.String getXQXStr()
          getXQXStr - Returns the XQueryX representation of the query in PreparedXQuery
 void setBoolean(java.lang.String bindname, boolean val)
          setString - bind a boolean to a position
 void setFloat(java.lang.String bindname, float val)
          setFloat - bind a float to a position
 void setInt(java.lang.String bindname, int val)
          setInt - bind a integer to a position
 void setNode(java.lang.String bindname, oracle.xml.parser.v2.XMLNode val)
          setNode - bind a Node to a position
 void setNull(java.lang.String bindname)
          setString - bind a value to NULL
 void setString(java.lang.String bindname, java.lang.String val)
          setObject - bind a string to a position
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

qryState

public oracle.xquery.exec.QueryState qryState
Method Detail

setNode

public void setNode(java.lang.String bindname,
                    oracle.xml.parser.v2.XMLNode val)
setNode - bind a Node to a position
Parameters:
bindpos - - bind name
val - - the bind value itself

setString

public void setString(java.lang.String bindname,
                      java.lang.String val)
setObject - bind a string to a position
Parameters:
bindpos - - bind name
val - - the bind value (string) itself

setFloat

public void setFloat(java.lang.String bindname,
                     float val)
setFloat - bind a float to a position
Parameters:
bindpos - - bind name
val - - the bind value itself

setInt

public void setInt(java.lang.String bindname,
                   int val)
setInt - bind a integer to a position
Parameters:
bindpos - - bind name
val - - the bind value itself

setBoolean

public void setBoolean(java.lang.String bindname,
                       boolean val)
setString - bind a boolean to a position
Parameters:
bindpos - - bind name
val - - the bind value itself

setNull

public void setNull(java.lang.String bindname)
setString - bind a value to NULL
Parameters:
bindpos - - the bind name

execute

public void execute()
             throws XQException
execute - Executes a function definition or a non-query statement

executeQuery

public XQueryResultSet executeQuery(boolean printPlan)
                             throws java.lang.Exception

getXQXStr

public java.lang.String getXQXStr()
                           throws java.lang.Exception
getXQXStr - Returns the XQueryX representation of the query in PreparedXQuery