Interface HBaseEndpointBuilderFactory.HBaseEndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
,org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
,HBaseEndpointBuilderFactory.HBaseEndpointConsumerBuilder
,HBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder
- Enclosing interface:
- HBaseEndpointBuilderFactory
public static interface HBaseEndpointBuilderFactory.HBaseEndpointBuilder extends HBaseEndpointBuilderFactory.HBaseEndpointConsumerBuilder, HBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder
Builder for endpoint for the HBase component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default HBaseEndpointBuilderFactory.AdvancedHBaseEndpointBuilder
advanced()
default HBaseEndpointBuilderFactory.HBaseEndpointBuilder
cellMappingStrategyFactory(String cellMappingStrategyFactory)
To use a custom CellMappingStrategyFactory that is responsible for mapping cells.default HBaseEndpointBuilderFactory.HBaseEndpointBuilder
cellMappingStrategyFactory(org.apache.camel.component.hbase.mapping.CellMappingStrategyFactory cellMappingStrategyFactory)
To use a custom CellMappingStrategyFactory that is responsible for mapping cells.default HBaseEndpointBuilderFactory.HBaseEndpointBuilder
filters(String filters)
A list of filters to use.default HBaseEndpointBuilderFactory.HBaseEndpointBuilder
filters(List<org.apache.hadoop.hbase.filter.Filter> filters)
A list of filters to use.default HBaseEndpointBuilderFactory.HBaseEndpointBuilder
mappingStrategyClassName(String mappingStrategyClassName)
The class name of a custom mapping strategy implementation.default HBaseEndpointBuilderFactory.HBaseEndpointBuilder
mappingStrategyName(String mappingStrategyName)
The strategy to use for mapping Camel messages to HBase columns.default HBaseEndpointBuilderFactory.HBaseEndpointBuilder
rowMapping(String key, Object value)
To map the key/values from the Map to a HBaseRow.default HBaseEndpointBuilderFactory.HBaseEndpointBuilder
rowMapping(Map values)
To map the key/values from the Map to a HBaseRow.default HBaseEndpointBuilderFactory.HBaseEndpointBuilder
rowModel(String rowModel)
An instance of org.apache.camel.component.hbase.model.HBaseRow which describes how each row should be modeled.default HBaseEndpointBuilderFactory.HBaseEndpointBuilder
rowModel(org.apache.camel.component.hbase.model.HBaseRow rowModel)
An instance of org.apache.camel.component.hbase.model.HBaseRow which describes how each row should be modeled.default HBaseEndpointBuilderFactory.HBaseEndpointBuilder
userGroupInformation(String userGroupInformation)
Defines privileges to communicate with HBase such as using kerberos.default HBaseEndpointBuilderFactory.HBaseEndpointBuilder
userGroupInformation(org.apache.hadoop.security.UserGroupInformation userGroupInformation)
Defines privileges to communicate with HBase such as using kerberos.-
Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
-
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.HBaseEndpointBuilderFactory.HBaseEndpointConsumerBuilder
maxMessagesPerPoll, maxMessagesPerPoll, operation, remove, remove, removeHandler, removeHandler
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.HBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder
maxResults, maxResults
-
-
-
-
Method Detail
-
advanced
default HBaseEndpointBuilderFactory.AdvancedHBaseEndpointBuilder advanced()
- Specified by:
advanced
in interfaceHBaseEndpointBuilderFactory.HBaseEndpointConsumerBuilder
- Specified by:
advanced
in interfaceHBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder
-
cellMappingStrategyFactory
default HBaseEndpointBuilderFactory.HBaseEndpointBuilder cellMappingStrategyFactory(org.apache.camel.component.hbase.mapping.CellMappingStrategyFactory cellMappingStrategyFactory)
To use a custom CellMappingStrategyFactory that is responsible for mapping cells. The option is a: <code>org.apache.camel.component.hbase.mapping.CellMappingStrategyFactory</code> type. Group: common- Specified by:
cellMappingStrategyFactory
in interfaceHBaseEndpointBuilderFactory.HBaseEndpointConsumerBuilder
- Specified by:
cellMappingStrategyFactory
in interfaceHBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder
- Parameters:
cellMappingStrategyFactory
- the value to set- Returns:
- the dsl builder
-
cellMappingStrategyFactory
default HBaseEndpointBuilderFactory.HBaseEndpointBuilder cellMappingStrategyFactory(String cellMappingStrategyFactory)
To use a custom CellMappingStrategyFactory that is responsible for mapping cells. The option will be converted to a <code>org.apache.camel.component.hbase.mapping.CellMappingStrategyFactory</code> type. Group: common- Specified by:
cellMappingStrategyFactory
in interfaceHBaseEndpointBuilderFactory.HBaseEndpointConsumerBuilder
- Specified by:
cellMappingStrategyFactory
in interfaceHBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder
- Parameters:
cellMappingStrategyFactory
- the value to set- Returns:
- the dsl builder
-
filters
default HBaseEndpointBuilderFactory.HBaseEndpointBuilder filters(List<org.apache.hadoop.hbase.filter.Filter> filters)
A list of filters to use. The option is a: <code>java.util.List<org.apache.hadoop.hbase.filter.Filter></code> type. Group: common- Specified by:
filters
in interfaceHBaseEndpointBuilderFactory.HBaseEndpointConsumerBuilder
- Specified by:
filters
in interfaceHBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder
- Parameters:
filters
- the value to set- Returns:
- the dsl builder
-
filters
default HBaseEndpointBuilderFactory.HBaseEndpointBuilder filters(String filters)
A list of filters to use. The option will be converted to a <code>java.util.List<org.apache.hadoop.hbase.filter.Filter></code> type. Group: common- Specified by:
filters
in interfaceHBaseEndpointBuilderFactory.HBaseEndpointConsumerBuilder
- Specified by:
filters
in interfaceHBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder
- Parameters:
filters
- the value to set- Returns:
- the dsl builder
-
mappingStrategyClassName
default HBaseEndpointBuilderFactory.HBaseEndpointBuilder mappingStrategyClassName(String mappingStrategyClassName)
The class name of a custom mapping strategy implementation. The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
mappingStrategyClassName
in interfaceHBaseEndpointBuilderFactory.HBaseEndpointConsumerBuilder
- Specified by:
mappingStrategyClassName
in interfaceHBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder
- Parameters:
mappingStrategyClassName
- the value to set- Returns:
- the dsl builder
-
mappingStrategyName
default HBaseEndpointBuilderFactory.HBaseEndpointBuilder mappingStrategyName(String mappingStrategyName)
The strategy to use for mapping Camel messages to HBase columns. Supported values: header, or body. The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
mappingStrategyName
in interfaceHBaseEndpointBuilderFactory.HBaseEndpointConsumerBuilder
- Specified by:
mappingStrategyName
in interfaceHBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder
- Parameters:
mappingStrategyName
- the value to set- Returns:
- the dsl builder
-
rowMapping
default HBaseEndpointBuilderFactory.HBaseEndpointBuilder 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: <code>java.util.Map<java.lang.String, java.lang.Object></code> 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- Specified by:
rowMapping
in interfaceHBaseEndpointBuilderFactory.HBaseEndpointConsumerBuilder
- Specified by:
rowMapping
in interfaceHBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder
- Parameters:
key
- the option keyvalue
- the option value- Returns:
- the dsl builder
-
rowMapping
default HBaseEndpointBuilderFactory.HBaseEndpointBuilder 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: <code>java.util.Map<java.lang.String, java.lang.Object></code> 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- Specified by:
rowMapping
in interfaceHBaseEndpointBuilderFactory.HBaseEndpointConsumerBuilder
- Specified by:
rowMapping
in interfaceHBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder
- Parameters:
values
- the values- Returns:
- the dsl builder
-
rowModel
default HBaseEndpointBuilderFactory.HBaseEndpointBuilder rowModel(org.apache.camel.component.hbase.model.HBaseRow rowModel)
An instance of org.apache.camel.component.hbase.model.HBaseRow which describes how each row should be modeled. The option is a: <code>org.apache.camel.component.hbase.model.HBaseRow</code> type. Group: common- Specified by:
rowModel
in interfaceHBaseEndpointBuilderFactory.HBaseEndpointConsumerBuilder
- Specified by:
rowModel
in interfaceHBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder
- Parameters:
rowModel
- the value to set- Returns:
- the dsl builder
-
rowModel
default HBaseEndpointBuilderFactory.HBaseEndpointBuilder 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 a <code>org.apache.camel.component.hbase.model.HBaseRow</code> type. Group: common- Specified by:
rowModel
in interfaceHBaseEndpointBuilderFactory.HBaseEndpointConsumerBuilder
- Specified by:
rowModel
in interfaceHBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder
- Parameters:
rowModel
- the value to set- Returns:
- the dsl builder
-
userGroupInformation
default HBaseEndpointBuilderFactory.HBaseEndpointBuilder userGroupInformation(org.apache.hadoop.security.UserGroupInformation userGroupInformation)
Defines privileges to communicate with HBase such as using kerberos. The option is a: <code>org.apache.hadoop.security.UserGroupInformation</code> type. Group: common- Specified by:
userGroupInformation
in interfaceHBaseEndpointBuilderFactory.HBaseEndpointConsumerBuilder
- Specified by:
userGroupInformation
in interfaceHBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder
- Parameters:
userGroupInformation
- the value to set- Returns:
- the dsl builder
-
userGroupInformation
default HBaseEndpointBuilderFactory.HBaseEndpointBuilder userGroupInformation(String userGroupInformation)
Defines privileges to communicate with HBase such as using kerberos. The option will be converted to a <code>org.apache.hadoop.security.UserGroupInformation</code> type. Group: common- Specified by:
userGroupInformation
in interfaceHBaseEndpointBuilderFactory.HBaseEndpointConsumerBuilder
- Specified by:
userGroupInformation
in interfaceHBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder
- Parameters:
userGroupInformation
- the value to set- Returns:
- the dsl builder
-
-