Interface FieldSchemaOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    FieldSchema, FieldSchema.Builder

    public interface FieldSchemaOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getFieldID

        long getFieldID()
        int64 fieldID = 1;
        Returns:
        The fieldID.
      • getName

        String getName()
        string name = 2;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
        string name = 2;
        Returns:
        The bytes for name.
      • getIsPrimaryKey

        boolean getIsPrimaryKey()
        bool is_primary_key = 3;
        Returns:
        The isPrimaryKey.
      • getDescription

        String getDescription()
        string description = 4;
        Returns:
        The description.
      • getDescriptionBytes

        com.google.protobuf.ByteString getDescriptionBytes()
        string description = 4;
        Returns:
        The bytes for description.
      • getDataTypeValue

        int getDataTypeValue()
        .milvus.proto.schema.DataType data_type = 5;
        Returns:
        The enum numeric value on the wire for dataType.
      • getDataType

        DataType getDataType()
        .milvus.proto.schema.DataType data_type = 5;
        Returns:
        The dataType.
      • getTypeParamsList

        List<KeyValuePair> getTypeParamsList()
        repeated .milvus.proto.common.KeyValuePair type_params = 6;
      • getTypeParams

        KeyValuePair getTypeParams​(int index)
        repeated .milvus.proto.common.KeyValuePair type_params = 6;
      • getTypeParamsCount

        int getTypeParamsCount()
        repeated .milvus.proto.common.KeyValuePair type_params = 6;
      • getTypeParamsOrBuilderList

        List<? extends KeyValuePairOrBuilder> getTypeParamsOrBuilderList()
        repeated .milvus.proto.common.KeyValuePair type_params = 6;
      • getTypeParamsOrBuilder

        KeyValuePairOrBuilder getTypeParamsOrBuilder​(int index)
        repeated .milvus.proto.common.KeyValuePair type_params = 6;
      • getIndexParamsList

        List<KeyValuePair> getIndexParamsList()
        repeated .milvus.proto.common.KeyValuePair index_params = 7;
      • getIndexParams

        KeyValuePair getIndexParams​(int index)
        repeated .milvus.proto.common.KeyValuePair index_params = 7;
      • getIndexParamsCount

        int getIndexParamsCount()
        repeated .milvus.proto.common.KeyValuePair index_params = 7;
      • getIndexParamsOrBuilderList

        List<? extends KeyValuePairOrBuilder> getIndexParamsOrBuilderList()
        repeated .milvus.proto.common.KeyValuePair index_params = 7;
      • getIndexParamsOrBuilder

        KeyValuePairOrBuilder getIndexParamsOrBuilder​(int index)
        repeated .milvus.proto.common.KeyValuePair index_params = 7;
      • getAutoID

        boolean getAutoID()
        bool autoID = 8;
        Returns:
        The autoID.
      • getStateValue

        int getStateValue()
         To keep compatible with older version, the default
         
        .milvus.proto.schema.FieldState state = 9;
        Returns:
        The enum numeric value on the wire for state.
      • getState

        FieldState getState()
         To keep compatible with older version, the default
         
        .milvus.proto.schema.FieldState state = 9;
        Returns:
        The state.
      • getElementTypeValue

        int getElementTypeValue()
         state is `Created`.
         
        .milvus.proto.schema.DataType element_type = 10;
        Returns:
        The enum numeric value on the wire for elementType.
      • getElementType

        DataType getElementType()
         state is `Created`.
         
        .milvus.proto.schema.DataType element_type = 10;
        Returns:
        The elementType.
      • hasDefaultValue

        boolean hasDefaultValue()
         default_value only support scalars except array and json for now
         
        .milvus.proto.schema.ValueField default_value = 11;
        Returns:
        Whether the defaultValue field is set.
      • getDefaultValue

        ValueField getDefaultValue()
         default_value only support scalars except array and json for now
         
        .milvus.proto.schema.ValueField default_value = 11;
        Returns:
        The defaultValue.
      • getDefaultValueOrBuilder

        ValueFieldOrBuilder getDefaultValueOrBuilder()
         default_value only support scalars except array and json for now
         
        .milvus.proto.schema.ValueField default_value = 11;
      • getIsDynamic

        boolean getIsDynamic()
         mark whether this field is the dynamic field
         
        bool is_dynamic = 12;
        Returns:
        The isDynamic.
      • getIsPartitionKey

        boolean getIsPartitionKey()
         enable logic partitions
         
        bool is_partition_key = 13;
        Returns:
        The isPartitionKey.
      • getIsClusteringKey

        boolean getIsClusteringKey()
        bool is_clustering_key = 14;
        Returns:
        The isClusteringKey.