Class MultipleVarsYqlStatement<PARAMS,ENTITY extends tech.ydb.yoj.repository.db.Entity<ENTITY>,RESULT>
java.lang.Object
tech.ydb.yoj.repository.ydb.statement.YqlStatement<PARAMS,ENTITY,RESULT>
tech.ydb.yoj.repository.ydb.statement.MultipleVarsYqlStatement<PARAMS,ENTITY,RESULT>
- All Implemented Interfaces:
Statement<PARAMS,RESULT>
- Direct Known Subclasses:
FindInStatement,MultipleVarsYqlStatement.Simple
public abstract class MultipleVarsYqlStatement<PARAMS,ENTITY extends tech.ydb.yoj.repository.db.Entity<ENTITY>,RESULT>
extends YqlStatement<PARAMS,ENTITY,RESULT>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classMultipleVarsYqlStatement.Simple<PARAMS,ENTITY extends tech.ydb.yoj.repository.db.Entity<ENTITY>> Nested classes/interfaces inherited from interface tech.ydb.yoj.repository.ydb.statement.Statement
Statement.QueryType -
Field Summary
FieldsFields inherited from class tech.ydb.yoj.repository.ydb.statement.YqlStatement
itemsCollector, ORDER_BY_ID_ASCENDING, resultSchema, resultSetReader, schema, tableDescriptor -
Constructor Summary
ConstructorsConstructorDescriptionMultipleVarsYqlStatement(tech.ydb.yoj.repository.db.EntitySchema<ENTITY> schema, Schema<RESULT> resultSchema) Deprecated, for removal: This API element is subject to removal in a future version.MultipleVarsYqlStatement(tech.ydb.yoj.repository.db.TableDescriptor<ENTITY> tableDescriptor, tech.ydb.yoj.repository.db.EntitySchema<ENTITY> schema, Schema<RESULT> resultSchema) -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringprotected StringtoDebugParams(PARAMS params) toQueryParameters(PARAMS params) Returns the query's parameter values as YDB protobuf structures.Methods inherited from class tech.ydb.yoj.repository.ydb.statement.YqlStatement
createTQueryParameter, equals, escape, getDeclaration, getInSchemaType, getYqlType, getYqlValue, hashCode, isPreparable, mergeParts, mergeParts, nameEqVars, outNames, readResult, resolveParamNames, storeToCache, table, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface tech.ydb.yoj.repository.ydb.statement.Statement
getQuery, getQueryType, readFromCache, toDebugString
-
Field Details
-
listName
- See Also:
-
-
Constructor Details
-
MultipleVarsYqlStatement
@Deprecated(forRemoval=true) public MultipleVarsYqlStatement(tech.ydb.yoj.repository.db.EntitySchema<ENTITY> schema, Schema<RESULT> resultSchema) Deprecated, for removal: This API element is subject to removal in a future version.Use constructor withTableDescriptorfor selecting correct entity table -
MultipleVarsYqlStatement
-
-
Method Details
-
declarations
- Overrides:
declarationsin classYqlStatement<PARAMS,ENTITY extends tech.ydb.yoj.repository.db.Entity<ENTITY>, RESULT>
-
getParams
-
toQueryParameters
Description copied from interface:StatementReturns the query's parameter values as YDB protobuf structures.- Specified by:
toQueryParametersin interfaceStatement<PARAMS,ENTITY extends tech.ydb.yoj.repository.db.Entity<ENTITY>> - Overrides:
toQueryParametersin classYqlStatement<PARAMS,ENTITY extends tech.ydb.yoj.repository.db.Entity<ENTITY>, RESULT> - Parameters:
params- parameter values Might benulldepending on the statement type, e.g. for DELETE statements.- Returns:
- map: parameter name -> value as protobuf
-
flattenInputVariables
-
toDebugParams
-
TableDescriptorfor selecting correct entity table