Uses of Interface
org.apache.hadoop.hbase.replication.ReplicationPeerConfigBuilder
-
Uses of ReplicationPeerConfigBuilder in org.apache.hadoop.hbase.replication
Modifier and TypeClassDescription(package private) static class
Modifier and TypeMethodDescriptionstatic ReplicationPeerConfigBuilder
ReplicationPeerConfig.newBuilder()
static ReplicationPeerConfigBuilder
ReplicationPeerConfig.newBuilder
(ReplicationPeerConfig peerConfig) default ReplicationPeerConfigBuilder
ReplicationPeerConfigBuilder.putAllConfiguration
(Map<String, String> configuration) Adds all of the provided "raw" configuration entries tothis
.default ReplicationPeerConfigBuilder
ReplicationPeerConfigBuilder.putAllPeerData
(Map<byte[], byte[]> peerData) Sets all of the provided serialized peer configuration data.ReplicationPeerConfig.ReplicationPeerConfigBuilderImpl.putConfiguration
(String key, String value) ReplicationPeerConfigBuilder.putConfiguration
(String key, String value) Sets a "raw" configuration property for this replication peer.ReplicationPeerConfig.ReplicationPeerConfigBuilderImpl.putPeerData
(byte[] key, byte[] value) ReplicationPeerConfigBuilder.putPeerData
(byte[] key, byte[] value) Sets the serialized peer configuration dataReplicationPeerConfig.ReplicationPeerConfigBuilderImpl.removeConfiguration
(String key) ReplicationPeerConfigBuilder.removeConfiguration
(String key) Removes a "raw" configuration property for this replication peer.ReplicationPeerConfig.ReplicationPeerConfigBuilderImpl.setBandwidth
(long bandwidth) ReplicationPeerConfigBuilder.setBandwidth
(long bandwidth) Sets the speed, in bytes per second, for any one RegionServer to replicate data to the peer.ReplicationPeerConfig.ReplicationPeerConfigBuilderImpl.setClusterKey
(String clusterKey) ReplicationPeerConfigBuilder.setClusterKey
(String clusterKey) Set the clusterKey which is the concatenation of the slave cluster's: hbase.zookeeper.quorum:hbase.zookeeper.property.clientPort:zookeeper.znode.parentReplicationPeerConfig.ReplicationPeerConfigBuilderImpl.setExcludeNamespaces
(Set<String> excludeNamespaces) ReplicationPeerConfigBuilder.setExcludeNamespaces
(Set<String> namespaces) Sets the collection of namespaces which should not be replicated when all user tables are configured to be replicated.ReplicationPeerConfig.ReplicationPeerConfigBuilderImpl.setExcludeTableCFsMap
(Map<TableName, List<String>> excludeTableCFsMap) ReplicationPeerConfigBuilder.setExcludeTableCFsMap
(Map<TableName, List<String>> tableCFsMap) Sets the mapping of table name to column families which should not be replicated.ReplicationPeerConfig.ReplicationPeerConfigBuilderImpl.setNamespaces
(Set<String> namespaces) ReplicationPeerConfigBuilder.setNamespaces
(Set<String> namespaces) Sets a unique collection of HBase namespaces that should be replicated to this peer.ReplicationPeerConfig.ReplicationPeerConfigBuilderImpl.setRemoteWALDir
(String dir) ReplicationPeerConfigBuilder.setRemoteWALDir
(String dir) Set the remote peer cluster's wal directory.ReplicationPeerConfig.ReplicationPeerConfigBuilderImpl.setReplicateAllUserTables
(boolean replicateAllUserTables) ReplicationPeerConfigBuilder.setReplicateAllUserTables
(boolean replicateAllUserTables) Configures HBase to replicate all user tables (not system tables) to the peer.ReplicationPeerConfig.ReplicationPeerConfigBuilderImpl.setReplicationEndpointImpl
(String replicationEndpointImpl) ReplicationPeerConfigBuilder.setReplicationEndpointImpl
(String replicationEndpointImpl) Sets the ReplicationEndpoint plugin class for this peer.ReplicationPeerConfig.ReplicationPeerConfigBuilderImpl.setSerial
(boolean serial) ReplicationPeerConfigBuilder.setSerial
(boolean serial) Sets whether we should preserve order when replicating, i.e, serial replication.ReplicationPeerConfig.ReplicationPeerConfigBuilderImpl.setTableCFsMap
(Map<TableName, List<String>> tableCFsMap) ReplicationPeerConfigBuilder.setTableCFsMap
(Map<TableName, List<String>> tableCFsMap) Sets an explicit map of tables and column families in those tables that should be replicated to the given peer.