Enum RealTimeGetComponent.Resolution
- java.lang.Object
-
- java.lang.Enum<RealTimeGetComponent.Resolution>
-
- org.apache.solr.handler.component.RealTimeGetComponent.Resolution
-
- All Implemented Interfaces:
Serializable
,Comparable<RealTimeGetComponent.Resolution>
- Enclosing class:
- RealTimeGetComponent
public static enum RealTimeGetComponent.Resolution extends Enum<RealTimeGetComponent.Resolution>
Lookup strategy for some methods on this class.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DOC
Resolve to a whole document, exclusive of children.PARTIAL
A partial update document.ROOT_WITH_CHILDREN
Resolves the whole nested hierarchy (look up root doc).
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RealTimeGetComponent.Resolution
valueOf(String name)
Returns the enum constant of this type with the specified name.static RealTimeGetComponent.Resolution[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PARTIAL
public static final RealTimeGetComponent.Resolution PARTIAL
A partial update document. Whole documents may still be returned.
-
DOC
public static final RealTimeGetComponent.Resolution DOC
Resolve to a whole document, exclusive of children.
-
ROOT_WITH_CHILDREN
public static final RealTimeGetComponent.Resolution ROOT_WITH_CHILDREN
Resolves the whole nested hierarchy (look up root doc).
-
-
Method Detail
-
values
public static RealTimeGetComponent.Resolution[] 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 (RealTimeGetComponent.Resolution c : RealTimeGetComponent.Resolution.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RealTimeGetComponent.Resolution 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
-
-