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.AdvancedHBaseEndpointBuilderadvanced()default HBaseEndpointBuilderFactory.HBaseEndpointBuildercellMappingStrategyFactory(String cellMappingStrategyFactory)To use a custom CellMappingStrategyFactory that is responsible for mapping cells.default HBaseEndpointBuilderFactory.HBaseEndpointBuildercellMappingStrategyFactory(org.apache.camel.component.hbase.mapping.CellMappingStrategyFactory cellMappingStrategyFactory)To use a custom CellMappingStrategyFactory that is responsible for mapping cells.default HBaseEndpointBuilderFactory.HBaseEndpointBuilderfilters(String filters)A list of filters to use.default HBaseEndpointBuilderFactory.HBaseEndpointBuilderfilters(List<org.apache.hadoop.hbase.filter.Filter> filters)A list of filters to use.default HBaseEndpointBuilderFactory.HBaseEndpointBuildermappingStrategyClassName(String mappingStrategyClassName)The class name of a custom mapping strategy implementation.default HBaseEndpointBuilderFactory.HBaseEndpointBuildermappingStrategyName(String mappingStrategyName)The strategy to use for mapping Camel messages to HBase columns.default HBaseEndpointBuilderFactory.HBaseEndpointBuilderrowMapping(String key, Object value)To map the key/values from the Map to a HBaseRow.default HBaseEndpointBuilderFactory.HBaseEndpointBuilderrowMapping(Map values)To map the key/values from the Map to a HBaseRow.default HBaseEndpointBuilderFactory.HBaseEndpointBuilderrowModel(String rowModel)An instance of org.apache.camel.component.hbase.model.HBaseRow which describes how each row should be modeled.default HBaseEndpointBuilderFactory.HBaseEndpointBuilderrowModel(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.HBaseEndpointBuilderuserGroupInformation(String userGroupInformation)Defines privileges to communicate with HBase such as using kerberos.default HBaseEndpointBuilderFactory.HBaseEndpointBuilderuserGroupInformation(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, getUri
-
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getUri
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.HBaseEndpointBuilderFactory.HBaseEndpointConsumerBuilder
bridgeErrorHandler, bridgeErrorHandler, maxMessagesPerPoll, maxMessagesPerPoll, operation, remove, remove, removeHandler, removeHandler
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.HBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder
lazyStartProducer, lazyStartProducer, maxResults, maxResults
-
-
-
-
Method Detail
-
advanced
default HBaseEndpointBuilderFactory.AdvancedHBaseEndpointBuilder advanced()
- Specified by:
advancedin interfaceHBaseEndpointBuilderFactory.HBaseEndpointConsumerBuilder- Specified by:
advancedin 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:
cellMappingStrategyFactoryin interfaceHBaseEndpointBuilderFactory.HBaseEndpointConsumerBuilder- Specified by:
cellMappingStrategyFactoryin 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:
cellMappingStrategyFactoryin interfaceHBaseEndpointBuilderFactory.HBaseEndpointConsumerBuilder- Specified by:
cellMappingStrategyFactoryin 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:
filtersin interfaceHBaseEndpointBuilderFactory.HBaseEndpointConsumerBuilder- Specified by:
filtersin 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:
filtersin interfaceHBaseEndpointBuilderFactory.HBaseEndpointConsumerBuilder- Specified by:
filtersin 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:
mappingStrategyClassNamein interfaceHBaseEndpointBuilderFactory.HBaseEndpointConsumerBuilder- Specified by:
mappingStrategyClassNamein 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:
mappingStrategyNamein interfaceHBaseEndpointBuilderFactory.HBaseEndpointConsumerBuilder- Specified by:
mappingStrategyNamein 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:
rowMappingin interfaceHBaseEndpointBuilderFactory.HBaseEndpointConsumerBuilder- Specified by:
rowMappingin 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:
rowMappingin interfaceHBaseEndpointBuilderFactory.HBaseEndpointConsumerBuilder- Specified by:
rowMappingin 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:
rowModelin interfaceHBaseEndpointBuilderFactory.HBaseEndpointConsumerBuilder- Specified by:
rowModelin 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:
rowModelin interfaceHBaseEndpointBuilderFactory.HBaseEndpointConsumerBuilder- Specified by:
rowModelin 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:
userGroupInformationin interfaceHBaseEndpointBuilderFactory.HBaseEndpointConsumerBuilder- Specified by:
userGroupInformationin 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:
userGroupInformationin interfaceHBaseEndpointBuilderFactory.HBaseEndpointConsumerBuilder- Specified by:
userGroupInformationin interfaceHBaseEndpointBuilderFactory.HBaseEndpointProducerBuilder- Parameters:
userGroupInformation- the value to set- Returns:
- the dsl builder
-
-