com.isomorphic.criteria

## Interface Operator

- All Known Implementing Classes:
    LogicalOperator, OperatorBase, OtherFieldOperator, RangeOperator, SimpleOperator

      public interface Operator

  Operators handle criteria matching logic.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `condition(java.util.Map record, Criterion criterion, Evaluator evaluator)` Check if passed record matches passed criterion.
    `java.lang.String` | `getID()` Get Operator identifier that used on client side or to store criteria data in maps.

- - ### Method Detail

    - #### getID

          java.lang.String getID()

      Get Operator identifier that used on client side or to store criteria data in maps.
      Returns:
        operator identifier.

    - #### condition

          boolean condition(java.util.Map record,
                            Criterion criterion,
                            Evaluator evaluator)
                     throws java.lang.Exception

      Check if passed record matches passed criterion.
      Parameters:
        `record` - - record to match.
        `criterion` - - criterion to match.
        `evaluator` - - Evaluator object.
      Returns:
        true if passed record matches passed criterion.
      Throws:
        `java.lang.Exception`