Package org.apache.hadoop.hbase
Class MiniClusterRule.Builder
java.lang.Object
org.apache.hadoop.hbase.MiniClusterRule.Builder
- Enclosing class:
- MiniClusterRule
A builder for fluent composition of a new
MiniClusterRule
.-
Field Summary
Modifier and TypeFieldDescriptionprivate org.apache.hadoop.conf.Configuration
private StartMiniClusterOption
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
setConfiguration
(Supplier<org.apache.hadoop.conf.Configuration> supplier) setConfiguration
(org.apache.hadoop.conf.Configuration conf) Seed the underlyingHBaseTestingUtility
with the providedConfiguration
.setMiniClusterOption
(StartMiniClusterOption miniClusterOption) Use the providedStartMiniClusterOption
to construct theMiniHBaseCluster
.
-
Field Details
-
miniClusterOption
-
conf
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setMiniClusterOption
Use the providedStartMiniClusterOption
to construct theMiniHBaseCluster
. -
setConfiguration
Seed the underlyingHBaseTestingUtility
with the providedConfiguration
. -
setConfiguration
public MiniClusterRule.Builder setConfiguration(Supplier<org.apache.hadoop.conf.Configuration> supplier) -
build
-