Class ArrayOverlaps<T>

java.lang.Object
org.umlg.sqlg.predicate.ArrayOverlaps<T>
All Implemented Interfaces:
BiPredicate<T[],T[]>, org.apache.tinkerpop.gremlin.process.traversal.PBiPredicate<T[],T[]>

public class ArrayOverlaps<T> extends Object implements org.apache.tinkerpop.gremlin.process.traversal.PBiPredicate<T[],T[]>
Postgres specific array data type operator to check if two arrays overlap. https://www.postgresql.org/docs/9.6/functions-array.html
  • Constructor Details

    • ArrayOverlaps

      public ArrayOverlaps(T[] values)
  • Method Details

    • getPredicate

      public org.apache.tinkerpop.gremlin.process.traversal.P<T[]> getPredicate()
    • getValues

      public T[] getValues()
    • test

      public boolean test(T[] lhs, T[] rhs)
      Specified by:
      test in interface BiPredicate<T[],T[]>