Package org.apache.solr.crossdc.common
Enum CrossDcConf.ExpandDbq
- All Implemented Interfaces:
Serializable,Comparable<CrossDcConf.ExpandDbq>
- Enclosing class:
CrossDcConf
Option to expand Delete-By-Query requests on the producer side.
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic CrossDcConf.ExpandDbqgetOrDefault(String strValue, CrossDcConf.ExpandDbq defaultValue) static CrossDcConf.ExpandDbqReturns 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 Details
-
NONE
Don't expand DBQs, mirror them as-is. -
EXPAND
Expand DBQs into multiple Delete-By-Id requests using matching documents on the producer side.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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)
-