public static enum Index.LoadType extends java.lang.Enum<Index.LoadType>
Modifier and Type | Method and Description |
---|---|
boolean |
supportsReads() |
boolean |
supportsWrites() |
static Index.LoadType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Index.LoadType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Index.LoadType READ
public static final Index.LoadType WRITE
public static final Index.LoadType ALL
public static final Index.LoadType NOOP
public static Index.LoadType[] values()
for (Index.LoadType c : Index.LoadType.values()) System.out.println(c);
public static Index.LoadType 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 boolean supportsWrites()
public boolean supportsReads()
Copyright © 2009-2020 The Apache Software Foundation