public class RawPredefined extends PredefinedFunction
GroupingExpression
for expressions that evaluate to a
raw.Modifier | Constructor and Description |
---|---|
private |
RawPredefined(GroupingExpression exp,
List<RawBucket> args) |
|
RawPredefined(GroupingExpression exp,
RawBucket arg1,
RawBucket... argN)
Constructs a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
RawBucket |
getBucket(int i)
Returns the bucket at the given index.
|
static RawPredefined |
newInstance(GroupingExpression exp,
List<RawBucket> args)
Constructs a new instance of this class from a list of arguments.
|
getNumBuckets
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 RawPredefined(GroupingExpression exp, RawBucket arg1, RawBucket... argN)
exp
- The expression to evaluate, must evaluate to a string.arg1
- The compulsory bucket.argN
- The optional buckets.private RawPredefined(GroupingExpression exp, List<RawBucket> args)
public RawBucket getBucket(int i)
PredefinedFunction
getBucket
in class PredefinedFunction
i
- The index of the bucket to return.public static RawPredefined newInstance(GroupingExpression exp, List<RawBucket> args)
exp
- The expression to evaluate, must evaluate to a string.args
- The buckets to pass to the constructor.IllegalArgumentException
- Thrown if the list of buckets is empty.Copyright © 2017. All rights reserved.