Class InsertYqlStatement<PARAMS,ENTITY extends tech.ydb.yoj.repository.db.Entity<ENTITY>>
java.lang.Object
tech.ydb.yoj.repository.ydb.statement.YqlStatement<PARAMS,ENTITY,RESULT>
tech.ydb.yoj.repository.ydb.statement.MultipleVarsYqlStatement<PARAMS,ENTITY,ENTITY>
tech.ydb.yoj.repository.ydb.statement.MultipleVarsYqlStatement.Simple<PARAMS,ENTITY>
tech.ydb.yoj.repository.ydb.statement.InsertYqlStatement<PARAMS,ENTITY>
- All Implemented Interfaces:
Statement<PARAMS,ENTITY>
public class InsertYqlStatement<PARAMS,ENTITY extends tech.ydb.yoj.repository.db.Entity<ENTITY>>
extends MultipleVarsYqlStatement.Simple<PARAMS,ENTITY>
-
Nested Class Summary
Nested classes/interfaces inherited from class tech.ydb.yoj.repository.ydb.statement.MultipleVarsYqlStatement
MultipleVarsYqlStatement.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
Fields inherited from class tech.ydb.yoj.repository.ydb.statement.MultipleVarsYqlStatement
listNameFields inherited from class tech.ydb.yoj.repository.ydb.statement.YqlStatement
itemsCollector, ORDER_BY_ID_ASCENDING, resultSchema, resultSetReader, schema, tableDescriptor -
Constructor Summary
ConstructorsConstructorDescriptionInsertYqlStatement(tech.ydb.yoj.repository.db.TableDescriptor<ENTITY> tableDescriptor, tech.ydb.yoj.repository.db.EntitySchema<ENTITY> schema) -
Method Summary
Modifier and TypeMethodDescriptionReturns parameterized YQL for this query.Returns query type (for query merging purposes).toDebugString(PARAMS params) Returns debug representation of this query with the specified parameter values.Methods inherited from class tech.ydb.yoj.repository.ydb.statement.MultipleVarsYqlStatement
declarations, getParams, toDebugParams, toQueryParametersMethods 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
readFromCache
-
Constructor Details
-
InsertYqlStatement
-
-
Method Details
-
getQueryType
Description copied from interface:StatementReturns query type (for query merging purposes).- Returns:
- query type
-
toDebugString
Description copied from interface:StatementReturns debug representation of this query with the specified parameter values.- Parameters:
params- parameter values. Might benulldepending on the statement type, e.g. for DELETE statements.- Returns:
- debug representation of the query parameterized with
params
-
getQuery
Description copied from interface:StatementReturns parameterized YQL for this query.- Parameters:
tablespace- base path for all tables referenced in the query- Returns:
- YQL
-
flattenInputVariables
- Specified by:
flattenInputVariablesin classMultipleVarsYqlStatement<PARAMS,ENTITY extends tech.ydb.yoj.repository.db.Entity<ENTITY>, ENTITY extends tech.ydb.yoj.repository.db.Entity<ENTITY>>
-