0.1.4
Features
BigQuery
- The
JobInfo
andTableInfo
class hierarchies are flattened (#584, #600). Instead,JobInfo
contains a fieldJobConfiguration
, which is subclassed to provide configurations for different types of jobs. Likewise,TableInfo
contains 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). TheBigQuery
service 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
ListValue
from 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
ResourceManager
list
method is now supported. (#651) Project
is now a subclass ofProjectInfo
(#530). TheResourceManager
service methods now returnProject
instead ofProjectInfo
.
Storage
- Functional classes (
Bucket
,Blob
) now extend their associated metadata classes (BucketInfo
,BlobInfo
) (#530, #603, #614). TheStorage
service methods now return functional objects instead of metadata objects.