Package org.apache.solr.crossdc.common
Enum CrossDcConf.ExpandDbq
- java.lang.Object
-
- java.lang.Enum<CrossDcConf.ExpandDbq>
-
- org.apache.solr.crossdc.common.CrossDcConf.ExpandDbq
-
- All Implemented Interfaces:
Serializable
,Comparable<CrossDcConf.ExpandDbq>
- Enclosing class:
- CrossDcConf
public static enum CrossDcConf.ExpandDbq extends Enum<CrossDcConf.ExpandDbq>
Option to expand Delete-By-Query requests on the producer side.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CrossDcConf.ExpandDbq
getOrDefault(String strValue, CrossDcConf.ExpandDbq defaultValue)
static CrossDcConf.ExpandDbq
valueOf(String name)
Returns the enum constant of this type with the specified name.static CrossDcConf.ExpandDbq[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final CrossDcConf.ExpandDbq NONE
Don't expand DBQs, mirror them as-is.
-
EXPAND
public static final CrossDcConf.ExpandDbq EXPAND
Expand DBQs into multiple Delete-By-Id requests using matching documents on the producer side.
-
-
Method Detail
-
values
public static CrossDcConf.ExpandDbq[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CrossDcConf.ExpandDbq c : CrossDcConf.ExpandDbq.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CrossDcConf.ExpandDbq valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getOrDefault
public static CrossDcConf.ExpandDbq getOrDefault(String strValue, CrossDcConf.ExpandDbq defaultValue)
-
-