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
SqlJetExceptionpublic int getParametersCount()
throws SqlJetException
SqlJetExceptionpublic void setInteger(int paramIndex,
long value)
throws SqlJetException
SqlJetExceptionpublic void setFloat(int paramIndex,
double value)
throws SqlJetException
SqlJetExceptionpublic void setText(int paramIndex,
java.lang.String value)
throws SqlJetException
SqlJetExceptionpublic void setBlob(int paramIndex,
byte[] value)
throws SqlJetException
SqlJetExceptionpublic void setNull(int paramIndex)
throws SqlJetException
SqlJetExceptionpublic void setInteger(java.lang.String paramName,
long value)
throws SqlJetException
SqlJetExceptionpublic void setFloat(java.lang.String paramName,
double value)
throws SqlJetException
SqlJetExceptionpublic void setText(java.lang.String paramName,
java.lang.String value)
throws SqlJetException
SqlJetExceptionpublic void setBlob(java.lang.String paramName,
byte[] value)
throws SqlJetException
SqlJetExceptionpublic void setNull(java.lang.String paramName)
throws SqlJetException
SqlJetExceptionpublic void clearBindings()
throws SqlJetException
SqlJetExceptionpublic boolean step()
throws SqlJetException
SqlJetExceptionpublic int getColumnsCount()
throws SqlJetException
SqlJetExceptionpublic SqlJetValueType getColumnType(int columnIndex) throws SqlJetException
SqlJetExceptionpublic long getInteger(int columnIndex)
throws SqlJetException
SqlJetExceptionpublic double getFloat(int columnIndex)
throws SqlJetException
SqlJetExceptionpublic java.lang.String getText(int columnIndex)
throws SqlJetException
SqlJetExceptionpublic byte[] getBlobAsArray(int columnIndex)
throws SqlJetException
SqlJetExceptionpublic java.io.InputStream getBlobAsStream(int columnIndex)
throws SqlJetException
SqlJetExceptionpublic boolean isNull(int columnIndex)
throws SqlJetException
SqlJetExceptionpublic void reset()
throws SqlJetException
SqlJetExceptionCopyright © 2009-2010 TMate Software Ltd. All Rights Reserved.