public interface YdbPreparedStatement extends YdbStatement, PreparedStatement
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO| Modifier and Type | Method and Description |
|---|---|
YdbResultSet |
executeExplainQuery()
Explicitly explain this query
|
YdbResultSet |
executeQuery() |
YdbResultSet |
executeScanQuery()
Explicitly execute this query as a scan query
|
YdbParameterMetaData |
getParameterMetaData() |
String |
getQuery()
Returns query text
|
void |
setArray(String parameterName,
Array x) |
void |
setAsciiStream(String parameterName,
InputStream x) |
void |
setAsciiStream(String parameterName,
InputStream x,
int length) |
void |
setAsciiStream(String parameterName,
InputStream x,
long length) |
void |
setBigDecimal(String parameterName,
BigDecimal x) |
void |
setBinaryStream(String parameterName,
InputStream x) |
void |
setBinaryStream(String parameterName,
InputStream x,
int length) |
void |
setBinaryStream(String parameterName,
InputStream x,
long length) |
void |
setBlob(String parameterName,
Blob x) |
void |
setBlob(String parameterName,
InputStream inputStream) |
void |
setBlob(String parameterName,
InputStream inputStream,
long length) |
void |
setBoolean(String parameterName,
boolean x) |
void |
setByte(String parameterName,
byte x) |
void |
setBytes(String parameterName,
byte[] x) |
void |
setCharacterStream(String parameterName,
Reader reader) |
void |
setCharacterStream(String parameterName,
Reader reader,
int length) |
void |
setCharacterStream(String parameterName,
Reader reader,
long length) |
void |
setClob(String parameterName,
Clob x) |
void |
setClob(String parameterName,
Reader reader) |
void |
setClob(String parameterName,
Reader reader,
long length) |
void |
setDate(String parameterName,
Date x) |
void |
setDate(String parameterName,
Date x,
Calendar cal) |
void |
setDouble(String parameterName,
double x) |
void |
setFloat(String parameterName,
float x) |
void |
setInt(String parameterName,
int x) |
void |
setLong(String parameterName,
long x) |
void |
setNCharacterStream(String parameterName,
Reader value) |
void |
setNCharacterStream(String parameterName,
Reader value,
long length) |
void |
setNClob(String parameterName,
NClob value) |
void |
setNClob(String parameterName,
Reader reader) |
void |
setNClob(String parameterName,
Reader reader,
long length) |
void |
setNString(String parameterName,
String value) |
void |
setNull(String parameterName,
int sqlType) |
void |
setNull(String parameterName,
int sqlType,
String typeName) |
void |
setObject(int parameterIndex,
Object value,
tech.ydb.table.values.Type type) |
void |
setObject(String parameterName,
Object x) |
void |
setObject(String parameterName,
Object x,
int targetSqlType) |
void |
setObject(String parameterName,
Object x,
int targetSqlType,
int scaleOrLength) |
void |
setObject(String parameterName,
Object value,
tech.ydb.table.values.Type type) |
void |
setRef(String parameterName,
Ref x) |
void |
setShort(String parameterName,
short x) |
void |
setSQLXML(String parameterName,
SQLXML xmlObject) |
void |
setString(String parameterName,
String x) |
void |
setTime(String parameterName,
Time x) |
void |
setTime(String parameterName,
Time x,
Calendar cal) |
void |
setTimestamp(String parameterName,
Timestamp x) |
void |
setTimestamp(String parameterName,
Timestamp x,
Calendar cal) |
void |
setUnicodeStream(String parameterName,
InputStream x,
int length) |
void |
setURL(String parameterName,
URL x) |
executeExplainQuery, executeQuery, executeScanQuery, executeSchemeQuery, getConnection, getResultSet, getResultSetAtaddBatch, clearParameters, execute, executeLargeUpdate, executeUpdate, getMetaData, setArray, setAsciiStream, setAsciiStream, setAsciiStream, setBigDecimal, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setNull, setNull, setObject, setObject, setObject, setObject, setObject, setRef, setRowId, setShort, setSQLXML, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURLaddBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, execute, execute, execute, execute, executeBatch, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getFetchDirection, getFetchSize, getGeneratedKeys, getLargeMaxRows, getLargeUpdateCount, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeoutisWrapperFor, unwrapString getQuery()
YdbResultSet executeScanQuery() throws SQLException
SQLException - if query cannot be executedYdbResultSet executeExplainQuery() throws SQLException
YdbStatement.executeExplainQuery(String)SQLException - if query cannot be explainedYdbResultSet executeQuery() throws SQLException
executeQuery in interface PreparedStatementSQLExceptionYdbParameterMetaData getParameterMetaData() throws SQLException
getParameterMetaData in interface PreparedStatementSQLExceptionvoid setObject(String parameterName, Object value, tech.ydb.table.values.Type type) throws SQLException
SQLExceptionvoid setObject(int parameterIndex,
Object value,
tech.ydb.table.values.Type type)
throws SQLException
SQLExceptionvoid setObject(String parameterName, Object x) throws SQLException
SQLExceptionvoid setNull(String parameterName, int sqlType) throws SQLException
SQLExceptionvoid setBoolean(String parameterName, boolean x) throws SQLException
SQLExceptionvoid setByte(String parameterName, byte x) throws SQLException
SQLExceptionvoid setShort(String parameterName, short x) throws SQLException
SQLExceptionvoid setInt(String parameterName, int x) throws SQLException
SQLExceptionvoid setLong(String parameterName, long x) throws SQLException
SQLExceptionvoid setFloat(String parameterName, float x) throws SQLException
SQLExceptionvoid setDouble(String parameterName, double x) throws SQLException
SQLExceptionvoid setBigDecimal(String parameterName, BigDecimal x) throws SQLException
SQLExceptionvoid setString(String parameterName, String x) throws SQLException
SQLExceptionvoid setBytes(String parameterName, byte[] x) throws SQLException
SQLExceptionvoid setDate(String parameterName, Date x) throws SQLException
SQLExceptionvoid setTime(String parameterName, Time x) throws SQLException
SQLExceptionvoid setTimestamp(String parameterName, Timestamp x) throws SQLException
SQLExceptionvoid setAsciiStream(String parameterName, InputStream x, int length) throws SQLException
SQLExceptionvoid setUnicodeStream(String parameterName, InputStream x, int length) throws SQLException
SQLExceptionvoid setBinaryStream(String parameterName, InputStream x, int length) throws SQLException
SQLExceptionvoid setObject(String parameterName, Object x, int targetSqlType) throws SQLException
SQLExceptionvoid setCharacterStream(String parameterName, Reader reader, int length) throws SQLException
SQLExceptionvoid setRef(String parameterName, Ref x) throws SQLException
SQLExceptionvoid setBlob(String parameterName, Blob x) throws SQLException
SQLExceptionvoid setClob(String parameterName, Clob x) throws SQLException
SQLExceptionvoid setArray(String parameterName, Array x) throws SQLException
SQLExceptionvoid setDate(String parameterName, Date x, Calendar cal) throws SQLException
SQLExceptionvoid setTime(String parameterName, Time x, Calendar cal) throws SQLException
SQLExceptionvoid setTimestamp(String parameterName, Timestamp x, Calendar cal) throws SQLException
SQLExceptionvoid setNull(String parameterName, int sqlType, String typeName) throws SQLException
SQLExceptionvoid setURL(String parameterName, URL x) throws SQLException
SQLExceptionvoid setNString(String parameterName, String value) throws SQLException
SQLExceptionvoid setNCharacterStream(String parameterName, Reader value, long length) throws SQLException
SQLExceptionvoid setNClob(String parameterName, NClob value) throws SQLException
SQLExceptionvoid setClob(String parameterName, Reader reader, long length) throws SQLException
SQLExceptionvoid setBlob(String parameterName, InputStream inputStream, long length) throws SQLException
SQLExceptionvoid setNClob(String parameterName, Reader reader, long length) throws SQLException
SQLExceptionvoid setSQLXML(String parameterName, SQLXML xmlObject) throws SQLException
SQLExceptionvoid setObject(String parameterName, Object x, int targetSqlType, int scaleOrLength) throws SQLException
SQLExceptionvoid setAsciiStream(String parameterName, InputStream x, long length) throws SQLException
SQLExceptionvoid setBinaryStream(String parameterName, InputStream x, long length) throws SQLException
SQLExceptionvoid setCharacterStream(String parameterName, Reader reader, long length) throws SQLException
SQLExceptionvoid setAsciiStream(String parameterName, InputStream x) throws SQLException
SQLExceptionvoid setBinaryStream(String parameterName, InputStream x) throws SQLException
SQLExceptionvoid setCharacterStream(String parameterName, Reader reader) throws SQLException
SQLExceptionvoid setNCharacterStream(String parameterName, Reader value) throws SQLException
SQLExceptionvoid setClob(String parameterName, Reader reader) throws SQLException
SQLExceptionvoid setBlob(String parameterName, InputStream inputStream) throws SQLException
SQLExceptionvoid setNClob(String parameterName, Reader reader) throws SQLException
SQLExceptionCopyright © 2024. All rights reserved.