com.google.cloud.bigtable.config.BigtableOptions

Here are the examples of the java api class com.google.cloud.bigtable.config.BigtableOptions taken from open source projects.

1. BigtableConnectionBuilder#call()

View license
@Override
public BigtableConnection call() throws Exception {
    final CredentialOptions credentials = this.credentials.build();
    final BigtableOptions options = new BigtableOptions.Builder().setProjectId(project).setZoneId(zone).setClusterId(cluster).setUserAgent(USER_AGENT).setDataChannelCount(64).setCredentialOptions(credentials).build();
    final BigtableSession session = new BigtableSession(options, executorService);
    final BigtableTableAdminClient adminClient = new BigtableTableTableAdminClientImpl(async, session.getTableAdminClient(), project, zone, cluster);
    final BigtableDataClient client = new BigtableDataClientImpl(async, session.getDataClient(), project, zone, cluster);
    return new GrpcBigtableConnection(project, zone, cluster, session, adminClient, client);
}