Class ValueFactory

java.lang.Object
io.qdrant.client.ValueFactory

public final class ValueFactory extends Object
Convenience methods for constructing JsonWithInt.Value
  • Method Summary

    Modifier and Type
    Method
    Description
    static io.qdrant.client.grpc.JsonWithInt.Value
    list(List<io.qdrant.client.grpc.JsonWithInt.Value> values)
    Creates a value from a list of values
    static io.qdrant.client.grpc.JsonWithInt.Value
    Creates a null value
    static io.qdrant.client.grpc.JsonWithInt.Value
    value(boolean value)
    Creates a value from a boolean
    static io.qdrant.client.grpc.JsonWithInt.Value
    value(double value)
    Creates a value from a double
    static io.qdrant.client.grpc.JsonWithInt.Value
    value(long value)
    Creates a value from a long
    static io.qdrant.client.grpc.JsonWithInt.Value
    value(String value)
    Creates a value from a String
    static io.qdrant.client.grpc.JsonWithInt.Value
    value(List<io.qdrant.client.grpc.JsonWithInt.Value> values)
    Creates a value from a list of values.
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • value

      public static io.qdrant.client.grpc.JsonWithInt.Value value(String value)
      Creates a value from a String
      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 a long
      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 a double
      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 a boolean
      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 as list(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