Uh oh!
There was an error while loading. Please reload this page.
Bigtable: 04. Surface: MutateRow - #2861
Conversation
470581b to
7a6a854Compareigorbernstein2
commented
Feb 8, 2018
rebased |
igorbernstein2
commented
Feb 12, 2018
PTAL. |
ceac493 to
9216a0eCompareigorbernstein2
commented
Feb 13, 2018
rebased |
| return create(tableId, ByteString.copyFromUtf8(key)); | ||
| } | ||
| public static RowMutation create(@Nonnull String tableId, @Nonnull ByteString key) { |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
| * } | ||
| * }</pre> | ||
| */ | ||
| public ApiFuture<Void> mutateRow(RowMutation rowMutation) { |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
| * RowMutation mutation = RowMutation.create("[TABLE]", "[ROW KEY]") | ||
| * .setCell("[FAMILY NAME]", "[QUALIFIER]", "[VALUE]"); | ||
| * | ||
| * bigtableClient.mutateRowCallable.call(mutation); |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
| * See the License for the specific language governing permissions and | ||
| * limitations under the License. | ||
| */ | ||
| package com.google.cloud.bigtable.data.v2.wrappers; |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
| import javax.annotation.Nonnull; | ||
| /** This is the base DSL for creating mutations for {@link RowMutation} */ | ||
| @InternalApi |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
| private final ImmutableList.Builder<Mutation> mutations = ImmutableList.builder(); | ||
| @InternalApi | ||
| protected AbstractMutation() {} |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
| import com.google.protobuf.ByteString; | ||
| import javax.annotation.Nonnull; | ||
| public class RowMutation extends AbstractMutation<RowMutation> { |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
| import com.google.common.base.Preconditions; | ||
| import javax.annotation.Nonnull; | ||
| class Validations { |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
9216a0e to
9f9f9a8Compare9f9f9a8 to
2f47967Compareigorbernstein2
commented
Feb 15, 2018
I think responded to all feedback. PTAL and let me know how I should proceed |
pongad
commented
Feb 15, 2018
This LGTM, but @garrettjonesgoogle should +2 |
igorbernstein2
commented
Feb 20, 2018
@garrettjonesgoogle please PTAL and if you are ok with compromise, please merge |
garrettjonesgoogle
left a comment
There was a problem hiding this comment.
LGTM - we will merge after the current release in progress is complete
… v0.10.0 (#2861) [](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.graalvm.buildtools:native-maven-plugin](https://togithub.com/graalvm/native-build-tools) | `0.9.28` -> `0.10.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>graalvm/native-build-tools (org.graalvm.buildtools:native-maven-plugin)</summary> ### [`v0.10.0`](https://togithub.com/graalvm/native-build-tools/releases/tag/0.10.0) [Compare Source](https://togithub.com/graalvm/native-build-tools/compare/0.9.28...0.10.0) #### What's Changed - Remove redundant settings.gradle configuration by [@​melix](https://togithub.com/melix) in [https://togithub.com/graalvm/native-build-tools/pull/532](https://togithub.com/graalvm/native-build-tools/pull/532) - Add concurrency with test array in matrix by [@​dnestoro](https://togithub.com/dnestoro) in [https://togithub.com/graalvm/native-build-tools/pull/482](https://togithub.com/graalvm/native-build-tools/pull/482) - Reduce Time Required for Each Test Execution by [@​dnestoro](https://togithub.com/dnestoro) in [https://togithub.com/graalvm/native-build-tools/pull/531](https://togithub.com/graalvm/native-build-tools/pull/531) - Bump metadata version to 0.3.5 by [@​dnestoro](https://togithub.com/dnestoro) in [https://togithub.com/graalvm/native-build-tools/pull/538](https://togithub.com/graalvm/native-build-tools/pull/538) - Improve the documentation by [@​albertattard](https://togithub.com/albertattard) in [https://togithub.com/graalvm/native-build-tools/pull/540](https://togithub.com/graalvm/native-build-tools/pull/540) - \[GR-46872] Review and align the stucture Gradle and Maven quickstart guides. by [@​olyagpl](https://togithub.com/olyagpl) in [https://togithub.com/graalvm/native-build-tools/pull/539](https://togithub.com/graalvm/native-build-tools/pull/539) - Substitute `<arg>` with `<buildArg>` in Maven plugin doc. by [@​olyagpl](https://togithub.com/olyagpl) in [https://togithub.com/graalvm/native-build-tools/pull/551](https://togithub.com/graalvm/native-build-tools/pull/551) - Make Plugins Use Metadata Repository by Default by [@​dnestoro](https://togithub.com/dnestoro) in [https://togithub.com/graalvm/native-build-tools/pull/557](https://togithub.com/graalvm/native-build-tools/pull/557) - Bump metadata repository version to 0.3.6 by [@​dnestoro](https://togithub.com/dnestoro) in [https://togithub.com/graalvm/native-build-tools/pull/561](https://togithub.com/graalvm/native-build-tools/pull/561) - Bump version of GraalVM by [@​dnestoro](https://togithub.com/dnestoro) in [https://togithub.com/graalvm/native-build-tools/pull/563](https://togithub.com/graalvm/native-build-tools/pull/563) #### New Contributors - [@​albertattard](https://togithub.com/albertattard) made their first contribution in [https://togithub.com/graalvm/native-build-tools/pull/540](https://togithub.com/graalvm/native-build-tools/pull/540) **Full Changelog**: https://togithub.com/graalvm/native-build-tools/compare/0.9.28...0.10.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/googleapis/java-spanner). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
🤖 I have created a release *beep* *boop* --- ## [6.60.1](https://togithub.com/googleapis/java-spanner/compare/v6.60.0...v6.60.1) (2024-02-23) ### Dependencies * Update dependency com.google.cloud:google-cloud-monitoring to v3.37.0 ([#2920](https://togithub.com/googleapis/java-spanner/issues/2920)) ([c2115a6](https://togithub.com/googleapis/java-spanner/commit/c2115a698b00f2dce810b7a48ad7b722d085200c)) * Update dependency org.graalvm.buildtools:native-maven-plugin to v0.10.0 ([#2861](https://togithub.com/googleapis/java-spanner/issues/2861)) ([d32adc3](https://togithub.com/googleapis/java-spanner/commit/d32adc3587f388464f3f5c5e42ecd94b9b49bb2f)) * Update dependency org.graalvm.buildtools:native-maven-plugin to v0.10.1 ([#2919](https://togithub.com/googleapis/java-spanner/issues/2919)) ([cbd6629](https://togithub.com/googleapis/java-spanner/commit/cbd66293b45aac7b6d3c6951af2fd1b3880839e9)) * Update dependency org.json:json to v20240205 ([#2913](https://togithub.com/googleapis/java-spanner/issues/2913)) ([98fa243](https://togithub.com/googleapis/java-spanner/commit/98fa243025b624b397a4589cca6d94934496d011)) * Update dependency org.junit.vintage:junit-vintage-engine to v5.10.2 ([#2868](https://togithub.com/googleapis/java-spanner/issues/2868)) ([030d281](https://togithub.com/googleapis/java-spanner/commit/030d281a120cfc56a628e19dd4cb01f986f283ab)) * Update opentelemetry.version to v1.35.0 ([#2902](https://togithub.com/googleapis/java-spanner/issues/2902)) ([f2cdf12](https://togithub.com/googleapis/java-spanner/commit/f2cdf126be9cd3fc1741a9cf2d29041d34a372a9)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
Adds the surface to wrap Mutate RPC. The surface wraps the MutationRow Request & Response and adds a common mutation api to be used with CheckAndMutateRow & the bulk MutateRows rpcs.
This PR contains a copy of Range from #2849.
This has been reviewed Kevin. However some things have changed since the original review: