Class BucketFunction.BucketBase

    • Field Summary

      • Fields inherited from interface org.apache.spark.sql.connector.catalog.functions.ScalarFunction

        MAGIC_METHOD_NAME
    • Constructor Summary

      Constructors 
      Constructor Description
      BucketBase()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static int apply​(int numBuckets, int hashedValue)  
      boolean equals​(java.lang.Object other)  
      int hashCode()  
      java.lang.String name()  
      org.apache.spark.sql.types.DataType resultType()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apache.spark.sql.connector.catalog.functions.BoundFunction

        canonicalName, inputTypes, isDeterministic, isResultNullable
      • Methods inherited from interface org.apache.spark.sql.connector.catalog.functions.ScalarFunction

        produceResult
    • Constructor Detail

      • BucketBase

        public BucketBase()
    • Method Detail

      • apply

        public static int apply​(int numBuckets,
                                int hashedValue)
      • name

        public java.lang.String name()
      • resultType

        public org.apache.spark.sql.types.DataType resultType()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object