public enum BardFeatureFlag extends Enum<BardFeatureFlag> implements FeatureFlag
Enum Constant and Description |
---|
CACHE_PARTIAL_DATA |
CASE_SENSITIVE_KEYS |
CURRENT_MACRO_USES_LATEST |
DATA_FILTER_SUBSTRING_OPERATIONS |
DRUID_CACHE
Deprecated.
|
DRUID_CACHE_V2
Deprecated.
|
DRUID_COORDINATOR_METADATA |
DRUID_DIMENSIONS_LOADER |
DRUID_LOOKUP_METADATA |
INTERSECTION_REPORTING |
PARTIAL_DATA |
QUERY_SPLIT |
TOP_N |
UPDATED_METADATA_COLLECTION_NAMES |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the simple property name of this feature flag.
|
boolean |
isOn()
Returns whether the feature flag is activated.
|
void |
reset()
Restores the feature flag to the startup state (if supported by the underlying conf mechanism).
|
void |
setOn(Boolean newValue)
Sets the status of the feature flag.
|
static BardFeatureFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BardFeatureFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
isSet, name
public static final BardFeatureFlag CURRENT_MACRO_USES_LATEST
public static final BardFeatureFlag PARTIAL_DATA
@Deprecated public static final BardFeatureFlag DRUID_CACHE
@Deprecated public static final BardFeatureFlag DRUID_CACHE_V2
public static final BardFeatureFlag QUERY_SPLIT
public static final BardFeatureFlag CACHE_PARTIAL_DATA
public static final BardFeatureFlag TOP_N
public static final BardFeatureFlag DATA_FILTER_SUBSTRING_OPERATIONS
public static final BardFeatureFlag INTERSECTION_REPORTING
public static final BardFeatureFlag UPDATED_METADATA_COLLECTION_NAMES
public static final BardFeatureFlag DRUID_COORDINATOR_METADATA
public static final BardFeatureFlag DRUID_LOOKUP_METADATA
public static final BardFeatureFlag DRUID_DIMENSIONS_LOADER
public static final BardFeatureFlag CASE_SENSITIVE_KEYS
public static BardFeatureFlag[] values()
for (BardFeatureFlag c : BardFeatureFlag.values()) System.out.println(c);
public static BardFeatureFlag 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 getName()
FeatureFlag
getName
in interface FeatureFlag
public boolean isOn()
FeatureFlag
isOn
in interface FeatureFlag
public void setOn(Boolean newValue)
FeatureFlag
setOn
in interface FeatureFlag
newValue
- The new status of the feature flag.public void reset()
FeatureFlag
reset
in interface FeatureFlag
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.