public static class MiniClusterRule.Builder extends Object
MiniClusterRule
.Modifier and Type | Field and Description |
---|---|
private org.apache.hadoop.conf.Configuration |
conf |
private StartMiniClusterOption |
miniClusterOption |
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MiniClusterRule |
build() |
MiniClusterRule.Builder |
setConfiguration(org.apache.hadoop.conf.Configuration conf)
Seed the underlying
HBaseTestingUtility with the provided Configuration . |
MiniClusterRule.Builder |
setMiniClusterOption(StartMiniClusterOption miniClusterOption)
Use the provided
StartMiniClusterOption to construct the MiniHBaseCluster . |
private StartMiniClusterOption miniClusterOption
private org.apache.hadoop.conf.Configuration conf
public Builder()
public MiniClusterRule.Builder setMiniClusterOption(StartMiniClusterOption miniClusterOption)
StartMiniClusterOption
to construct the MiniHBaseCluster
.public MiniClusterRule.Builder setConfiguration(org.apache.hadoop.conf.Configuration conf)
HBaseTestingUtility
with the provided Configuration
.public MiniClusterRule build()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.