public class SqlJetPreparedStatement
extends java.lang.Object
Constructor and Description |
---|
SqlJetPreparedStatement(SqlJetDb db,
java.lang.String sql) |
Modifier and Type | Method and Description |
---|---|
void |
clearBindings() |
void |
close() |
byte[] |
getBlobAsArray(int columnIndex) |
java.io.InputStream |
getBlobAsStream(int columnIndex) |
int |
getColumnsCount() |
SqlJetValueType |
getColumnType(int columnIndex) |
double |
getFloat(int columnIndex) |
long |
getInteger(int columnIndex) |
int |
getParametersCount() |
java.lang.String |
getText(int columnIndex) |
boolean |
isNull(int columnIndex) |
void |
reset() |
void |
setBlob(int paramIndex,
byte[] value) |
void |
setBlob(java.lang.String paramName,
byte[] value) |
void |
setFloat(int paramIndex,
double value) |
void |
setFloat(java.lang.String paramName,
double value) |
void |
setInteger(int paramIndex,
long value) |
void |
setInteger(java.lang.String paramName,
long value) |
void |
setNull(int paramIndex) |
void |
setNull(java.lang.String paramName) |
void |
setText(int paramIndex,
java.lang.String value) |
void |
setText(java.lang.String paramName,
java.lang.String value) |
boolean |
step()
Executes the statement or advances to the next row of the query results.
|
public SqlJetPreparedStatement(SqlJetDb db, java.lang.String sql)
public void close() throws SqlJetException
SqlJetException
public int getParametersCount() throws SqlJetException
SqlJetException
public void setInteger(int paramIndex, long value) throws SqlJetException
SqlJetException
public void setFloat(int paramIndex, double value) throws SqlJetException
SqlJetException
public void setText(int paramIndex, java.lang.String value) throws SqlJetException
SqlJetException
public void setBlob(int paramIndex, byte[] value) throws SqlJetException
SqlJetException
public void setNull(int paramIndex) throws SqlJetException
SqlJetException
public void setInteger(java.lang.String paramName, long value) throws SqlJetException
SqlJetException
public void setFloat(java.lang.String paramName, double value) throws SqlJetException
SqlJetException
public void setText(java.lang.String paramName, java.lang.String value) throws SqlJetException
SqlJetException
public void setBlob(java.lang.String paramName, byte[] value) throws SqlJetException
SqlJetException
public void setNull(java.lang.String paramName) throws SqlJetException
SqlJetException
public void clearBindings() throws SqlJetException
SqlJetException
public boolean step() throws SqlJetException
SqlJetException
public int getColumnsCount() throws SqlJetException
SqlJetException
public SqlJetValueType getColumnType(int columnIndex) throws SqlJetException
SqlJetException
public long getInteger(int columnIndex) throws SqlJetException
SqlJetException
public double getFloat(int columnIndex) throws SqlJetException
SqlJetException
public java.lang.String getText(int columnIndex) throws SqlJetException
SqlJetException
public byte[] getBlobAsArray(int columnIndex) throws SqlJetException
SqlJetException
public java.io.InputStream getBlobAsStream(int columnIndex) throws SqlJetException
SqlJetException
public boolean isNull(int columnIndex) throws SqlJetException
SqlJetException
public void reset() throws SqlJetException
SqlJetException
Copyright © 2009-2010 TMate Software Ltd. All Rights Reserved.