Codota Logo
BigtableTableAdminClient.createTable
Code IndexAdd Codota to your IDE (free)

How to use
createTable
method
in
com.google.cloud.bigtable.grpc.BigtableTableAdminClient

Best Java code snippets using com.google.cloud.bigtable.grpc.BigtableTableAdminClient.createTable (Showing top 3 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Gson g =
  • Codota Iconnew Gson()
  • Codota IconGsonBuilder gsonBuilder;gsonBuilder.create()
  • Codota Iconnew GsonBuilder().create()
  • Smart code suggestions by Codota
}
origin: com.google.cloud.bigtable/bigtable-hbase

/**
 * @param request a {@link CreateTableRequest} object to send.
 * @throws java.io.IOException if any.
 */
protected void createTable(TableName tableName, CreateTableRequest request)
    throws IOException {
 try {
  bigtableTableAdminClient.createTable(
      request.toProto(bigtableInstanceName.toAdminInstanceName()));
 } catch (Throwable throwable) {
  throw convertToTableExistsException(tableName, throwable);
 }
}
origin: GoogleCloudPlatform/cloud-bigtable-client

/** {@inheritDoc} */
@Override
public Table createTable(CreateTableRequest request) {
 com.google.bigtable.admin.v2.CreateTableRequest requestProto =
   request.toProto(instanceName.getProjectId(), instanceName.getInstanceId());
 adminClient.createTable(requestProto);
 return getTable(requestProto.getTableId());
}
origin: org.apache.beam/beam-sdks-java-io-google-cloud-platform

/** Helper function to create an empty table. */
private void createEmptyTable(String instanceName, String tableId) {
 Table.Builder tableBuilder = Table.newBuilder();
 tableBuilder.putColumnFamilies(COLUMN_FAMILY_NAME, ColumnFamily.newBuilder().build());
 CreateTableRequest.Builder createTableRequestBuilder =
   CreateTableRequest.newBuilder()
     .setParent(instanceName)
     .setTableId(tableId)
     .setTable(tableBuilder.build());
 tableAdminClient.createTable(createTableRequestBuilder.build());
}
com.google.cloud.bigtable.grpcBigtableTableAdminClientcreateTable

Javadoc

Creates a new table. The table can be created with a full set of initial column families, specified in the request.

Popular methods of BigtableTableAdminClient

  • getTable
  • createTableAsync
  • deleteTable
  • createTableFromSnapshotAsync
  • deleteSnapshotAsync
  • deleteTableAsync
  • dropRowRange
  • dropRowRangeAsync
  • getTableAsync
  • listSnapshotsAsync
  • listTables
  • listTablesAsync
  • listTables,
  • listTablesAsync,
  • modifyColumnFamily,
  • modifyColumnFamilyAsync,
  • snapshotTableAsync,
  • getSnapshotAsync

Popular in Java

  • Parsing JSON documents to java classes using gson
  • findViewById (Activity)
  • scheduleAtFixedRate (Timer)
  • getContentResolver (Context)
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now