org.axiondb.jdbc

Class AxionPreparedStatement.Parameters

protected class AxionPreparedStatement.Parameters extends Object

Constructor Summary
Parameters(int size)
Method Summary
voidassertBindVariablesSet()
voidclearBindings()
Objectget(int i)
Get the value of parameter i.
Object[]getValues()
voidset(int i, Object val)
Set the value of parameter i to val.
intsize()
Return the number of parameters I contain.

Constructor Detail

Parameters

public Parameters(int size)

Method Detail

assertBindVariablesSet

public void assertBindVariablesSet()

clearBindings

public final void clearBindings()

get

public Object get(int i)
Get the value of parameter i. Note that the index is zero-based.

getValues

public Object[] getValues()

set

public void set(int i, Object val)
Set the value of parameter i to val. Note that the index is zero-based.

size

public int size()
Return the number of parameters I contain.