BigtableOptions (Cloud Bigtable HBase Client for Java 1.12.0 API)

com.google.cloud.bigtable.config

Class BigtableOptions

    • 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_ADMIN_HOST_DEFAULT

        public static final String BIGTABLE_ADMIN_HOST_DEFAULT
        Constant BIGTABLE_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()
      • BIGTABLE_APP_PROFILE_DEFAULT

        public static final String BIGTABLE_APP_PROFILE_DEFAULT
        Constant BIGTABLE_APP_PROFILE_DEFAULT="", defaults to the server default app profile
        See Also:
        Constant Field Values
    • 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.
      • getAdminHost

        public String getAdminHost()
        Getter for the field tableAdminHost.
        Returns:
        a String object.
      • getInstanceId

        public String getInstanceId()
        Getter for the field instanceId.
        Returns:
        a String object.
      • getAppProfileId

        public String getAppProfileId()
        Getter for the field appProfileId.
        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.
      • useGCJClient

        public boolean useGCJClient()
        useGCJClient
        Returns:
        a boolean flag to decide which client to use for Data & Admin Operations.
      • 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.
      • useBatch

        public boolean useBatch()