public enum RowGranularity extends java.lang.Enum<RowGranularity>
order from large-grained to fine-grained:
CLUSTER > PARTITION > NODE > SHARD > DOC
Modifier and Type | Method and Description |
---|---|
static RowGranularity |
fromStream(org.elasticsearch.common.io.stream.StreamInput in) |
static void |
toStream(RowGranularity granularity,
org.elasticsearch.common.io.stream.StreamOutput out) |
static RowGranularity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RowGranularity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RowGranularity CLUSTER
public static final RowGranularity PARTITION
public static final RowGranularity NODE
public static final RowGranularity SHARD
public static final RowGranularity DOC
public static RowGranularity[] values()
for (RowGranularity c : RowGranularity.values()) System.out.println(c);
public static RowGranularity valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static RowGranularity fromStream(org.elasticsearch.common.io.stream.StreamInput in) throws java.io.IOException
java.io.IOException
public static void toStream(RowGranularity granularity, org.elasticsearch.common.io.stream.StreamOutput out) throws java.io.IOException
java.io.IOException