public static enum QueryOptions.QueryRange.ComputedBucket.AnchorValue extends Enum<QueryOptions.QueryRange.ComputedBucket.AnchorValue>
Enum Constant and Description |
---|
NOW
An anchor relative to the current date and time.
|
START_OF_DAY
An anchor relative to the start of the current day.
|
START_OF_MONTH
An anchor relative to the start of the current month.
|
START_OF_YEAR
An anchor relative to the start of the current year.
|
Modifier and Type | Method and Description |
---|---|
static QueryOptions.QueryRange.ComputedBucket.AnchorValue |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryOptions.QueryRange.ComputedBucket.AnchorValue[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryOptions.QueryRange.ComputedBucket.AnchorValue NOW
public static final QueryOptions.QueryRange.ComputedBucket.AnchorValue START_OF_DAY
public static final QueryOptions.QueryRange.ComputedBucket.AnchorValue START_OF_MONTH
public static final QueryOptions.QueryRange.ComputedBucket.AnchorValue START_OF_YEAR
public static QueryOptions.QueryRange.ComputedBucket.AnchorValue[] values()
for (QueryOptions.QueryRange.ComputedBucket.AnchorValue c : QueryOptions.QueryRange.ComputedBucket.AnchorValue.values()) System.out.println(c);
public static QueryOptions.QueryRange.ComputedBucket.AnchorValue valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2013-2016 MarkLogic Corporation.