public class FixedWidthFunction extends FunctionNode
GroupingExpression
. It maps the input into the given
number of buckets by the result of the argument expression.Constructor and Description |
---|
FixedWidthFunction(GroupingExpression exp,
Number width)
Constructs a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
Number |
getWidth()
Returns the number of buckets to divide the result into.
|
asList, asList, asList, getArg, getNumArgs, iterator, resolveLevel, visit
asImage, asString, getLevel, setLabel
getLabel, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public FixedWidthFunction(GroupingExpression exp, Number width)
exp
- The expression to evaluate.width
- The width of each bucket.public Number getWidth()
Copyright © 2018. All rights reserved.