MCPcopy Create free account
hub / github.com/apache/calcite / of

Method of

core/src/main/java/org/apache/calcite/util/Sarg.java:123–128  ·  view source on GitHub ↗
(boolean containsNull,
      RangeSet<C> rangeSet)

Source from the content-addressed store, hash-verified

121 }
122
123 @Deprecated // to be removed before 2.0
124 public static <C extends Comparable<C>> Sarg<C> of(boolean containsNull,
125 RangeSet<C> rangeSet) {
126 return of(containsNull ? RexUnknownAs.TRUE : RexUnknownAs.UNKNOWN,
127 rangeSet);
128 }
129
130 /** Creates a search argument. */
131 public static <C extends Comparable<C>> Sarg<C> of(RexUnknownAs nullAs,

Calls 4

rangeSetAllMethod · 0.95
equalsMethod · 0.65
copyOfMethod · 0.65
isEmptyMethod · 0.45