public class BigtableOptionsFactory extends Object
Configuration
to a BigtableOptions
instance.Modifier and Type | Field and Description |
---|---|
static String |
BIGTABE_USE_SERVICE_ACCOUNTS_KEY
Key to set to enable service accounts to be used, either metadata server-based or P12-based.
|
static String |
BIGTABLE_CHANNEL_TIMEOUT_MS_KEY
The maximum length of time to keep a Bigtable grpc channel open.
|
static String |
BIGTABLE_CLUSTER_ADMIN_HOST_KEY |
static String |
BIGTABLE_DATA_CHANNEL_COUNT_KEY
The number of grpc channels to open for asynchronous processing such as puts.
|
static String |
BIGTABLE_HOST_KEY |
static boolean |
BIGTABLE_NULL_CREDENTIAL_ENABLE_DEFAULT |
static String |
BIGTABLE_NULL_CREDENTIAL_ENABLE_KEY
Key to allow unit tests to proceed with an invalid credential configuration.
|
static String |
BIGTABLE_PORT_KEY |
static String |
BIGTABLE_SERVICE_ACCOUNT_EMAIL_KEY
Key to set when using P12 keyfile authentication.
|
static String |
BIGTABLE_SERVICE_ACCOUNT_JSON_KEYFILE_LOCATION_KEY
Key to set to a location where a json security credentials file can be found.
|
static String |
BIGTABLE_SERVICE_ACCOUNT_P12_KEYFILE_LOCATION_KEY
Key to set to a location where a P12 keyfile can be found that corresponds to the provided
service account email address.
|
static String |
BIGTABLE_TABLE_ADMIN_HOST_KEY |
static boolean |
BIGTABLE_USE_SERVICE_ACCOUNTS_DEFAULT |
static String |
CLUSTER_KEY |
static String |
ENABLE_GRPC_RETRIES_KEY
Key to set to a boolean flag indicating whether or not grpc retries should be enabled.
|
static String |
ENABLE_GRPC_RETRY_DEADLINEEXCEEDED_KEY
Key to set to a boolean flag indicating whether or not to retry grpc call on deadline exceeded.
|
static String |
IP_OVERRIDE_KEY
If set, bypass DNS host lookup and use the given IP address.
|
protected static Logger |
LOG |
static String |
MAX_ELAPSED_BACKOFF_MILLIS_KEY
Key to set the maximum amount of time to wait for retries, given a backoff policy on errors.
|
static String |
PROJECT_ID_KEY |
static String |
READ_BATCH_SIZE
Key to set the batch size of messages to request when scanning.
|
static String |
READ_BUFFER_SIZE
Key to set the maximum number of messages to buffer when scanning.
|
static String |
READ_PARTIAL_ROW_TIMEOUT_MS
Key to set the amount of time to wait when reading a partial row.
|
static String |
ZONE_KEY |
Constructor and Description |
---|
BigtableOptionsFactory() |
Modifier and Type | Method and Description |
---|---|
static BigtableOptions |
fromConfiguration(org.apache.hadoop.conf.Configuration configuration) |
protected static final Logger LOG
public static final String BIGTABLE_PORT_KEY
public static final String BIGTABLE_CLUSTER_ADMIN_HOST_KEY
public static final String BIGTABLE_TABLE_ADMIN_HOST_KEY
public static final String BIGTABLE_HOST_KEY
public static final String PROJECT_ID_KEY
public static final String CLUSTER_KEY
public static final String ZONE_KEY
public static final String IP_OVERRIDE_KEY
public static final String BIGTABE_USE_SERVICE_ACCOUNTS_KEY
public static final boolean BIGTABLE_USE_SERVICE_ACCOUNTS_DEFAULT
public static final String BIGTABLE_NULL_CREDENTIAL_ENABLE_KEY
public static final boolean BIGTABLE_NULL_CREDENTIAL_ENABLE_DEFAULT
public static final String BIGTABLE_SERVICE_ACCOUNT_EMAIL_KEY
public static final String BIGTABLE_SERVICE_ACCOUNT_P12_KEYFILE_LOCATION_KEY
public static final String BIGTABLE_SERVICE_ACCOUNT_JSON_KEYFILE_LOCATION_KEY
public static final String ENABLE_GRPC_RETRIES_KEY
public static final String ENABLE_GRPC_RETRY_DEADLINEEXCEEDED_KEY
public static final String MAX_ELAPSED_BACKOFF_MILLIS_KEY
public static final String READ_PARTIAL_ROW_TIMEOUT_MS
public static final String READ_BUFFER_SIZE
public static final String READ_BATCH_SIZE
public static final String BIGTABLE_DATA_CHANNEL_COUNT_KEY
public static final String BIGTABLE_CHANNEL_TIMEOUT_MS_KEY
public static BigtableOptions fromConfiguration(org.apache.hadoop.conf.Configuration configuration) throws IOException
IOException
Copyright © 2015. All rights reserved.