Class ListValue (2.17.6)

public final class ListValue extends Value<List<? extends Value<?>>>

A Google Cloud Datastore list value. A list value is a list of Value objects.

Inheritance

java.lang.Object > Value > ListValue

Static Methods

newBuilder()

public static ListValue.Builder newBuilder()

Returns a builder for ListValue objects.

Returns
TypeDescription
ListValue.Builder

of(boolean first, boolean[] other)

public static ListValue of(boolean first, boolean[] other)

Creates a ListValue object given a number of boolean values.

Parameters
NameDescription
firstboolean
otherboolean[]
Returns
TypeDescription
ListValue

of(Timestamp first, Timestamp[] other)

public static ListValue of(Timestamp first, Timestamp[] other)

Creates a ListValue object given a number of Timestamp values.

Parameters
NameDescription
firstcom.google.cloud.Timestamp
othercom.google.cloud.Timestamp[]
Returns
TypeDescription
ListValue

of(Blob first, Blob[] other)

public static ListValue of(Blob first, Blob[] other)

Creates a ListValue object given a number of Blob values.

Parameters
NameDescription
firstBlob
otherBlob[]
Returns
TypeDescription
ListValue

of(FullEntity<?> first, FullEntity<?>[] other)

public static ListValue of(FullEntity<?> first, FullEntity<?>[] other)

Creates a ListValue object given a number of FullEntity values.

Parameters
NameDescription
firstFullEntity<?>
otherFullEntity<?>[]
Returns
TypeDescription
ListValue

of(Key first, Key[] other)

public static ListValue of(Key first, Key[] other)

Creates a ListValue object given a number of Key values.

Parameters
NameDescription
firstKey
otherKey[]
Returns
TypeDescription
ListValue

of(LatLng first, LatLng[] other)

public static ListValue of(LatLng first, LatLng[] other)

Creates a ListValue object given a number of LatLng values.

Parameters
NameDescription
firstLatLng
otherLatLng[]
Returns
TypeDescription
ListValue

of(Value<?> first, Value<?>[] other)

public static ListValue of(Value<?> first, Value<?>[] other)

Creates a ListValue object given a number of Value objects.

Parameters
NameDescription
firstValue<?>
otherValue<?>[]
Returns
TypeDescription
ListValue

of(double first, double[] other)

public static ListValue of(double first, double[] other)

Creates a ListValue object given a number of double values.

Parameters
NameDescription
firstdouble
otherdouble[]
Returns
TypeDescription
ListValue

of(String first, String[] other)

public static ListValue of(String first, String[] other)

Creates a ListValue object given a number of string values.

Parameters
NameDescription
firstString
otherString[]
Returns
TypeDescription
ListValue

of(List<? extends Value<?>> values)

public static ListValue of(List<? extends Value<?>> values)

Creates a ListValue object given a list of Value objects.

Parameter
NameDescription
valuesList<? extends com.google.cloud.datastore.Value<?>>
Returns
TypeDescription
ListValue

of(long first, long[] other)

public static ListValue of(long first, long[] other)

Creates a ListValue object given a number of long values.

Parameters
NameDescription
firstlong
otherlong[]
Returns
TypeDescription
ListValue

Constructors

ListValue(Value<?> first, Value<?>[] other)

public ListValue(Value<?> first, Value<?>[] other)
Parameters
NameDescription
firstValue<?>
otherValue<?>[]

ListValue(List<? extends Value<?>> values)

public ListValue(List<? extends Value<?>> values)
Parameter
NameDescription
valuesList<? extends com.google.cloud.datastore.Value<?>>

Methods

toBuilder()

public ListValue.Builder toBuilder()

Returns a builder for the list value object.

Returns
TypeDescription
ListValue.Builder
Overrides