Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: java doc update to for returned data instances #165

Merged
merged 3 commits into from Feb 24, 2020
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -64,6 +64,9 @@
* an application. However, close() needs to be called on the client object to clean up resources
* such as threads during application shutdown.
*
* <p>This client can be safely shared across multiple threads except for the Batcher instances
* returned from bulk operations, eg. `newBulkMutationBatcher()`, `newBulkReadRowsBatcher()`.
*
rahulKQL marked this conversation as resolved.
Show resolved Hide resolved
* <p>The surface of this class includes several types of Java methods for each of the API's
* methods:
*
Expand Down Expand Up @@ -911,7 +914,8 @@ public void bulkMutateRows(BulkMutation mutation) {

/**
* Mutates multiple rows in a batch. Each individual row is mutated atomically as in MutateRow,
* but the entire batch is not executed atomically.
* but the entire batch is not executed atomically. The returned Batcher instance is not
* threadsafe, it can only be used from single thread.
*
* <p>Sample Code:
*
Expand Down Expand Up @@ -939,7 +943,8 @@ public Batcher<RowMutationEntry, Void> newBulkMutationBatcher(@Nonnull String ta

/**
* Reads rows for given tableId in a batch. If the row does not exist, the value will be null.
* This operation should be called with in a single thread.
* This operation should be called with in a single thread. The returned Batcher instance is not
* threadsafe, it can only be used from single thread.
*
* <p>Sample Code:
*
Expand Down Expand Up @@ -973,7 +978,8 @@ public Batcher<ByteString, Row> newBulkReadRowsBatcher(String tableId) {

/**
* Reads rows for given tableId and filter criteria in a batch. If the row does not exist, the
* value will be null. This operation should be called with in a single thread.
* value will be null. This operation should be called with in a single thread. The returned
* Batcher instance is not threadsafe, it can only be used from single thread.
*
* <p>Sample Code:
*
Expand Down