public class BigtableConfiguration extends Object
Modifier and Type | Field | Description |
---|---|---|
static String |
BIGTABLE_HBASE_CLIENT_ASYNC_CONNECTION_CLASS |
|
static String |
BIGTABLE_HBASE_CLIENT_ASYNC_REGISTRY_CLASS |
|
static String |
HBASE_CLIENT_ASYNC_CONNECTION_IMPL |
|
static String |
HBASE_CLIENT_ASYNC_REGISTRY_IMPL |
|
static String |
HBASE_CLIENT_CONNECTION_IMPL |
Constructor | Description |
---|---|
BigtableConfiguration() |
Modifier and Type | Method | Description |
---|---|---|
static org.apache.hadoop.conf.Configuration |
asyncConfigure(org.apache.hadoop.conf.Configuration conf) |
Configuration for getting a org.apache.hadoop.hbase.client.AsyncConnection.
|
static org.apache.hadoop.conf.Configuration |
configure(String projectId,
String instanceId) |
Create and configure a new
Configuration . |
static org.apache.hadoop.conf.Configuration |
configure(String projectId,
String instanceId,
String appProfileId) |
Create and configure a new
Configuration . |
static org.apache.hadoop.conf.Configuration |
configure(org.apache.hadoop.conf.Configuration conf,
String projectId,
String instanceId) |
Configure and return an existing
Configuration . |
static org.apache.hadoop.conf.Configuration |
configure(org.apache.hadoop.conf.Configuration conf,
String projectId,
String instanceId,
String appProfileId) |
Configure and return an existing
Configuration . |
static org.apache.hadoop.hbase.client.Connection |
connect(String projectId,
String instanceId) |
connect.
|
static org.apache.hadoop.hbase.client.Connection |
connect(String projectId,
String instanceId,
String appProfileId) |
connect.
|
static org.apache.hadoop.hbase.client.Connection |
connect(org.apache.hadoop.conf.Configuration conf) |
connect.
|
static Class<? extends org.apache.hadoop.hbase.client.Connection> |
getConnectionClass() |
|
static org.apache.hadoop.conf.Configuration |
withCredentials(org.apache.hadoop.conf.Configuration conf,
com.google.auth.Credentials credentials) |
Sets a reference to a
Credentials in a Configuration object. |
public static final String HBASE_CLIENT_CONNECTION_IMPL
public static final String HBASE_CLIENT_ASYNC_CONNECTION_IMPL
public static final String HBASE_CLIENT_ASYNC_REGISTRY_IMPL
public static final String BIGTABLE_HBASE_CLIENT_ASYNC_CONNECTION_CLASS
public static final String BIGTABLE_HBASE_CLIENT_ASYNC_REGISTRY_CLASS
public static Class<? extends org.apache.hadoop.hbase.client.Connection> getConnectionClass()
Connection
implementation class found in the classpath.public static org.apache.hadoop.conf.Configuration configure(String projectId, String instanceId)
Create and configure a new Configuration
.
public static org.apache.hadoop.conf.Configuration configure(String projectId, String instanceId, String appProfileId)
Create and configure a new Configuration
.
public static org.apache.hadoop.conf.Configuration configure(org.apache.hadoop.conf.Configuration conf, String projectId, String instanceId)
Configure and return an existing Configuration
.
public static org.apache.hadoop.conf.Configuration configure(org.apache.hadoop.conf.Configuration conf, String projectId, String instanceId, String appProfileId)
Configure and return an existing Configuration
.
public static org.apache.hadoop.conf.Configuration withCredentials(org.apache.hadoop.conf.Configuration conf, com.google.auth.Credentials credentials)
Credentials
in a Configuration
object.conf
- a Configuration
object to configure.credentials
- a Credentials
object;public static org.apache.hadoop.conf.Configuration asyncConfigure(org.apache.hadoop.conf.Configuration conf)
Configuration for getting a org.apache.hadoop.hbase.client.AsyncConnection.
conf
- a Configuration
object to configure.Configuration
object.public static org.apache.hadoop.hbase.client.Connection connect(String projectId, String instanceId)
connect.
public static org.apache.hadoop.hbase.client.Connection connect(String projectId, String instanceId, String appProfileId)
connect.
public static org.apache.hadoop.hbase.client.Connection connect(org.apache.hadoop.conf.Configuration conf)
connect.
conf
- a Configuration
object.Connection
object.