code: @Override
    public FilterSupportStatus isFilterSupported(
        FilterAdapterContext context, ValueFilter filter) {
      if (filter.getComparator() instanceof BinaryComparator
          || (filter.getComparator() instanceof RegexStringComparator
          &&  filter.getOperator() == CompareOp.EQUAL)) {
        return FilterSupportStatus.SUPPORTED;
      }
      return FilterSupportStatus.newNotSupported(
          String.format(
              "ValueFilter must have either a BinaryComparator with any compareOp "
                  + "or a RegexStringComparator with an EQUAL compareOp. Found (%s, %s)",
              filter.getComparator().getClass().getSimpleName(),
              filter.getOperator()));
    }
docs: {@inheritDoc}