Interface HBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
HBaseEndpointBuilderFactory.HBaseEndpointBuilder
- Enclosing interface:
- HBaseEndpointBuilderFactory
public static interface HBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint producers for the HBase component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default HBaseEndpointBuilderFactory.AdvancedHBaseEndpointProducerBuilder
advanced()
default HBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder
cellMappingStrategyFactory(Object cellMappingStrategyFactory)
To use a custom CellMappingStrategyFactory that is responsible for mapping cells.default HBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder
cellMappingStrategyFactory(String cellMappingStrategyFactory)
To use a custom CellMappingStrategyFactory that is responsible for mapping cells.default HBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder
filters(String filters)
A list of filters to use.default HBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder
filters(List<Object> filters)
A list of filters to use.default HBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).default HBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).default HBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder
mappingStrategyClassName(String mappingStrategyClassName)
The class name of a custom mapping strategy implementation.default HBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder
mappingStrategyName(String mappingStrategyName)
The strategy to use for mapping Camel messages to HBase columns.default HBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder
maxResults(int maxResults)
The maximum number of rows to scan.default HBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder
maxResults(String maxResults)
The maximum number of rows to scan.default HBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder
rowMapping(String key, Object value)
To map the key/values from the Map to a HBaseRow.default HBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder
rowMapping(Map values)
To map the key/values from the Map to a HBaseRow.default HBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder
rowModel(Object rowModel)
An instance of org.apache.camel.component.hbase.model.HBaseRow which describes how each row should be modeled.default HBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder
rowModel(String rowModel)
An instance of org.apache.camel.component.hbase.model.HBaseRow which describes how each row should be modeled.default HBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder
userGroupInformation(Object userGroupInformation)
Defines privileges to communicate with HBase such as using kerberos.default HBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder
userGroupInformation(String userGroupInformation)
Defines privileges to communicate with HBase such as using kerberos.
-
-
-
Method Detail
-
advanced
default HBaseEndpointBuilderFactory.AdvancedHBaseEndpointProducerBuilder advanced()
-
cellMappingStrategyFactory
default HBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder cellMappingStrategyFactory(Object cellMappingStrategyFactory)
To use a custom CellMappingStrategyFactory that is responsible for mapping cells. The option is a:org.apache.camel.component.hbase.mapping.CellMappingStrategyFactory
type. Group: common
-
cellMappingStrategyFactory
default HBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder cellMappingStrategyFactory(String cellMappingStrategyFactory)
To use a custom CellMappingStrategyFactory that is responsible for mapping cells. The option will be converted to aorg.apache.camel.component.hbase.mapping.CellMappingStrategyFactory
type. Group: common
-
filters
default HBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder filters(List<Object> filters)
A list of filters to use. The option is a:java.util.List<org.apache.hadoop.hbase.filter.Filter>
type. Group: common
-
filters
default HBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder filters(String filters)
A list of filters to use. The option will be converted to ajava.util.List<org.apache.hadoop.hbase.filter.Filter>
type. Group: common
-
mappingStrategyClassName
default HBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder mappingStrategyClassName(String mappingStrategyClassName)
The class name of a custom mapping strategy implementation. The option is a:java.lang.String
type. Group: common
-
mappingStrategyName
default HBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder mappingStrategyName(String mappingStrategyName)
The strategy to use for mapping Camel messages to HBase columns. Supported values: header, or body. The option is a:java.lang.String
type. Group: common
-
rowMapping
default HBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder rowMapping(String key, Object value)
To map the key/values from the Map to a HBaseRow. The following keys is supported: rowId - The id of the row. This has limited use as the row usually changes per Exchange. rowType - The type to covert row id to. Supported operations: CamelHBaseScan. family - The column family. Supports a number suffix for referring to more than one columns. qualifier - The column qualifier. Supports a number suffix for referring to more than one columns. value - The value. Supports a number suffix for referring to more than one columns valueType - The value type. Supports a number suffix for referring to more than one columns. Supported operations: CamelHBaseGet, and CamelHBaseScan. The option is a:java.util.Map<java.lang.String, java.lang.Object>
type. The option is multivalued, and you can use the rowMapping(String, Object) method to add a value (call the method multiple times to set more values). Group: common
-
rowMapping
default HBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder rowMapping(Map values)
To map the key/values from the Map to a HBaseRow. The following keys is supported: rowId - The id of the row. This has limited use as the row usually changes per Exchange. rowType - The type to covert row id to. Supported operations: CamelHBaseScan. family - The column family. Supports a number suffix for referring to more than one columns. qualifier - The column qualifier. Supports a number suffix for referring to more than one columns. value - The value. Supports a number suffix for referring to more than one columns valueType - The value type. Supports a number suffix for referring to more than one columns. Supported operations: CamelHBaseGet, and CamelHBaseScan. The option is a:java.util.Map<java.lang.String, java.lang.Object>
type. The option is multivalued, and you can use the rowMapping(String, Object) method to add a value (call the method multiple times to set more values). Group: common
-
rowModel
default HBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder rowModel(Object rowModel)
An instance of org.apache.camel.component.hbase.model.HBaseRow which describes how each row should be modeled. The option is a:org.apache.camel.component.hbase.model.HBaseRow
type. Group: common
-
rowModel
default HBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder rowModel(String rowModel)
An instance of org.apache.camel.component.hbase.model.HBaseRow which describes how each row should be modeled. The option will be converted to aorg.apache.camel.component.hbase.model.HBaseRow
type. Group: common
-
userGroupInformation
default HBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder userGroupInformation(Object userGroupInformation)
Defines privileges to communicate with HBase such as using kerberos. The option is a:org.apache.hadoop.security.UserGroupInformation
type. Group: common
-
userGroupInformation
default HBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder userGroupInformation(String userGroupInformation)
Defines privileges to communicate with HBase such as using kerberos. The option will be converted to aorg.apache.hadoop.security.UserGroupInformation
type. Group: common
-
lazyStartProducer
default HBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option is a:boolean
type. Default: false Group: producer
-
lazyStartProducer
default HBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option will be converted to aboolean
type. Default: false Group: producer
-
maxResults
default HBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder maxResults(int maxResults)
The maximum number of rows to scan. The option is a:int
type. Default: 100 Group: producer
-
maxResults
default HBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder maxResults(String maxResults)
The maximum number of rows to scan. The option will be converted to aint
type. Default: 100 Group: producer
-
-