Search in sources :

Example 1 with BigtableTableName

use of com.google.cloud.bigtable.grpc.BigtableTableName in project beam by apache.

the class BigtableServiceImpl method openForWriting.

@Override
public BigtableWriterImpl openForWriting(String tableId) throws IOException {
    BigtableSession session = new BigtableSession(options);
    BigtableTableName tableName = options.getInstanceName().toTableName(tableId);
    return new BigtableWriterImpl(session, tableName);
}
Also used : BigtableTableName(com.google.cloud.bigtable.grpc.BigtableTableName) BigtableSession(com.google.cloud.bigtable.grpc.BigtableSession)

Aggregations

BigtableSession (com.google.cloud.bigtable.grpc.BigtableSession)1 BigtableTableName (com.google.cloud.bigtable.grpc.BigtableTableName)1