2323import com .google .api .gax .rpc .UnaryCallable ;
2424import com .google .bigtable .admin .v2 .InstanceName ;
2525import com .google .cloud .bigtable .data .v2 .stub .EnhancedBigtableStub ;
26- import com .google .cloud .bigtable .data .v2 .wrappers .KeyOffset ;
27- import com .google .cloud .bigtable .data .v2 .wrappers .Query ;
28- import com .google .cloud .bigtable .data .v2 .wrappers .Row ;
29- import com .google .cloud .bigtable .data .v2 .wrappers .RowAdapter ;
30- import com .google .cloud .bigtable .data .v2 .wrappers .RowMutation ;
26+ import com .google .cloud .bigtable .data .v2 .models .KeyOffset ;
27+ import com .google .cloud .bigtable .data .v2 .models .Query ;
28+ import com .google .cloud .bigtable .data .v2 .models .Row ;
29+ import com .google .cloud .bigtable .data .v2 .models .RowAdapter ;
30+ import com .google .cloud .bigtable .data .v2 .models .RowMutation ;
3131import java .io .IOException ;
3232import java .util .List ;
3333
@@ -129,7 +129,7 @@ public static BigtableDataClient create(BigtableDataSettings settings) throws IO
129129 *
130130 * <pre>{@code
131131 * // Import the filter DSL
132- * import static com.google.cloud.bigtable.data.v2.wrappers .Filters.FILTERS;
132+ * import static com.google.cloud.bigtable.data.v2.models .Filters.FILTERS;
133133 *
134134 * InstanceName instanceName = InstanceName.of("[PROJECT]", "[INSTANCE]");
135135 * try (BigtableClient bigtableClient = BigtableClient.create(instanceName)) {
@@ -148,7 +148,7 @@ public static BigtableDataClient create(BigtableDataSettings settings) throws IO
148148 *
149149 * @see ServerStreamingCallable For call styles.
150150 * @see Query For query options.
151- * @see com.google.cloud.bigtable.data.v2.wrappers .Filters For the filter building DSL.
151+ * @see com.google.cloud.bigtable.data.v2.models .Filters For the filter building DSL.
152152 */
153153 public ServerStream <Row > readRows (Query query ) {
154154 return readRowsCallable ().call (query );
@@ -216,7 +216,7 @@ public void readRowsAsync(Query query, ResponseObserver<Row> observer) {
216216 *
217217 * @see ServerStreamingCallable For call styles.
218218 * @see Query For query options.
219- * @see com.google.cloud.bigtable.data.v2.wrappers .Filters For the filter building DSL.
219+ * @see com.google.cloud.bigtable.data.v2.models .Filters For the filter building DSL.
220220 */
221221 public ServerStreamingCallable <Query , Row > readRowsCallable () {
222222 return stub .readRowsCallable ();
@@ -246,7 +246,7 @@ public ServerStreamingCallable<Query, Row> readRowsCallable() {
246246 *
247247 * @see ServerStreamingCallable For call styles.
248248 * @see Query For query options.
249- * @see com.google.cloud.bigtable.data.v2.wrappers .Filters For the filter building DSL.
249+ * @see com.google.cloud.bigtable.data.v2.models .Filters For the filter building DSL.
250250 */
251251 public <RowT > ServerStreamingCallable <Query , RowT > readRowsCallable (RowAdapter <RowT > rowAdapter ) {
252252 return stub .createReadRowsCallable (rowAdapter );
@@ -262,11 +262,11 @@ public <RowT> ServerStreamingCallable<Query, RowT> readRowsCallable(RowAdapter<R
262262 * <pre>{@code
263263 * InstanceName instanceName = InstanceName.of("[PROJECT]", "[INSTANCE]");
264264 * try (BigtableClient bigtableClient = BigtableClient.create(instanceName)) {
265- * ApiFuture<List<KeyOffset>> keyOffsets = bigtableClient.sampleRowKeys ("[TABLE]");
265+ * ApiFuture<List<KeyOffset>> keyOffsets = bigtableClient.sampleRowKeysAsync ("[TABLE]");
266266 * }
267267 * }</pre>
268268 */
269- public ApiFuture <List <KeyOffset >> sampleRowKeys (String tableId ) {
269+ public ApiFuture <List <KeyOffset >> sampleRowKeysAsync (String tableId ) {
270270 return sampleRowKeysCallable ().futureCall (tableId );
271271 }
272272
@@ -305,11 +305,11 @@ public UnaryCallable<String, List<KeyOffset>> sampleRowKeysCallable() {
305305 * RowMutation mutation = RowMutation.create("[TABLE]", "[ROW KEY]")
306306 * .setCell("[FAMILY NAME]", "[QUALIFIER]", "[VALUE]");
307307 *
308- * ApitFuture<Void> future = bigtableClient.mutateRow (mutation);
308+ * ApitFuture<Void> future = bigtableClient.mutateRowAsync (mutation);
309309 * }
310310 * }</pre>
311311 */
312- public ApiFuture <Void > mutateRow (RowMutation rowMutation ) {
312+ public ApiFuture <Void > mutateRowAsync (RowMutation rowMutation ) {
313313 return mutateRowCallable ().futureCall (rowMutation );
314314 }
315315
0 commit comments