public enum Stale extends Enum<Stale>
Sets the staleness requirement for the view query.
Enum Constant and Description |
---|
FALSE |
TRUE |
UPDATE_AFTER |
Modifier and Type | Method and Description |
---|---|
String |
identifier() |
static Stale |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Stale[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Stale TRUE
public static final Stale FALSE
public static final Stale UPDATE_AFTER
public static Stale[] values()
for (Stale c : Stale.values()) System.out.println(c);
public static Stale 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 nullpublic String identifier()
Copyright © 2015 Couchbase, Inc.