0.1.4
Features
BigQuery
- The
JobInfoandTableInfoclass hierarchies are flattened (#584, #600). Instead,JobInfocontains a fieldJobConfiguration, which is subclassed to provide configurations for different types of jobs. Likewise,TableInfocontains a new fieldTableDefinition, which is subclassed to provide table settings depending on the table type. - Functional classes (
Job,Table,Dataset) now extend their associated metadata classes (JobInfo,TableInfo,DatasetInfo) (#530, #609). TheBigQueryservice methods now return functional objects instead of the metadata objects.
Datastore
-
Setting list properties containing values of a single type is more concise (#640, #648).
For example, to set a list of string values as a property on an entity, you'd previously have to type:
someEntity.set("someStringListProperty", StringValue.of("a"), StringValue.of("b"), StringValue.of("c"));
Now you can set the property using:
someEntity.set("someStringListProperty", "a", "b", "c");
-
There is now a more concise way to get the parent of an entity key (#640, #648).
Key parentOfCompleteKey = someKey.parent();
-
The consistency setting (defaults to 0.9 both before and after this change) can be set in
LocalGcdHelper(#639, #648). -
You no longer have to cast or use the unknown type when getting a
ListValuefrom an entity (#648). Now you can use something like the following to get a list of double values:List<DoubleValue> doublesList = someEntity.get("myDoublesList");
ResourceManager
- Paging for the
ResourceManagerlistmethod is now supported. (#651) Projectis now a subclass ofProjectInfo(#530). TheResourceManagerservice methods now returnProjectinstead ofProjectInfo.
Storage
- Functional classes (
Bucket,Blob) now extend their associated metadata classes (BucketInfo,BlobInfo) (#530, #603, #614). TheStorageservice methods now return functional objects instead of metadata objects.