Package io.qdrant.client
Class ValueFactory
java.lang.Object
io.qdrant.client.ValueFactory
Convenience methods for constructing
JsonWithInt.Value
-
Method Summary
Modifier and TypeMethodDescriptionstatic io.qdrant.client.grpc.JsonWithInt.Value
Creates a value from a list of valuesstatic io.qdrant.client.grpc.JsonWithInt.Value
Creates a null valuestatic io.qdrant.client.grpc.JsonWithInt.Value
value
(boolean value) Creates a value from aboolean
static io.qdrant.client.grpc.JsonWithInt.Value
value
(double value) Creates a value from adouble
static io.qdrant.client.grpc.JsonWithInt.Value
value
(long value) Creates a value from along
static io.qdrant.client.grpc.JsonWithInt.Value
Creates a value from aString
static io.qdrant.client.grpc.JsonWithInt.Value
Creates a value from a list of values.static io.qdrant.client.grpc.JsonWithInt.Value
Creates a value from a map of nested values
-
Method Details
-
value
Creates a value from aString
- Parameters:
value
- The value- Returns:
- a new instance of
JsonWithInt.Value
-
value
public static io.qdrant.client.grpc.JsonWithInt.Value value(long value) Creates a value from along
- Parameters:
value
- The value- Returns:
- a new instance of
JsonWithInt.Value
-
value
public static io.qdrant.client.grpc.JsonWithInt.Value value(double value) Creates a value from adouble
- Parameters:
value
- The value- Returns:
- a new instance of
JsonWithInt.Value
-
value
public static io.qdrant.client.grpc.JsonWithInt.Value value(boolean value) Creates a value from aboolean
- Parameters:
value
- The value- Returns:
- a new instance of
JsonWithInt.Value
-
nullValue
public static io.qdrant.client.grpc.JsonWithInt.Value nullValue()Creates a null value- Returns:
- a new instance of
JsonWithInt.Value
-
list
public static io.qdrant.client.grpc.JsonWithInt.Value list(List<io.qdrant.client.grpc.JsonWithInt.Value> values) Creates a value from a list of values- Parameters:
values
- The list of values- Returns:
- a new instance of
JsonWithInt.Value
-
value
public static io.qdrant.client.grpc.JsonWithInt.Value value(List<io.qdrant.client.grpc.JsonWithInt.Value> values) Creates a value from a list of values. Same aslist(List)
- Parameters:
values
- The list of values- Returns:
- a new instance of
JsonWithInt.Value
-
value
public static io.qdrant.client.grpc.JsonWithInt.Value value(Map<String, io.qdrant.client.grpc.JsonWithInt.Value> values) Creates a value from a map of nested values- Parameters:
values
- The map of values- Returns:
- a new instance of
JsonWithInt.Value
-