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.
|
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 ServerStreamingCallSettings<Query,Row> readRowsSettings()
getStubSettings()
public UnaryCallSettings<Query,Row> readRowSettings()
@Deprecated public UnaryCallSettings<String,List<KeyOffset>> sampleRowKeysSettings()
getStubSettings()
@Deprecated public UnaryCallSettings<RowMutation,Void> mutateRowSettings()
getStubSettings()
@Deprecated public BatchingCallSettings<RowMutation,Void> bulkMutationsSettings()
getStubSettings()
@Deprecated public UnaryCallSettings<ConditionalRowMutation,Boolean> checkAndMutateRowSettings()
getStubSettings()
@Deprecated public UnaryCallSettings<ReadModifyWriteRow,Row> readModifyWriteRowSettings()
getStubSettings()
@Deprecated public ExecutorProvider getExecutorProvider()
getStubSettings()
@Deprecated public TransportChannelProvider getTransportChannelProvider()
getStubSettings()
@Deprecated public CredentialsProvider getCredentialsProvider()
getStubSettings()
@Deprecated public HeaderProvider getHeaderProvider()
getStubSettings()
@Deprecated public ApiClock getClock()
getStubSettings()
@Deprecated public String getEndpoint()
getStubSettings()
@Deprecated @Nullable public WatchdogProvider getStreamWatchdogProvider()
getStubSettings()
@Deprecated @Nonnull public org.threeten.bp.Duration getStreamWatchdogCheckInterval()
getStubSettings()
public BigtableDataSettings.Builder toBuilder()
Copyright © 2019 Google LLC. All rights reserved.