public class InMemoryQuery extends Object implements YdbPreparedQuery
| Constructor and Description |
|---|
InMemoryQuery(YdbQuery query,
boolean isAutoDeclare) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBatch() |
int |
batchSize() |
void |
clearBatch() |
void |
clearParameters() |
List<tech.ydb.table.query.Params> |
getBatchParams() |
tech.ydb.table.query.Params |
getCurrentParams() |
TypeDescription |
getDescription(int index) |
String |
getNameByIndex(int index) |
String |
getQueryText(tech.ydb.table.query.Params prms) |
int |
parametersCount() |
void |
setParam(int index,
Object obj,
int sqlType) |
void |
setParam(String name,
Object obj,
int sqlType) |
public InMemoryQuery(YdbQuery query, boolean isAutoDeclare)
public String getQueryText(tech.ydb.table.query.Params prms) throws SQLException
getQueryText in interface YdbPreparedQuerySQLExceptionpublic int parametersCount()
parametersCount in interface YdbPreparedQuerypublic int batchSize()
batchSize in interface YdbPreparedQuerypublic void addBatch()
addBatch in interface YdbPreparedQuerypublic void clearBatch()
clearBatch in interface YdbPreparedQuerypublic void clearParameters()
clearParameters in interface YdbPreparedQuerypublic List<tech.ydb.table.query.Params> getBatchParams()
getBatchParams in interface YdbPreparedQuerypublic tech.ydb.table.query.Params getCurrentParams()
getCurrentParams in interface YdbPreparedQuerypublic String getNameByIndex(int index) throws SQLException
getNameByIndex in interface YdbPreparedQuerySQLExceptionpublic TypeDescription getDescription(int index) throws SQLException
getDescription in interface YdbPreparedQuerySQLExceptionpublic void setParam(int index,
Object obj,
int sqlType)
throws SQLException
setParam in interface YdbPreparedQuerySQLExceptionpublic void setParam(String name, Object obj, int sqlType) throws SQLException
setParam in interface YdbPreparedQuerySQLExceptionCopyright © 2024. All rights reserved.