Class ElasticsearchEndpointBuilderFactory.ElasticsearchHeaderNameBuilder
java.lang.Object
org.apache.camel.builder.endpoint.dsl.ElasticsearchEndpointBuilderFactory.ElasticsearchHeaderNameBuilder
- Enclosing interface:
ElasticsearchEndpointBuilderFactory
public static class ElasticsearchEndpointBuilderFactory.ElasticsearchHeaderNameBuilder
extends Object
The builder of headers' name for the Elasticsearch component.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe full qualified name of the class of the document to unmarshall.Indicates whether the body of the message contains only documents.from()
The starting index of the response.indexId()
The id of the indexed document.The name of the index to act against.The operation to perform.The starting index of the response.size()
The size of the response.Set to true to enable scroll usage.The index creation waits for the write consistency number of shards to be available.
-
Constructor Details
-
ElasticsearchHeaderNameBuilder
public ElasticsearchHeaderNameBuilder()
-
-
Method Details
-
operation
The operation to perform. The option is a:org.apache.camel.component.es.ElasticsearchOperation
type. Group: producer- Returns:
- the name of the header
operation
.
-
indexId
The id of the indexed document. The option is a:String
type. Group: producer- Returns:
- the name of the header
indexId
.
-
indexName
The name of the index to act against. The option is a:String
type. Group: producer- Returns:
- the name of the header
indexName
.
-
documentClass
The full qualified name of the class of the document to unmarshall. The option is a:Class
type. Default: ObjectNode Group: producer- Returns:
- the name of the header
documentClass
.
-
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
The starting index of the response. The option is a:Integer
type. Group: producer- Returns:
- the name of the header
scrollKeepAliveMs
.
-
useScroll
Set to true to enable scroll usage. The option is a:Boolean
type. Group: producer- Returns:
- the name of the header
useScroll
.
-
size
The size of the response. The option is a:Integer
type. Group: producer- Returns:
- the name of the header
size
.
-
from
The starting index of the response. The option is a:Integer
type. Group: producer- Returns:
- the name of the header
from
.
-
enableDocumentOnlyMode
Indicates whether the body of the message contains only documents. The option is a:Boolean
type. Default: false Group: producer- Returns:
- the name of the header
enableDocumentOnlyMode
.
-