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