org.axiondb.jdbc
Class AxionPreparedStatement.Parameters
java.lang.Object
org.axiondb.jdbc.AxionPreparedStatement.Parameters
- Enclosing class:
- AxionPreparedStatement
protected class AxionPreparedStatement.Parameters
- extends java.lang.Object
Method Summary |
void |
assertBindVariablesSet()
|
void |
clearBindings()
|
java.lang.Object |
get(int i)
Get the value of parameter i. |
java.lang.Object[] |
getValues()
|
void |
set(int i,
java.lang.Object val)
Set the value of parameter i to
val. |
int |
size()
Return the number of parameters I contain. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AxionPreparedStatement.Parameters
public AxionPreparedStatement.Parameters(int size)
get
public java.lang.Object get(int i)
- Get the value of parameter i.
Note that the index is zero-based.
set
public void set(int i,
java.lang.Object val)
throws java.sql.SQLException
- Set the value of parameter i to
val.
Note that the index is zero-based.
- Throws:
java.sql.SQLException
assertBindVariablesSet
public void assertBindVariablesSet()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
clearBindings
public final void clearBindings()
size
public int size()
- Return the number of parameters I contain.
getValues
public java.lang.Object[] getValues()