Class ElasticsearchRestEndpointBuilderFactory.ElasticsearchRestHeaderNameBuilder
- java.lang.Object
-
- org.apache.camel.builder.endpoint.dsl.ElasticsearchRestEndpointBuilderFactory.ElasticsearchRestHeaderNameBuilder
-
- Enclosing interface:
- ElasticsearchRestEndpointBuilderFactory
public static class ElasticsearchRestEndpointBuilderFactory.ElasticsearchRestHeaderNameBuilder extends Object
The builder of headers' name for the Elasticsearch Rest component.
-
-
Constructor Summary
Constructors Constructor Description ElasticsearchRestHeaderNameBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringfrom()The starting index of the response.StringindexId()The id of the indexed document.StringindexName()The name of the index to act against.Stringoperation()The operation to perform.StringscrollKeepAliveMs()The starting index of the response.Stringsize()The size of the response.StringuseScroll()Set to true to enable scroll usage.StringwaitForActiveShards()The index creation waits for the write consistency number of shards to be available.
-
-
-
Method Detail
-
operation
public String operation()
The operation to perform. The option is a:org.apache.camel.component.elasticsearch.ElasticsearchOperationtype. Group: producer- Returns:
- the name of the header
operation.
-
indexId
public String indexId()
The id of the indexed document. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
indexId.
-
indexName
public String indexName()
The name of the index to act against. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
indexName.
-
waitForActiveShards
public String waitForActiveShards()
The index creation waits for the write consistency number of shards to be available. The option is a:Integertype. Group: producer- Returns:
- the name of the header
waitForActiveShards.
-
scrollKeepAliveMs
public String scrollKeepAliveMs()
The starting index of the response. The option is a:Integertype. Group: producer- Returns:
- the name of the header
scrollKeepAliveMs.
-
useScroll
public String useScroll()
Set to true to enable scroll usage. The option is a:Booleantype. Group: producer- Returns:
- the name of the header
useScroll.
-
size
public String size()
The size of the response. The option is a:Integertype. Group: producer- Returns:
- the name of the header
size.
-
from
public String from()
The starting index of the response. The option is a:Integertype. Group: producer- Returns:
- the name of the header
from.
-
-