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

Dns batch merge #868

Merged
merged 98 commits into from
Apr 6, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
98 commits
Select commit Hold shift + click to select a range
a77fd34
Update values and keys to v1beta3
Sep 14, 2015
9f40a5f
Default projectId and namespace are empty strings, NullValue and Date…
Sep 14, 2015
660d67b
Merge pull request #161 from ajkannan/update-datastore
ajkannan Sep 19, 2015
e078469
Updates to write-related code for datastore v1beta3 update
Sep 23, 2015
959d67d
cleanup v1beta3 changes and fix LocalGcdHelper bugs
Sep 25, 2015
9463c55
Fix handling of host in DatastoreOptions.java
Oct 1, 2015
4d2fe25
Remove scheme from localhost and check if user-provided host is null/…
Oct 5, 2015
e0aaaba
Fix version in LocalGcdHelper and check for null values when removing…
Oct 5, 2015
843718a
Merge pull request #173 from ajkannan/v1beta3-write-update
ajkannan Oct 5, 2015
c029c37
Update query-related datastore code to v1beta3
Oct 5, 2015
16afb0d
fix distinct and cursor code
Oct 13, 2015
acf2c42
Include cursor workaround, fix distinct in StructuredQuery, and remov…
Oct 15, 2015
0c2f9e9
standardize distinctOn naming
Oct 15, 2015
35ea69a
Add missing case for start_cursor
Oct 16, 2015
af6ab8f
Merge pull request #212 from ajkannan/v1beta3-query-update
aozarov Oct 16, 2015
02a56a8
Don't allow user to set project id or namespace to null
Oct 16, 2015
a98d096
remove extra firstNonNull in KeyFactory
Oct 16, 2015
8245607
Merge pull request #269 from ajkannan/nonnull-projID-namespace
aozarov Oct 16, 2015
f6eeddd
Support GeoPoint value in Datastore v1beta3
Oct 19, 2015
3ccc7ed
Add getters, remove filtering
Oct 20, 2015
d75b0da
rename accessors in geopoint
Oct 20, 2015
241960f
rename geopoint to latlng
Oct 20, 2015
9e4692d
Merge pull request #270 from ajkannan/geopoint-value
aozarov Oct 20, 2015
50a5a66
Query continuation implemented for GqlQuery + tests
Oct 19, 2015
b270c64
Set namespace in Gql's nextQuery and add another batch to tests
Oct 21, 2015
6ffe927
remove changes to structured query's builder and instead use fromPb i…
Oct 21, 2015
b54c501
Merge pull request #273 from ajkannan/gql-pagination
aozarov Oct 22, 2015
bba6925
pull updates from upstream/master into update-datastore branch
Oct 22, 2015
482954f
Merge pull request #277 from ajkannan/pull-updates
aozarov Oct 22, 2015
3d7ea2c
update afterCursor javadoc
Jan 15, 2016
0864393
Merge pull request #555 from ajkannan/add-cursor-after-docs
ajkannan Jan 16, 2016
ec57eb2
Merge changes from upstream/master
Jan 29, 2016
71d91aa
Fixed missed merge conflict
Jan 29, 2016
fbe5a1d
Merge remote-tracking branch 'upstream/master' into update-datastore
Feb 2, 2016
d27d567
Fix ServiceOptions merge bug, remove unnecessary protected modifier f…
Feb 2, 2016
667e606
Merge pull request #598 from ajkannan/update-datastore
aozarov Feb 2, 2016
7e498c1
Remove userinfo scope from DatastoreOptions
Mar 1, 2016
b4bd1b9
Merge pull request #690 from ajkannan/remove-user-info-scope
aozarov Mar 1, 2016
c95e5e7
Allow eventual consistency for Datastore reads
Feb 18, 2016
76e3b3e
Clean up test code and javadoc formatting
Mar 1, 2016
0d794ea
Improve eventual consistency javadoc
Mar 1, 2016
47aae51
Merge pull request #691 from ajkannan/v1beta3-read-consistency
ajkannan Mar 1, 2016
1a5aade
Renamed DnsRecord to RecordSet. Fixes #779.
mderka Mar 23, 2016
96e28d6
Merge pull request #784 from mderka/rename-dns-record
mderka Mar 24, 2016
01e2310
Turned ChangeRequest into a functional object.
mderka Mar 24, 2016
de8bf4b
Addressed comments. This includes:
mderka Mar 25, 2016
104f9e5
Merge pull request #789 from mderka/change-request-functional
mderka Mar 26, 2016
59c3215
Merge pull request #795 from ajkannan/merge-dns-alpha
ajkannan Mar 29, 2016
f2f93bc
Release v0.1.6
Mar 29, 2016
3df14dd
Merge pull request #799 from ajkannan/release-0.1.6
ajkannan Mar 29, 2016
7004918
Updating version in README files. [ci skip]
Mar 29, 2016
d2dc5e7
Update version to 0.1.7-SNAPSHOT
Mar 29, 2016
f97385f
Merge pull request #801 from ajkannan/pom-version-0.1.7-SNAPSHOT
ajkannan Mar 29, 2016
4ee0e32
update pom.xml to include DNS in javadoc groups
aozarov Mar 29, 2016
249cac6
Merge pull request #802 from aozarov/master
ajkannan Mar 29, 2016
7849e6e
Add pkg info for dns
Mar 29, 2016
2819942
Merge pull request #805 from ajkannan/dns-testing-pkg-info
ajkannan Mar 29, 2016
712b255
Add common interface for field selectors
mziccard Mar 29, 2016
69476eb
Add comment about releasing new modules
Mar 29, 2016
6747274
Merge pull request #806 from ajkannan/releasing-new-module
ajkannan Mar 29, 2016
2b52294
Merge conflict resolution.
Mar 29, 2016
1ca9616
Merge pull request #817 from ajkannan/bring-v1beta3-up-to-speed
ajkannan Mar 30, 2016
4d7cb29
Check if record added
Mar 30, 2016
1710a4c
Refactor field selection and helpers
mziccard Mar 30, 2016
80268f7
allow cleanup if record not added
Mar 30, 2016
acacd1d
Update codacy configuration
mziccard Mar 30, 2016
45c4665
Merge pull request #822 from ajkannan/improve-dns-it
aozarov Mar 30, 2016
637860c
Update dependencies
Mar 30, 2016
98c6974
Merge pull request #825 from ajkannan/update-deps
aozarov Mar 31, 2016
a248465
Merge pull request #823 from mziccard/codacy-conf
aozarov Mar 31, 2016
8db4b9b
Minor refactoring for SelectorHelper
mziccard Mar 30, 2016
4b1a4fd
Merge pull request #807 from mziccard/field-selector
mziccard Mar 31, 2016
379a0a8
Get projectId from gcloud active config
mziccard Mar 31, 2016
6cbddff
Merge pull request #831 from mziccard/active-gcloud-project
aozarov Apr 1, 2016
3324808
Rename id to generatedId for BigQuery resources
mziccard Apr 1, 2016
d4faad3
Rename id to generatedId for Storage resources
mziccard Apr 1, 2016
8df138b
Rename id to generatedId for Dns resources
mziccard Apr 1, 2016
5fea95f
Merge pull request #832 from mziccard/rename-id
ajkannan Apr 1, 2016
bf918e5
Merge remote-tracking branch 'upstream/update-datastore' into merge-v…
Apr 1, 2016
c70d9d7
Merge pull request #833 from ajkannan/merge-v1beta3
aozarov Apr 1, 2016
883c60e
rename QueryStage id to generatedId
Apr 1, 2016
43b2ef9
Release 0.1.7
Apr 1, 2016
0849646
Merge pull request #834 from ajkannan/rename-query-stage-id
aozarov Apr 1, 2016
9a8d156
Remove flaky tests
Apr 1, 2016
e1a17f0
Merge pull request #837 from ajkannan/comment-out-bigquery-its
aozarov Apr 1, 2016
df86a44
Fix endpoint
Apr 1, 2016
ba07c3f
Merge pull request #838 from ajkannan/fix-endpoint
aozarov Apr 1, 2016
106fae9
Merge pull request #835 from ajkannan/release-0.1.7
ajkannan Apr 1, 2016
6f54be2
Updating version in README files. [ci skip]
Apr 1, 2016
85d0188
Update to version 0.1.8-SNAPSHOT
Apr 2, 2016
545f099
Merge pull request #842 from ajkannan/version-0.1.8-snapshot
ajkannan Apr 2, 2016
59cdf37
Update ruby logo
mziccard Apr 4, 2016
d17e325
Extract projectId from GOOGLE_APPLICATION_CREDENTIALS if set
mziccard Apr 4, 2016
560d0b6
Modified methods in ChangeRequest.
mderka Apr 4, 2016
25ccf08
Fix Storage API activation instructions
ajkannan Apr 5, 2016
3e7069a
Addressed codacy issues in DNS.
mderka Apr 5, 2016
33a81a0
Job.isDone() returns true if the job does not exist
mziccard Apr 5, 2016
b29df66
Merge pull request #853 from mziccard/fix-job-isdone
mziccard Apr 5, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 15 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,16 @@ If you are using Maven, add this to your pom.xml file
<dependency>
<groupId>com.google.gcloud</groupId>
<artifactId>gcloud-java</artifactId>
<version>0.1.5</version>
<version>0.1.7</version>
</dependency>
```
If you are using Gradle, add this to your dependencies
```Groovy
compile 'com.google.gcloud:gcloud-java:0.1.5'
compile 'com.google.gcloud:gcloud-java:0.1.7'
```
If you are using SBT, add this to your dependencies
```Scala
libraryDependencies += "com.google.gcloud" % "gcloud-java" % "0.1.5"
libraryDependencies += "com.google.gcloud" % "gcloud-java" % "0.1.7"
```

Example Applications
Expand Down Expand Up @@ -84,8 +84,9 @@ Most `gcloud-java` libraries require a project ID. There are multiple ways to s
1. Project ID supplied when building the service options
2. Project ID specified by the environment variable `GCLOUD_PROJECT`
3. App Engine project ID
4. Google Cloud SDK project ID
5. Compute Engine project ID
4. Project ID specified in the JSON credentials file pointed by the `GOOGLE_APPLICATION_CREDENTIALS` environment variable
5. Google Cloud SDK project ID
6. Compute Engine project ID

Authentication
--------------
Expand Down Expand Up @@ -249,13 +250,13 @@ ZoneInfo zoneInfo = ZoneInfo.of(zoneName, domainName, description);
Zone zone = dns.create(zoneInfo);
```

The second snippet shows how to create records inside a zone. The complete code can be found on [CreateOrUpdateDnsRecords.java](./gcloud-java-examples/src/main/java/com/google/gcloud/examples/dns/snippets/CreateOrUpdateDnsRecords.java).
The second snippet shows how to create records inside a zone. The complete code can be found on [CreateOrUpdateRecordSets.java](./gcloud-java-examples/src/main/java/com/google/gcloud/examples/dns/snippets/CreateOrUpdateRecordSets.java).

```java
import com.google.gcloud.dns.ChangeRequest;
import com.google.gcloud.dns.ChangeRequestInfo;
import com.google.gcloud.dns.Dns;
import com.google.gcloud.dns.DnsOptions;
import com.google.gcloud.dns.DnsRecord;
import com.google.gcloud.dns.RecordSet;
import com.google.gcloud.dns.Zone;

import java.util.Iterator;
Expand All @@ -265,24 +266,24 @@ Dns dns = DnsOptions.defaultInstance().service();
String zoneName = "my-unique-zone";
Zone zone = dns.getZone(zoneName);
String ip = "12.13.14.15";
DnsRecord toCreate = DnsRecord.builder("www.someexampledomain.com.", DnsRecord.Type.A)
RecordSet toCreate = RecordSet.builder("www.someexampledomain.com.", RecordSet.Type.A)
.ttl(24, TimeUnit.HOURS)
.addRecord(ip)
.build();
ChangeRequest.Builder changeBuilder = ChangeRequest.builder().add(toCreate);
ChangeRequestInfo.Builder changeBuilder = ChangeRequestInfo.builder().add(toCreate);

// Verify that the record does not exist yet.
// If it does exist, we will overwrite it with our prepared record.
Iterator<DnsRecord> recordIterator = zone.listDnsRecords().iterateAll();
while (recordIterator.hasNext()) {
DnsRecord current = recordIterator.next();
Iterator<RecordSet> recordSetIterator = zone.listRecordSets().iterateAll();
while (recordSetIterator.hasNext()) {
RecordSet current = recordSetIterator.next();
if (toCreate.name().equals(current.name()) &&
toCreate.type().equals(current.type())) {
changeBuilder.delete(current);
}
}

ChangeRequest changeRequest = changeBuilder.build();
ChangeRequestInfo changeRequest = changeBuilder.build();
zone.applyChangeRequest(changeRequest);
```

Expand Down
4 changes: 2 additions & 2 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ Most of the release process is handled by the `after_success.sh` script, trigger
1. Run `utilities/update_pom_version.sh` from the repository's base directory.
This script takes an optional argument denoting the new version. By default, if the current version is X.Y.Z-SNAPSHOT, the script will update the version in all the pom.xml files to X.Y.Z. If desired, another version can be supplied via command line argument instead.

2. Create a PR to update the pom.xml version.
The PR should look something like [#225](https://github.com/GoogleCloudPlatform/gcloud-java/pull/225). After this PR is merged into GoogleCloudPlatform/gcloud-java, Travis CI will push a new website to GoogleCloudPlatform/gh-pages, push a new artifact to the Maven Central Repository, and update versions in the README files.
2. Create a PR to update the pom.xml version. If releasing a new client library, this PR should also update javadoc grouping in the base directory's [pom.xml](./pom.xml).
PRs that don't release new modules should look something like [#225](https://github.com/GoogleCloudPlatform/gcloud-java/pull/225). PRs that do release a new module should also add the appropriate packages to the javadoc groups "SPI" and "Test helpers", as shown in [#802](https://github.com/GoogleCloudPlatform/gcloud-java/pull/802) for `gcloud-java-dns`. After this PR is merged into GoogleCloudPlatform/gcloud-java, Travis CI will push a new website to GoogleCloudPlatform/gh-pages, push a new artifact to the Maven Central Repository, and update versions in the README files.

3. Before moving on, verify that the artifacts have successfully been pushed to the Maven Central Repository. Open Travis CI, click the ["Build History" tab](https://travis-ci.org/GoogleCloudPlatform/gcloud-java/builds), and open the second build's logs for Step 2's PR. Be sure that you are not opening the "Pull Request" build logs. When the build finishes, scroll to the end of the log and verify that the artifacts were successfully staged and deployed. You can also search for `gcloud-java` on the [Sonatype website](https://oss.sonatype.org/#nexus-search;quick~gcloud-java) and check the latest version number. If the deployment didn't succeed because of a flaky test, rerun the build.

Expand Down
2 changes: 1 addition & 1 deletion codacy-conf.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions gcloud-java-bigquery/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file
<dependency>
<groupId>com.google.gcloud</groupId>
<artifactId>gcloud-java-bigquery</artifactId>
<version>0.1.5</version>
<version>0.1.7</version>
</dependency>
```
If you are using Gradle, add this to your dependencies
```Groovy
compile 'com.google.gcloud:gcloud-java-bigquery:0.1.5'
compile 'com.google.gcloud:gcloud-java-bigquery:0.1.7'
```
If you are using SBT, add this to your dependencies
```Scala
libraryDependencies += "com.google.gcloud" % "gcloud-java-bigquery" % "0.1.5"
libraryDependencies += "com.google.gcloud" % "gcloud-java-bigquery" % "0.1.7"
```

Example Application
Expand Down
2 changes: 1 addition & 1 deletion gcloud-java-bigquery/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<parent>
<groupId>com.google.gcloud</groupId>
<artifactId>gcloud-java-pom</artifactId>
<version>0.1.6-SNAPSHOT</version>
<version>0.1.8-SNAPSHOT</version>
</parent>
<properties>
<site.installationModule>gcloud-java-bigquery</site.installationModule>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,15 @@
import static com.google.common.base.Preconditions.checkArgument;

import com.google.common.base.Function;
import com.google.common.base.Joiner;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.Lists;
import com.google.common.collect.Sets;
import com.google.gcloud.FieldSelector;
import com.google.gcloud.FieldSelector.Helper;
import com.google.gcloud.Page;
import com.google.gcloud.Service;
import com.google.gcloud.bigquery.spi.BigQueryRpc;

import java.util.List;
import java.util.Set;

/**
* An interface for Google Cloud BigQuery.
Expand All @@ -43,7 +42,7 @@ public interface BigQuery extends Service<BigQueryOptions> {
* @see <a href="https://cloud.google.com/bigquery/docs/reference/v2/datasets#resource">Dataset
* Resource</a>
*/
enum DatasetField {
enum DatasetField implements FieldSelector {
ACCESS("access"),
CREATION_TIME("creationTime"),
DATASET_REFERENCE("datasetReference"),
Expand All @@ -56,24 +55,19 @@ enum DatasetField {
LOCATION("location"),
SELF_LINK("selfLink");

static final List<? extends FieldSelector> REQUIRED_FIELDS =
ImmutableList.of(DATASET_REFERENCE);

private final String selector;

DatasetField(String selector) {
this.selector = selector;
}

@Override
public String selector() {
return selector;
}

static String selector(DatasetField... fields) {
Set<String> fieldStrings = Sets.newHashSetWithExpectedSize(fields.length + 1);
fieldStrings.add(DATASET_REFERENCE.selector());
for (DatasetField field : fields) {
fieldStrings.add(field.selector());
}
return Joiner.on(',').join(fieldStrings);
}
}

/**
Expand All @@ -82,7 +76,7 @@ static String selector(DatasetField... fields) {
* @see <a href="https://cloud.google.com/bigquery/docs/reference/v2/tables#resource">Table
* Resource</a>
*/
enum TableField {
enum TableField implements FieldSelector {
CREATION_TIME("creationTime"),
DESCRIPTION("description"),
ETAG("etag"),
Expand All @@ -101,25 +95,19 @@ enum TableField {
TYPE("type"),
VIEW("view");

static final List<? extends FieldSelector> REQUIRED_FIELDS =
ImmutableList.of(TABLE_REFERENCE, TYPE);

private final String selector;

TableField(String selector) {
this.selector = selector;
}

@Override
public String selector() {
return selector;
}

static String selector(TableField... fields) {
Set<String> fieldStrings = Sets.newHashSetWithExpectedSize(fields.length + 2);
fieldStrings.add(TABLE_REFERENCE.selector());
fieldStrings.add(TYPE.selector());
for (TableField field : fields) {
fieldStrings.add(field.selector());
}
return Joiner.on(',').join(fieldStrings);
}
}

/**
Expand All @@ -128,7 +116,7 @@ static String selector(TableField... fields) {
* @see <a href="https://cloud.google.com/bigquery/docs/reference/v2/jobs#resource">Job Resource
* </a>
*/
enum JobField {
enum JobField implements FieldSelector {
CONFIGURATION("configuration"),
ETAG("etag"),
ID("id"),
Expand All @@ -138,25 +126,19 @@ enum JobField {
STATUS("status"),
USER_EMAIL("user_email");

static final List<? extends FieldSelector> REQUIRED_FIELDS =
ImmutableList.of(JOB_REFERENCE, CONFIGURATION);

private final String selector;

JobField(String selector) {
this.selector = selector;
}

@Override
public String selector() {
return selector;
}

static String selector(JobField... fields) {
Set<String> fieldStrings = Sets.newHashSetWithExpectedSize(fields.length + 2);
fieldStrings.add(JOB_REFERENCE.selector());
fieldStrings.add(CONFIGURATION.selector());
for (JobField field : fields) {
fieldStrings.add(field.selector());
}
return Joiner.on(',').join(fieldStrings);
}
}

/**
Expand Down Expand Up @@ -210,7 +192,8 @@ private DatasetOption(BigQueryRpc.Option option, Object value) {
* returned, even if not specified.
*/
public static DatasetOption fields(DatasetField... fields) {
return new DatasetOption(BigQueryRpc.Option.FIELDS, DatasetField.selector(fields));
return new DatasetOption(BigQueryRpc.Option.FIELDS,
Helper.selector(DatasetField.REQUIRED_FIELDS, fields));
}
}

Expand Down Expand Up @@ -279,7 +262,8 @@ private TableOption(BigQueryRpc.Option option, Object value) {
* of {@link Table#definition()}) are always returned, even if not specified.
*/
public static TableOption fields(TableField... fields) {
return new TableOption(BigQueryRpc.Option.FIELDS, TableField.selector(fields));
return new TableOption(BigQueryRpc.Option.FIELDS,
Helper.selector(TableField.REQUIRED_FIELDS, fields));
}
}

Expand Down Expand Up @@ -376,10 +360,8 @@ public static JobListOption pageToken(String pageToken) {
* listing jobs.
*/
public static JobListOption fields(JobField... fields) {
String selector = JobField.selector(fields);
StringBuilder builder = new StringBuilder();
builder.append("etag,jobs(").append(selector).append(",state,errorResult),nextPageToken");
return new JobListOption(BigQueryRpc.Option.FIELDS, builder.toString());
return new JobListOption(BigQueryRpc.Option.FIELDS,
Helper.listSelector("jobs", JobField.REQUIRED_FIELDS, fields, "state", "errorResult"));
}
}

Expand All @@ -402,7 +384,8 @@ private JobOption(BigQueryRpc.Option option, Object value) {
* returned, even if not specified.
*/
public static JobOption fields(JobField... fields) {
return new JobOption(BigQueryRpc.Option.FIELDS, JobField.selector(fields));
return new JobOption(BigQueryRpc.Option.FIELDS,
Helper.selector(JobField.REQUIRED_FIELDS, fields));
}
}

Expand Down Expand Up @@ -488,9 +471,10 @@ public static QueryResultsOption maxWaitTime(long maxWaitTime) {
Dataset getDataset(DatasetId datasetId, DatasetOption... options);

/**
* Lists the project's datasets. This method returns partial information on each dataset
* ({@link Dataset#datasetId()}, {@link Dataset#friendlyName()} and {@link Dataset#id()}). To get
* complete information use either {@link #getDataset(String, DatasetOption...)} or
* Lists the project's datasets. This method returns partial information on each dataset:
* ({@link Dataset#datasetId()}, {@link Dataset#friendlyName()} and
* {@link Dataset#generatedId()}). To get complete information use either
* {@link #getDataset(String, DatasetOption...)} or
* {@link #getDataset(DatasetId, DatasetOption...)}.
*
* @throws BigQueryException upon failure
Expand Down Expand Up @@ -558,9 +542,9 @@ public static QueryResultsOption maxWaitTime(long maxWaitTime) {
Table getTable(TableId tableId, TableOption... options);

/**
* Lists the tables in the dataset. This method returns partial information on each table
* ({@link Table#tableId()}, {@link Table#friendlyName()}, {@link Table#id()} and type, which
* is part of {@link Table#definition()}). To get complete information use either
* Lists the tables in the dataset. This method returns partial information on each table:
* ({@link Table#tableId()}, {@link Table#friendlyName()}, {@link Table#generatedId()} and type,
* which is part of {@link Table#definition()}). To get complete information use either
* {@link #getTable(TableId, TableOption...)} or
* {@link #getTable(String, String, TableOption...)}.
*
Expand All @@ -569,9 +553,9 @@ public static QueryResultsOption maxWaitTime(long maxWaitTime) {
Page<Table> listTables(String datasetId, TableListOption... options);

/**
* Lists the tables in the dataset. This method returns partial information on each table
* ({@link Table#tableId()}, {@link Table#friendlyName()}, {@link Table#id()} and type, which
* is part of {@link Table#definition()}). To get complete information use either
* Lists the tables in the dataset. This method returns partial information on each table:
* ({@link Table#tableId()}, {@link Table#friendlyName()}, {@link Table#generatedId()} and type,
* which is part of {@link Table#definition()}). To get complete information use either
* {@link #getTable(TableId, TableOption...)} or
* {@link #getTable(String, String, TableOption...)}.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ public Builder friendlyName(String friendlyName) {
}

@Override
Builder id(String id) {
infoBuilder.id(id);
Builder generatedId(String generatedId) {
infoBuilder.generatedId(generatedId);
return this;
}

Expand Down
Loading