Class SQLOpenHashSet<T>

Object
org.apache.spark.sql.util.SQLOpenHashSet<T>

public class SQLOpenHashSet<T> extends Object
  • Constructor Details

    • SQLOpenHashSet

      public SQLOpenHashSet(int initialCapacity, double loadFactor, scala.reflect.ClassTag<T> evidence$1)
    • SQLOpenHashSet

      public SQLOpenHashSet(int initialCapacity, scala.reflect.ClassTag<T> evidence$2)
    • SQLOpenHashSet

      public SQLOpenHashSet(scala.reflect.ClassTag<T> evidence$3)
  • Method Details

    • withNullCheckFunc

      public static scala.Function2<org.apache.spark.sql.catalyst.util.ArrayData,Object,scala.runtime.BoxedUnit> withNullCheckFunc(DataType dataType, SQLOpenHashSet<Object> hashSet, scala.Function1<Object,scala.runtime.BoxedUnit> handleNotNull, scala.Function0<scala.runtime.BoxedUnit> handleNull)
    • withNullCheckCode

      public static String withNullCheckCode(boolean array1ElementNullable, boolean array2ElementNullable, String array, String index, String hashSet, scala.Function2<String,String,String> handleNotNull, String handleNull)
    • withNaNCheckFunc

      public static scala.Function1<Object,scala.runtime.BoxedUnit> withNaNCheckFunc(DataType dataType, SQLOpenHashSet<Object> hashSet, scala.Function1<Object,scala.runtime.BoxedUnit> handleNotNaN, scala.Function1<Object,scala.runtime.BoxedUnit> handleNaN)
    • withNaNCheckCode

      public static String withNaNCheckCode(DataType dataType, String valueName, String hashSet, String handleNotNaN, scala.Function1<String,String> handleNaN)
    • addNull

      public void addNull()
    • addNaN

      public void addNaN()
    • add

      public void add(T k)
    • contains

      public boolean contains(T k)
    • containsNull

      public boolean containsNull()
    • containsNaN

      public boolean containsNaN()