Enum ElasticsearchOperation
java.lang.Object
java.lang.Enum<ElasticsearchOperation>
org.apache.camel.component.elasticsearch.ElasticsearchOperation
- All Implemented Interfaces:
Serializable
,Comparable<ElasticsearchOperation>
,java.lang.constant.Constable
The ElasticSearch server operations list which are implemented
Index - Index a document associated with a given index and type Update - Updates a document based on a script Bulk - Executes a bulk of index / delete operations BulkIndex - Executes a bulk of index / delete operations GetById - Gets the document that was indexed from an index with a type and id MultiGet - Multiple get documents Delete - Deletes a document from the index based on the index, type and id Search - Search across one or more indices and one or more types with a query Exists - Checks the index exists or not (using search with size=0 and terminate_after=1 parameters)
-
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 TypeMethodDescriptiontoString()
static ElasticsearchOperation
Returns the enum constant of this type with the specified name.static ElasticsearchOperation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Index
-
Update
-
Bulk
-
BulkIndex
-
GetById
-
MultiGet
-
MultiSearch
-
Delete
-
DeleteIndex
-
Search
-
Exists
-
Ping
-
-
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
-
toString
- Overrides:
toString
in classEnum<ElasticsearchOperation>
-