public enum StorageStrategy extends Enum<StorageStrategy>
For the non-loaded dimensions(A "non-loaded dimension" is a fact based dimension, where we don't load any domain data for it, but simply send queries directly to druid), we need to surface metadata to the UI. If there aren't dimension values loaded, we can't validate when we build filters and you can't use the dimension values endpoint to browse values. UI needs to know that a dimension isn't going to be validated and searched. The way that UI knows about this is through this StorageStrategy
Enum Constant and Description |
---|
LOADED
Loaded dimension.
|
NONE
Non-loaded dimension.
|
Modifier and Type | Method and Description |
---|---|
String |
getApiName()
Returns the API name of this StorageStrategy.
|
String |
toString() |
static StorageStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StorageStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StorageStrategy LOADED
public static final StorageStrategy NONE
public static StorageStrategy[] values()
for (StorageStrategy c : StorageStrategy.values()) System.out.println(c);
public static StorageStrategy 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 getApiName()
public String toString()
toString
in class Enum<StorageStrategy>
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.