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 StartTestingClusterOption
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
setConfiguration
(Supplier<org.apache.hadoop.conf.Configuration> supplier) setConfiguration
(org.apache.hadoop.conf.Configuration conf) Seed the underlyingHBaseTestingUtil
with the providedConfiguration
.setMiniClusterOption
(StartTestingClusterOption miniClusterOption) Use the providedStartTestingClusterOption
to construct theSingleProcessHBaseCluster
.
-
Field Details
-
miniClusterOption
-
conf
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setMiniClusterOption
Use the providedStartTestingClusterOption
to construct theSingleProcessHBaseCluster
. -
setConfiguration
Seed the underlyingHBaseTestingUtil
with the providedConfiguration
. -
setConfiguration
public MiniClusterRule.Builder setConfiguration(Supplier<org.apache.hadoop.conf.Configuration> supplier) -
build
-