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>
  • Constructor Details

    • FindAllYqlStatement

      public FindAllYqlStatement(@NonNull @NonNull tech.ydb.yoj.repository.db.EntitySchema<ENTITY> schema, @NonNull @NonNull Schema<RESULT> resultSchema)
    • FindAllYqlStatement

      public FindAllYqlStatement(@NonNull @NonNull tech.ydb.yoj.repository.db.EntitySchema<ENTITY> schema, @NonNull @NonNull Schema<RESULT> resultSchema, String tableName)
  • Method Details

    • getQuery

      public String getQuery(String tablespace)
      Description copied from interface: Statement
      Returns parameterized YQL for this query.
      Parameters:
      tablespace - base path for all tables referenced in the query
      Returns:
      YQL
    • getQueryType

      public Statement.QueryType getQueryType()
      Description copied from interface: Statement
      Returns query type (for query merging purposes).
      Returns:
      query type
    • toDebugString

      public String toDebugString(PARAMS params)
      Description copied from interface: Statement
      Returns debug representation of this query with the specified parameter values.
      Parameters:
      params - parameter values. Might be null depending on the statement type, e.g. for DELETE statements.
      Returns:
      debug representation of the query parameterized with params