Interface SpiSqlBinding

All Superinterfaces:
CancelableQuery, SpiCancelableQuery
All Known Subinterfaces:
SpiDtoQuery<T>, SpiSqlQuery
All Known Implementing Classes:
DefaultDtoQuery, DefaultRelationalQuery

public interface SpiSqlBinding extends SpiCancelableQuery
SQL query binding (for SqlQuery and DtoQuery).
  • Method Details

    • transaction

      @Nullable SpiTransaction transaction()
      Return the transaction explicitly associated to the query.
    • isUseMaster

      boolean isUseMaster()
      Return true if this query should not use the read only data source.
    • getBindParams

      BindParams getBindParams()
      Return the named or positioned parameters.
    • getQuery

      String getQuery()
      return the query.
    • getLabel

      String getLabel()
      Return the label (to collect metrics on when set).
    • getFirstRow

      int getFirstRow()
      Return the first row to fetch.
    • getMaxRows

      int getMaxRows()
      Return the maximum number of rows to fetch.
    • getTimeout

      int getTimeout()
      Return the query timeout.
    • getBufferFetchSizeHint

      int getBufferFetchSizeHint()
      Return the hint for Statement.setFetchSize().