Class ElasticsearchEndpointBuilderFactory.ElasticsearchHeaderNameBuilder

  • Enclosing interface:
    ElasticsearchEndpointBuilderFactory

    public static class ElasticsearchEndpointBuilderFactory.ElasticsearchHeaderNameBuilder
    extends Object
    The builder of headers' name for the Elasticsearch component.
    • Constructor Detail

      • ElasticsearchHeaderNameBuilder

        public ElasticsearchHeaderNameBuilder()
    • Method Detail

      • operation

        public String 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

        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.
      • documentClass

        public String 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

        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.