Class AbstractQuerySpecification<T>

java.lang.Object
com.helixframework.db.repository.AbstractQuerySpecification<T>
Type Parameters:
T - the type of the result produced by the query specification
All Implemented Interfaces:
QuerySpecification<T>

public abstract class AbstractQuerySpecification<T> extends Object implements QuerySpecification<T>
An abstract base class implementing the QuerySpecification interface, providing base functionality for query specifications.
  • Field Details

    • txId

      protected String txId
  • Constructor Details

    • AbstractQuerySpecification

      public AbstractQuerySpecification()
  • Method Details

    • getTxId

      public String getTxId()
      Description copied from interface: QuerySpecification
      Retrieves the transaction ID associated with this query specification.
      Specified by:
      getTxId in interface QuerySpecification<T>
      Returns:
      the transaction ID
    • setTxId

      public void setTxId(String txId)
      Sets the transaction ID for the query specification.
      Parameters:
      txId - the transaction ID to be set