Codota Logo
BigtableTableName.<init>
Code IndexAdd Codota to your IDE (free)

How to use
com.google.cloud.bigtable.grpc.BigtableTableName
constructor

Best Java code snippets using com.google.cloud.bigtable.grpc.BigtableTableName.<init> (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
StringBuilder s =
  • Codota Iconnew StringBuilder()
  • Codota Iconnew StringBuilder(32)
  • Codota IconString str;new StringBuilder(str)
  • Smart code suggestions by Codota
}
origin: GoogleCloudPlatform/cloud-bigtable-client

/**
 * <p>toTableName.</p>
 *
 * @param tableId a {@link java.lang.String} object.
 * @return a {@link com.google.cloud.bigtable.grpc.BigtableTableName} object.
 */
public BigtableTableName toTableName(String tableId) {
 return new BigtableTableName(toTableNameStr(tableId));
}
origin: GoogleCloudPlatform/cloud-bigtable-client

/** {@inheritDoc} */
@Override
public List<HBaseProtos.SnapshotDescription> listSnapshots() throws IOException {
 ListSnapshotsRequest request = ListSnapshotsRequest.newBuilder()
   .setParent(getSnapshotClusterName().toString())
   .build();
 ListSnapshotsResponse snapshotList = Futures.getChecked(
   bigtableTableAdminClient.listSnapshotsAsync(request),
   IOException.class
 );
 List<HBaseProtos.SnapshotDescription> response = new ArrayList<>();
 for (Snapshot snapshot : snapshotList.getSnapshotsList()) {
  BigtableSnapshotName snapshotName = new BigtableSnapshotName(snapshot.getName());
  BigtableTableName tableName = new BigtableTableName(snapshot.getSourceTable().getName());
  response.add(HBaseProtos.SnapshotDescription.newBuilder()
    .setName(snapshotName.getSnapshotId())
    .setTable(tableName.getTableId())
    .setCreationTime(TimeUnit.SECONDS.toMillis(snapshot.getCreateTime().getSeconds()))
    .build());
 }
 return response;
}
com.google.cloud.bigtable.grpcBigtableTableName<init>

Popular methods of BigtableTableName

  • toString
  • getTableId
  • toGcbInstanceName

Popular in Java

  • Start an intent from android
  • requestLocationUpdates (LocationManager)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • PrintWriter (java.io)
    Prints formatted representations of objects to a text-output stream. This class implements all of th
  • Permission (java.security)
    Abstract class for representing access to a system resource. All permissions have a name (whose inte
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • JFrame (javax.swing)
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Runner (org.openjdk.jmh.runner)
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