Class PredefinedFunction

    • Constructor Detail

      • PredefinedFunction

        protected PredefinedFunction​(java.lang.String label,
                                     java.lang.Integer level,
                                     GroupingExpression exp,
                                     java.util.List<? extends BucketValue> args)
    • Method Detail

      • getNumBuckets

        public int getNumBuckets()
        Returns the number of buckets to divide the result into.
        Returns:
        The bucket count.
      • getBucket

        public BucketValue getBucket​(int i)
        Returns the bucket at the given index.
        Parameters:
        i - The index of the bucket to return.
        Returns:
        The bucket at the given index.
        Throws:
        java.lang.IndexOutOfBoundsException - If the index is out of range.