BigtableOptions (Cloud Bigtable HBase Client for Java 0.9.7.1 API)

com.google.cloud.bigtable.config

Class BigtableOptions

  • All Implemented Interfaces:
    Serializable


    public class BigtableOptions
    extends Object
    implements Serializable
    An immutable class providing access to configuration options for Bigtable.
    Version:
    $Id: $Id
    Author:
    sduskis
    See Also:
    Serialized Form
    • Field Detail

      • BIGTABLE_EMULATOR_HOST_ENV_VAR

        public static final String BIGTABLE_EMULATOR_HOST_ENV_VAR
        Constant BIGTABLE_EMULATOR_HOST_ENV_VAR="bigtableadmin.googleapis.com"
        See Also:
        Constant Field Values
      • BIGTABLE_TABLE_ADMIN_HOST_DEFAULT

        public static final String BIGTABLE_TABLE_ADMIN_HOST_DEFAULT
        Constant BIGTABLE_TABLE_ADMIN_HOST_DEFAULT="bigtableadmin.googleapis.com"
        See Also:
        Constant Field Values
      • BIGTABLE_INSTANCE_ADMIN_HOST_DEFAULT

        public static final String BIGTABLE_INSTANCE_ADMIN_HOST_DEFAULT
        Constant BIGTABLE_INSTANCE_ADMIN_HOST_DEFAULT="bigtableadmin.googleapis.com"
        See Also:
        Constant Field Values
      • BIGTABLE_DATA_HOST_DEFAULT

        public static final String BIGTABLE_DATA_HOST_DEFAULT
        Constant BIGTABLE_DATA_HOST_DEFAULT="bigtable.googleapis.com"
        See Also:
        Constant Field Values
      • BIGTABLE_BATCH_DATA_HOST_DEFAULT

        public static final String BIGTABLE_BATCH_DATA_HOST_DEFAULT
        Constant BIGTABLE_BATCH_DATA_HOST_DEFAULT="bigtable.googleapis.com"
        See Also:
        Constant Field Values
      • BIGTABLE_PORT_DEFAULT

        public static final int BIGTABLE_PORT_DEFAULT
        Constant BIGTABLE_PORT_DEFAULT=443
        See Also:
        Constant Field Values
      • BIGTABLE_DATA_CHANNEL_COUNT_DEFAULT

        public static final int BIGTABLE_DATA_CHANNEL_COUNT_DEFAULT
        Constant BIGTABLE_DATA_CHANNEL_COUNT_DEFAULT=getDefaultDataChannelCount()
    • Method Detail

      • getProjectId

        public String getProjectId()

        Getter for the field projectId.

        Returns:
        a String object.
      • getDataHost

        public String getDataHost()

        Getter for the field dataHost.

        Returns:
        a String object.
      • getTableAdminHost

        public String getTableAdminHost()

        Getter for the field tableAdminHost.

        Returns:
        a String object.
      • getInstanceAdminHost

        public String getInstanceAdminHost()

        Getter for the field instanceAdminHost.

        Returns:
        a String object.
      • getInstanceId

        public String getInstanceId()

        Getter for the field instanceId.

        Returns:
        a String object.
      • getZoneId

        public String getZoneId()

        Getter for the field zoneId.

        Returns:
        a String object.
      • getClusterId

        public String getClusterId()

        Getter for the field clusterId.

        Returns:
        a String object.
      • getPort

        public int getPort()

        Getter for the field port.

        Returns:
        a int.
      • getCredentialOptions

        public CredentialOptions getCredentialOptions()
        Get the credential this object was constructed with. May be null.
        Returns:
        Null to indicate no credentials, otherwise, the Credentials object.
      • getUserAgent

        public String getUserAgent()
        Gets the user-agent to be appended to User-Agent header when creating new streams for the channel.
        Returns:
        a String object.
      • getChannelCount

        public int getChannelCount()
        The number of data channels to create.
        Returns:
        a int.
      • getBulkOptions

        public BulkOptions getBulkOptions()

        Getter for the field bulkOptions.

        Returns:
        a BulkOptions object.
      • usePlaintextNegotiation

        public boolean usePlaintextNegotiation()

        usePlaintextNegotiation.

        Returns:
        a boolean.
      • useCachedChannel

        public boolean useCachedChannel()
        Experimental feature to allow situations with multiple connections to optimize their startup time.
        Returns:
        true if this feature should be turned on in BigtableSession.


Monitor your resources on the go

Get the Google Cloud Console app to help you manage your projects.

Send feedback about...

Cloud Bigtable Documentation