Package org.apache.solr.crossdc.common
Enum Class CrossDcConf.CollapseUpdates
java.lang.Object
java.lang.Enum<CrossDcConf.CollapseUpdates>
org.apache.solr.crossdc.common.CrossDcConf.CollapseUpdates
- All Implemented Interfaces:
Serializable,Comparable<CrossDcConf.CollapseUpdates>,Constable
- Enclosing class:
CrossDcConf
Option to collapse multiple update requests in the Consumer application before sending to the
target Solr.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic CrossDcConf.CollapseUpdatesgetOrDefault(String strValue, CrossDcConf.CollapseUpdates defaultValue) static CrossDcConf.CollapseUpdatesReturns the enum constant of this class with the specified name.static CrossDcConf.CollapseUpdates[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
Don't collapse any update requests, send them directly as-is. -
PARTIAL
Collapse only update requests that don't contain any delete operations. -
ALL
Always collapse update requests, as long as they have the same parameters.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getOrDefault
public static CrossDcConf.CollapseUpdates getOrDefault(String strValue, CrossDcConf.CollapseUpdates defaultValue)
-