Skip to content

Conversation

@mziccard
Copy link
Contributor

This PR removes JobInfo hierarchy and replaces it with a hierarchy on JobConfiguration. This change is needed to make functional Job extend JobInfo. Notes:

  • A configuration object (CopyJobConfiguration, ExtractJobConfiguration, LoadJobConfiguration or QueryJobConfiguration) must be provided to create a JobInfo object.
  • LoadJobConfiguration also extends LoadConfiguration which is used for resumable uploads
  • JobConfiguration is an interface with only a type() method since configurations have no common data (this is also required to make LoadJobConfiguration extend LoadConfiguration).

@mziccard mziccard added the api: bigquery Issues related to the BigQuery API. label Jan 26, 2016
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jan 26, 2016
@mziccard mziccard force-pushed the bigquery-hierachies branch from e0a6fec to 84402ac Compare January 26, 2016 15:49

This comment was marked as spam.

@aozarov
Copy link
Contributor

aozarov commented Jan 26, 2016

Done withe the review. looks good. Main comment (as discussed verbally) is the suggestion to make JobConfiguration interface an abstract class (and use package scope methods to set or get from pb).

@mziccard mziccard force-pushed the bigquery-hierachies branch from 022ad08 to d170550 Compare January 27, 2016 12:23
@mziccard mziccard force-pushed the bigquery-hierachies branch from d170550 to a2c8b39 Compare January 27, 2016 12:40

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@aozarov
Copy link
Contributor

aozarov commented Jan 29, 2016

Looks great! Do you plan to do the same for BaseTableInfo ?

BTW, looks like BigQueryException has 2 unused import statements.

This comment was marked as spam.

This comment was marked as spam.

@mziccard
Copy link
Contributor Author

@aozarov Yes I plan to do a similar change to table's hierarchy but in a different PR as this is already big enough.

aozarov added a commit that referenced this pull request Jan 29, 2016
Remove JobInfo hierarchy, add JobConfiguration hierarchy
@aozarov aozarov merged commit b4bddff into googleapis:master Jan 29, 2016
github-actions bot pushed a commit to suztomo/google-cloud-java that referenced this pull request Jun 29, 2022
github-actions bot pushed a commit that referenced this pull request Oct 7, 2022
…o v2.5.2 (#584)

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.cloud:google-cloud-retail](https://togithub.com/googleapis/java-retail) ([source](https://togithub.com/googleapis/java-)) | `2.5.1` -> `2.5.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-retail/2.5.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-retail/2.5.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-retail/2.5.2/compatibility-slim/2.5.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-retail/2.5.2/confidence-slim/2.5.1)](https://docs.renovatebot.com/merge-confidence/) |

---

### 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, click this checkbox.

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-retail).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4yMTkuMSIsInVwZGF0ZWRJblZlciI6IjMyLjIxOS4xIn0=-->
meltsufin pushed a commit that referenced this pull request Dec 22, 2025
This PR was generated using Autosynth. 🌈


<details><summary>Log from Synthtool</summary>

```
2021-07-15 14:31:54,255 synthtool [DEBUG] > Executing /root/.cache/synthtool/java-logging/.github/readme/synth.py.
On branch autosynth-readme
nothing to commit, working tree clean
2021-07-15 14:31:55,514 synthtool [DEBUG] > Wrote metadata to .github/readme/synth.metadata/synth.metadata.

```
</details>

Full log will be available here:
https://source.cloud.google.com/results/invocations/81c91fa3-2a6b-4ed0-853b-380810c54bf3/targets

- [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigquery Issues related to the BigQuery API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants