Class DeleteAllStatement<PARAMS,ENTITY extends tech.ydb.yoj.repository.db.Entity<ENTITY>>

java.lang.Object
tech.ydb.yoj.repository.ydb.statement.YqlStatement<PARAMS,ENTITY,ENTITY>
tech.ydb.yoj.repository.ydb.statement.DeleteAllStatement<PARAMS,ENTITY>
All Implemented Interfaces:
Statement<PARAMS,ENTITY>

public class DeleteAllStatement<PARAMS,ENTITY extends tech.ydb.yoj.repository.db.Entity<ENTITY>> extends YqlStatement<PARAMS,ENTITY,ENTITY>
  • Constructor Details

    • DeleteAllStatement

      public DeleteAllStatement(tech.ydb.yoj.repository.db.TableDescriptor<ENTITY> tableDescriptor, tech.ydb.yoj.repository.db.EntitySchema<ENTITY> schema)
  • 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