public class BigtableOptions extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
BigtableOptions.Builder
A mutable builder for BigtableConnectionOptions.
|
Modifier and Type | Field and Description |
---|---|
static String |
BIGTABLE_BATCH_DATA_HOST_DEFAULT
Constant
BIGTABLE_BATCH_DATA_HOST_DEFAULT="bigtable.googleapis.com" |
static int |
BIGTABLE_DATA_CHANNEL_COUNT_DEFAULT
Constant
BIGTABLE_DATA_CHANNEL_COUNT_DEFAULT=getDefaultDataChannelCount() |
static String |
BIGTABLE_DATA_HOST_DEFAULT
Constant
BIGTABLE_DATA_HOST_DEFAULT="bigtable.googleapis.com" |
static String |
BIGTABLE_EMULATOR_HOST_ENV_VAR
Constant
BIGTABLE_EMULATOR_HOST_ENV_VAR="bigtableadmin.googleapis.com" |
static String |
BIGTABLE_INSTANCE_ADMIN_HOST_DEFAULT
Constant
BIGTABLE_INSTANCE_ADMIN_HOST_DEFAULT="bigtableadmin.googleapis.com" |
static int |
BIGTABLE_PORT_DEFAULT
Constant
BIGTABLE_PORT_DEFAULT=443 |
static String |
BIGTABLE_TABLE_ADMIN_HOST_DEFAULT
Constant
BIGTABLE_TABLE_ADMIN_HOST_DEFAULT="bigtableadmin.googleapis.com" |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
BulkOptions |
getBulkOptions()
Getter for the field
bulkOptions . |
CallOptionsConfig |
getCallOptionsConfig()
Getter for the field
callOptionsConfig . |
int |
getChannelCount()
The number of data channels to create.
|
String |
getClusterId()
Getter for the field
clusterId . |
CredentialOptions |
getCredentialOptions()
Get the credential this object was constructed with.
|
String |
getDataHost()
Getter for the field
dataHost . |
String |
getInstanceAdminHost()
Getter for the field
instanceAdminHost . |
String |
getInstanceId()
Getter for the field
instanceId . |
BigtableInstanceName |
getInstanceName()
Getter for the field
instanceName . |
int |
getPort()
Getter for the field
port . |
String |
getProjectId()
Getter for the field
projectId . |
RetryOptions |
getRetryOptions()
Options controlling retries.
|
String |
getTableAdminHost()
Getter for the field
tableAdminHost . |
String |
getUserAgent()
Gets the user-agent to be appended to User-Agent header when creating new streams
for the channel.
|
String |
getZoneId()
Getter for the field
zoneId . |
BigtableOptions.Builder |
toBuilder()
toBuilder.
|
String |
toString() |
boolean |
useCachedChannel()
Experimental feature to allow situations with multiple connections to optimize their startup
time.
|
boolean |
usePlaintextNegotiation()
usePlaintextNegotiation.
|
public static final String BIGTABLE_EMULATOR_HOST_ENV_VAR
BIGTABLE_EMULATOR_HOST_ENV_VAR="bigtableadmin.googleapis.com"
public static final String BIGTABLE_TABLE_ADMIN_HOST_DEFAULT
BIGTABLE_TABLE_ADMIN_HOST_DEFAULT="bigtableadmin.googleapis.com"
public static final String BIGTABLE_INSTANCE_ADMIN_HOST_DEFAULT
BIGTABLE_INSTANCE_ADMIN_HOST_DEFAULT="bigtableadmin.googleapis.com"
public static final String BIGTABLE_DATA_HOST_DEFAULT
BIGTABLE_DATA_HOST_DEFAULT="bigtable.googleapis.com"
public static final String BIGTABLE_BATCH_DATA_HOST_DEFAULT
BIGTABLE_BATCH_DATA_HOST_DEFAULT="bigtable.googleapis.com"
public static final int BIGTABLE_PORT_DEFAULT
BIGTABLE_PORT_DEFAULT=443
public static final int BIGTABLE_DATA_CHANNEL_COUNT_DEFAULT
BIGTABLE_DATA_CHANNEL_COUNT_DEFAULT=getDefaultDataChannelCount()
public String getTableAdminHost()
Getter for the field tableAdminHost
.
String
object.public String getInstanceAdminHost()
Getter for the field instanceAdminHost
.
String
object.public String getInstanceId()
Getter for the field instanceId
.
String
object.public int getPort()
Getter for the field port
.
public CredentialOptions getCredentialOptions()
public String getUserAgent()
String
object.public RetryOptions getRetryOptions()
RetryOptions
object.public int getChannelCount()
public BigtableInstanceName getInstanceName()
Getter for the field instanceName
.
BigtableInstanceName
object.public BulkOptions getBulkOptions()
Getter for the field bulkOptions
.
BulkOptions
object.public boolean usePlaintextNegotiation()
usePlaintextNegotiation.
public CallOptionsConfig getCallOptionsConfig()
Getter for the field callOptionsConfig
.
CallOptionsConfig
object.public BigtableOptions.Builder toBuilder()
toBuilder.
BigtableOptions.Builder
object.public boolean useCachedChannel()
BigtableSession
.