public class LongBucket extends BucketValue
Long
bucket in a PredefinedFunction
.Constructor and Description |
---|
LongBucket(ConstantValue from,
ConstantValue to)
Constructs a new instance of this class.
|
LongBucket(long from,
long to)
Constructs a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
LongBucket |
copy()
Returns a deep copy of this
|
static LongValue |
nextValue(LongValue value)
Gives the next distinct long value.
|
compareTo, getFrom, getTo
asImage, asString, getLevel, getLevelOrNull, resolveLevel, setLabel, visit
getImage, getLabel, toString
public LongBucket(long from, long to)
from
- The from-value to assign to this.to
- The to-value to assign to this.public LongBucket(ConstantValue from, ConstantValue to)
from
- The from-value to assign to this.to
- The to-value to assign to this.public static LongValue nextValue(LongValue value)
value
- the base value.public LongBucket copy()
GroupingExpression
copy
in class BucketValue
Copyright © 2018. All rights reserved.