public final class BigtableDataSettings extends Object
BigtableDataClient
.
Sane defaults are provided for most settings:
The only required setting is the instance name.
The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.
BigtableDataSettings.Builder settingsBuilder = BigtableDataSettings.newBuilder()
.setProjectId("my-project")
.setInstanceId("my-instance-id")
.setAppProfileId("default");
BigtableDataSettings settings = builder.build();
For fine grained control of individual RPCs, please refer to EnhancedBigtableStubSettings
, which is exposed as BigtableDataSettings.Builder.stubSettings()
.
Modifier and Type | Class and Description |
---|---|
static class |
BigtableDataSettings.Builder
Builder for BigtableDataSettings.
|
Modifier and Type | Method and Description |
---|---|
com.google.api.gax.rpc.BatchingCallSettings<RowMutation,Void> |
bulkMutationsSettings()
Deprecated.
Please use
getStubSettings() |
com.google.api.gax.rpc.UnaryCallSettings<ConditionalRowMutation,Boolean> |
checkAndMutateRowSettings()
Deprecated.
Please use
getStubSettings() |
String |
getAppProfileId()
Returns the configured AppProfile id to use.
|
com.google.api.core.ApiClock |
getClock()
Deprecated.
Please use
getStubSettings() |
com.google.api.gax.core.CredentialsProvider |
getCredentialsProvider()
Deprecated.
Please use
getStubSettings() |
String |
getEndpoint()
Deprecated.
Please use
getStubSettings() |
com.google.api.gax.core.ExecutorProvider |
getExecutorProvider()
Deprecated.
Please use
getStubSettings() |
com.google.api.gax.rpc.HeaderProvider |
getHeaderProvider()
Deprecated.
Please use
getStubSettings() |
String |
getInstanceId()
Returns the target instance id.
|
String |
getProjectId()
Returns the target project id.
|
org.threeten.bp.Duration |
getStreamWatchdogCheckInterval()
Deprecated.
Please use
getStubSettings() |
com.google.api.gax.rpc.WatchdogProvider |
getStreamWatchdogProvider()
Deprecated.
Please use
getStubSettings() |
EnhancedBigtableStubSettings |
getStubSettings()
Returns the underlying RPC settings.
|
com.google.api.gax.rpc.TransportChannelProvider |
getTransportChannelProvider()
Deprecated.
Please use
getStubSettings() |
com.google.api.gax.rpc.UnaryCallSettings<RowMutation,Void> |
mutateRowSettings()
Deprecated.
Please use
getStubSettings() |
static BigtableDataSettings.Builder |
newBuilder()
Create a new builder.
|
static BigtableDataSettings.Builder |
newBuilderForEmulator(int port)
Create a new builder preconfigured to connect to the Bigtable emulator.
|
com.google.api.gax.rpc.UnaryCallSettings<ReadModifyWriteRow,Row> |
readModifyWriteRowSettings()
Deprecated.
Please use
getStubSettings() |
com.google.api.gax.rpc.UnaryCallSettings<Query,Row> |
readRowSettings()
Returns the object with the settings used for point reads via ReadRow.
|
com.google.api.gax.rpc.ServerStreamingCallSettings<Query,Row> |
readRowsSettings()
Deprecated.
Please use
getStubSettings() |
com.google.api.gax.rpc.UnaryCallSettings<String,List<KeyOffset>> |
sampleRowKeysSettings()
Deprecated.
Please use
getStubSettings() |
BigtableDataSettings.Builder |
toBuilder()
Returns a builder containing all the values of this settings class.
|
public static BigtableDataSettings.Builder newBuilder()
public static BigtableDataSettings.Builder newBuilderForEmulator(int port)
public String getProjectId()
public String getInstanceId()
public String getAppProfileId()
public EnhancedBigtableStubSettings getStubSettings()
@Deprecated public com.google.api.gax.rpc.ServerStreamingCallSettings<Query,Row> readRowsSettings()
getStubSettings()
public com.google.api.gax.rpc.UnaryCallSettings<Query,Row> readRowSettings()
@Deprecated public com.google.api.gax.rpc.UnaryCallSettings<String,List<KeyOffset>> sampleRowKeysSettings()
getStubSettings()
@Deprecated public com.google.api.gax.rpc.UnaryCallSettings<RowMutation,Void> mutateRowSettings()
getStubSettings()
@Deprecated public com.google.api.gax.rpc.BatchingCallSettings<RowMutation,Void> bulkMutationsSettings()
getStubSettings()
@Deprecated public com.google.api.gax.rpc.UnaryCallSettings<ConditionalRowMutation,Boolean> checkAndMutateRowSettings()
getStubSettings()
@Deprecated public com.google.api.gax.rpc.UnaryCallSettings<ReadModifyWriteRow,Row> readModifyWriteRowSettings()
getStubSettings()
@Deprecated public com.google.api.gax.core.ExecutorProvider getExecutorProvider()
getStubSettings()
@Deprecated public com.google.api.gax.rpc.TransportChannelProvider getTransportChannelProvider()
getStubSettings()
@Deprecated public com.google.api.gax.core.CredentialsProvider getCredentialsProvider()
getStubSettings()
@Deprecated public com.google.api.gax.rpc.HeaderProvider getHeaderProvider()
getStubSettings()
@Deprecated public com.google.api.core.ApiClock getClock()
getStubSettings()
@Deprecated public String getEndpoint()
getStubSettings()
@Deprecated @Nullable public com.google.api.gax.rpc.WatchdogProvider getStreamWatchdogProvider()
getStubSettings()
@Deprecated @Nonnull public org.threeten.bp.Duration getStreamWatchdogCheckInterval()
getStubSettings()
public BigtableDataSettings.Builder toBuilder()
Copyright © 2019 Google LLC. All rights reserved.