Class MergeNestedBinaryOperations

java.lang.Object
io.deephaven.server.table.ops.filter.AbstractNormalizeFilters
io.deephaven.server.table.ops.filter.MergeNestedBinaryOperations
All Implemented Interfaces:
FilterVisitor<io.deephaven.proto.backplane.grpc.Condition>

public class MergeNestedBinaryOperations extends AbstractNormalizeFilters
Any AND nested within another AND or OR nested within another OR should be flattened into just a single level. This should be run after NOTs are distributed (so that (A AND B AND !(C OR D)) is first normalized to (A AND B AND (!C AND !D))).
  • Constructor Details

    • MergeNestedBinaryOperations

      public MergeNestedBinaryOperations()
  • Method Details

    • exec

      public static io.deephaven.proto.backplane.grpc.Condition exec(io.deephaven.proto.backplane.grpc.Condition filter)
    • onAnd

      public io.deephaven.proto.backplane.grpc.Condition onAnd(List<io.deephaven.proto.backplane.grpc.Condition> filtersList)
      Specified by:
      onAnd in interface FilterVisitor<io.deephaven.proto.backplane.grpc.Condition>
      Overrides:
      onAnd in class AbstractNormalizeFilters
    • onOr

      public io.deephaven.proto.backplane.grpc.Condition onOr(List<io.deephaven.proto.backplane.grpc.Condition> filtersList)
      Specified by:
      onOr in interface FilterVisitor<io.deephaven.proto.backplane.grpc.Condition>
      Overrides:
      onOr in class AbstractNormalizeFilters