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 String
from()
The starting index of the response.String
indexId()
The id of the indexed document.String
indexName()
The name of the index to act against.String
operation()
The operation to perform.String
scrollKeepAliveMs()
The starting index of the response.String
size()
The size of the response.String
useScroll()
Set to true to enable scroll usage.String
waitForActiveShards()
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.ElasticsearchOperation
type. Group: producer- Returns:
- the name of the header
operation
.
-
indexId
public String indexId()
The id of the indexed document. The option is a:String
type. 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:String
type. 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:Integer
type. Group: producer- Returns:
- the name of the header
waitForActiveShards
.
-
scrollKeepAliveMs
public String scrollKeepAliveMs()
The starting index of the response. The option is a:Integer
type. Group: producer- Returns:
- the name of the header
scrollKeepAliveMs
.
-
useScroll
public String useScroll()
Set to true to enable scroll usage. The option is a:Boolean
type. Group: producer- Returns:
- the name of the header
useScroll
.
-
size
public String size()
The size of the response. The option is a:Integer
type. Group: producer- Returns:
- the name of the header
size
.
-
from
public String from()
The starting index of the response. The option is a:Integer
type. Group: producer- Returns:
- the name of the header
from
.
-
-