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)  
      java.lang.String name()  
      org.apache.spark.sql.types.DataType resultType()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, 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()
        Specified by:
        name in interface org.apache.spark.sql.connector.catalog.functions.Function
      • resultType

        public org.apache.spark.sql.types.DataType resultType()
        Specified by:
        resultType in interface org.apache.spark.sql.connector.catalog.functions.BoundFunction