@PublicEvolving
public class HBase
extends org.apache.flink.table.descriptors.ConnectorDescriptor
| Constructor and Description |
|---|
HBase() |
| Modifier and Type | Method and Description |
|---|---|
HBase |
properties(Properties properties)
Sets the configuration properties for HBase Configuration.
|
HBase |
property(String key,
String value)
Adds a configuration property for HBase Configuration.
|
HBase |
tableName(String tableName)
Set the HBase table name, Required.
|
protected Map<String,String> |
toConnectorProperties() |
HBase |
version(String version)
Set the Apache HBase version to be used.
|
HBase |
writeBufferFlushInterval(String interval)
Set an interval when to flushing buffered requesting if the interval passes, in milliseconds.
|
HBase |
writeBufferFlushMaxRows(int writeBufferFlushMaxRows)
Set threshold when to flush buffered request based on the number of rows currently added.
|
HBase |
writeBufferFlushMaxSize(String maxSize)
Set threshold when to flush buffered request based on the memory byte size of rows currently
added.
|
HBase |
zookeeperNodeParent(String zookeeperNodeParent)
Set the zookeeper node parent path of HBase cluster.
|
HBase |
zookeeperQuorum(String zookeeperQuorum)
Set the zookeeper quorum address to connect the HBase cluster.
|
public HBase version(String version)
version - HBase version. E.g., "1.4.3".public HBase tableName(String tableName)
tableName - Name of HBase table. E.g., "testNamespace:testTable", "testDefaultTable"public HBase zookeeperQuorum(String zookeeperQuorum)
zookeeperQuorum - zookeeper quorum address to connect the HBase cluster. E.g.,
"localhost:2181,localhost:2182,localhost:2183".public HBase zookeeperNodeParent(String zookeeperNodeParent)
zookeeperNodeParent - zookeeper node path of hbase cluster. E.g,
"/hbase/example-root-znode".public HBase writeBufferFlushMaxSize(String maxSize)
2mb. Optional.maxSize - the maximum size (using the syntax of MemorySize).public HBase writeBufferFlushMaxRows(int writeBufferFlushMaxRows)
writeBufferFlushMaxRows - number of added rows when begin the request flushing.public HBase writeBufferFlushInterval(String interval)
interval - flush interval. The string should be in format "{length value}{time unit
label}" E.g, "123ms", "1 s", If no time unit label is specified, it will be considered as
milliseconds. For more details about the format, please see TimeUtils.parseDuration(String)}.public HBase properties(Properties properties)
properties - The configuration properties for HBase Configuration.public HBase property(String key, String value)
key - property key for the HBase Configurationvalue - property value for the HBase ConfigurationCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.