Package wt.query

Interface WhereExpression

All Superinterfaces:
Cloneable
All Known Implementing Classes:
CompositeWhereExpression, ExistsExpression, NegatedExpression, SearchCondition

public interface WhereExpression extends Cloneable
This interface represents an expression that can be used in a SQL WHERE clause.

Supported API: true

Extendable: false
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Label for the attribute; Indicies for all current expressions relative to a FromClause that will be used for validating and setting aliases when this compostie expression is appended to a statement.
  • Method Summary

    Modifier and Type
    Method
    Description
    int[]
    Gets the value of the attribute: FROM_INDICIES.
    int
    setFromIndicies(int[] a_fromIndicies, int a_offset)
    This method sets the From clause indicies for components of the expression.
  • Field Details

    • FROM_INDICIES

      static final String FROM_INDICIES
      Label for the attribute; Indicies for all current expressions relative to a FromClause that will be used for validating and setting aliases when this compostie expression is appended to a statement.

      Supported API: true
      See Also:
  • Method Details

    • getFromIndicies

      int[] getFromIndicies()
      Gets the value of the attribute: FROM_INDICIES. Indicies for all current expressions relative to a FromClause that will be used for validating and setting aliases when this compostie expression is appended to a statement.

      Supported API: true
      Returns:
      int[]
    • setFromIndicies

      int setFromIndicies(int[] a_fromIndicies, int a_offset)
      This method sets the From clause indicies for components of the expression.

      Supported API: true
      Parameters:
      a_fromIndicies - From indicies to set.
      a_offset - Offset index into the From indicies array for the next valid From index
      Returns:
      number of indicies used