milvus-logo
Star
0
Forks
0
快速开始

Class InsertParam.Field

  • java.lang.Object
    • io.milvus.param.dml.InsertParam.Field
  • Enclosing class:
    InsertParam

    public static class InsertParam.Field
    extends java.lang.Object
    Internal class for insert data. If dataType is scalar(bool/int/float/double), values is List<Integer>, List<Long>, etc. If dataType is FloatVector, values is List<Float>. If dataType is BinaryVector, values is List<ByteBuffer>.
    • Constructor Summary

      Constructor Description
      Field​(java.lang.String name, io.milvus.grpc.DataType type, java.util.List<?> values)  
    • Method Summary

      Modifier and Type Method Description
      java.lang.String getName()
      Return name of the field.
      io.milvus.grpc.DataType getType()
      Return data type of the field.
      java.util.List<?> getValues()
      Return data of the field, in column-base.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Field

        public Field​(java.lang.String name,
                     io.milvus.grpc.DataType type,
                     java.util.List<?> values)
    • Method Detail

      • getName

        public java.lang.String getName()
        Return name of the field.
        Returns:
        String
      • getType

        public io.milvus.grpc.DataType getType()
        Return data type of the field.
        Returns:
        String
      • getValues

        public java.util.List<?> getValues()
        Return data of the field, in column-base.
        Returns:
        List