Serializable
, Cloneable
public class BigtableOptions extends Object implements Serializable, Cloneable
Modifier and Type | Class | Description |
---|---|---|
static class |
BigtableOptions.Builder |
A mutable builder for BigtableConnectionOptions.
|
Modifier and Type | Field | Description |
---|---|---|
static String |
BIGTABLE_ADMIN_HOST_DEFAULT |
Constant
BIGTABLE_ADMIN_HOST_DEFAULT="bigtableadmin.googleapis.com" |
static String |
BIGTABLE_APP_PROFILE_DEFAULT |
Constant
BIGTABLE_APP_PROFILE_DEFAULT="" , defaults to the server default app profile |
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 int |
BIGTABLE_PORT_DEFAULT |
Constant
BIGTABLE_PORT_DEFAULT=443 |
Modifier and Type | Method | Description |
---|---|---|
protected BigtableOptions |
clone() |
|
boolean |
equals(Object obj) |
|
String |
getAdminHost() |
Getter for the field
tableAdminHost . |
String |
getAppProfileId() |
Getter for the field
appProfileId . |
BulkOptions |
getBulkOptions() |
Getter for the field
bulkOptions . |
CallOptionsConfig |
getCallOptionsConfig() |
Getter for the field
callOptionsConfig . |
int |
getChannelCount() |
The number of data channels to create.
|
CredentialOptions |
getCredentialOptions() |
Get the credential this object was constructed with.
|
String |
getDataHost() |
Getter for the field
dataHost . |
static BigtableOptions |
getDefaultOptions() |
|
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 |
getUserAgent() |
Gets the user-agent to be appended to User-Agent header when creating new streams
for the channel.
|
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_ADMIN_HOST_DEFAULT
BIGTABLE_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 static final String BIGTABLE_APP_PROFILE_DEFAULT
BIGTABLE_APP_PROFILE_DEFAULT=""
, defaults to the server default app profilepublic static BigtableOptions getDefaultOptions()
public String getProjectId()
Getter for the field projectId
.
String
object.public String getAdminHost()
Getter for the field tableAdminHost
.
String
object.public String getInstanceId()
Getter for the field instanceId
.
String
object.public String getAppProfileId()
Getter for the field appProfileId
.
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
.protected BigtableOptions clone()