Class FindAllYqlStatement<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.FindAllYqlStatement<PARAMS,ENTITY,RESULT>
- All Implemented Interfaces:
Statement<PARAMS,RESULT>
public class FindAllYqlStatement<PARAMS,ENTITY extends tech.ydb.yoj.repository.db.Entity<ENTITY>,RESULT>
extends YqlStatement<PARAMS,ENTITY,RESULT>
-
Nested Class Summary
Nested classes/interfaces inherited from class tech.ydb.yoj.repository.ydb.statement.YqlStatement
YqlStatement.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.YqlStatement
itemsCollector, ORDER_BY_ID_ASCENDING, resultSchema, resultSetReader, schema, tableName -
Constructor Summary
ConstructorsConstructorDescriptionFindAllYqlStatement(@NonNull tech.ydb.yoj.repository.db.EntitySchema<ENTITY> schema, @NonNull tech.ydb.yoj.databind.schema.Schema<RESULT> resultSchema) FindAllYqlStatement(@NonNull tech.ydb.yoj.repository.db.EntitySchema<ENTITY> schema, @NonNull tech.ydb.yoj.databind.schema.Schema<RESULT> resultSchema, String tableName) -
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.YqlStatement
count, createTQueryParameter, declarations, delete, deleteAll, equals, escape, find, find, find, find, find, findAll, findAll, findIds, findIds, findIdsIn, findIn, findIn, findIn, findIn, findRange, findRange, getDeclaration, getInSchemaType, getParams, getTableName, getYqlType, getYqlValue, hashCode, insert, isPreparable, mergeParts, nameEqVars, outNames, predicateFrom, readResult, resolveParamNames, save, storeToCache, table, toQueryParameters, toString, updateMethods 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
-
FindAllYqlStatement
-
FindAllYqlStatement
-
-
Method Details
-
getQuery
Description copied from interface:StatementReturns parameterized YQL for this query.- Parameters:
tablespace- base path for all tables referenced in the query- Returns:
- YQL
-
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
-