Interface CreateCollectionRequestOrBuilder

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

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

      • hasBase

        boolean hasBase()
         Not useful for now
         
        .milvus.proto.common.MsgBase base = 1;
        Returns:
        Whether the base field is set.
      • getBase

        MsgBase getBase()
         Not useful for now
         
        .milvus.proto.common.MsgBase base = 1;
        Returns:
        The base.
      • getBaseOrBuilder

        MsgBaseOrBuilder getBaseOrBuilder()
         Not useful for now
         
        .milvus.proto.common.MsgBase base = 1;
      • getDbName

        String getDbName()
        string db_name = 2;
        Returns:
        The dbName.
      • getDbNameBytes

        com.google.protobuf.ByteString getDbNameBytes()
        string db_name = 2;
        Returns:
        The bytes for dbName.
      • getCollectionName

        String getCollectionName()
         The unique collection name in milvus.(Required)
         
        string collection_name = 3;
        Returns:
        The collectionName.
      • getCollectionNameBytes

        com.google.protobuf.ByteString getCollectionNameBytes()
         The unique collection name in milvus.(Required)
         
        string collection_name = 3;
        Returns:
        The bytes for collectionName.
      • getSchema

        com.google.protobuf.ByteString getSchema()
         The serialized `schema.CollectionSchema`(Required)
         
        bytes schema = 4;
        Returns:
        The schema.
      • getShardsNum

        int getShardsNum()
         Once set, no modification is allowed (Optional)
         https://github.com/milvus-io/milvus/issues/6690
         
        int32 shards_num = 5;
        Returns:
        The shardsNum.
      • getConsistencyLevelValue

        int getConsistencyLevelValue()
         The consistency level that the collection used, modification is not supported now.
         
        .milvus.proto.common.ConsistencyLevel consistency_level = 6;
        Returns:
        The enum numeric value on the wire for consistencyLevel.
      • getConsistencyLevel

        ConsistencyLevel getConsistencyLevel()
         The consistency level that the collection used, modification is not supported now.
         
        .milvus.proto.common.ConsistencyLevel consistency_level = 6;
        Returns:
        The consistencyLevel.
      • getPropertiesList

        List<KeyValuePair> getPropertiesList()
        repeated .milvus.proto.common.KeyValuePair properties = 7;
      • getProperties

        KeyValuePair getProperties​(int index)
        repeated .milvus.proto.common.KeyValuePair properties = 7;
      • getPropertiesCount

        int getPropertiesCount()
        repeated .milvus.proto.common.KeyValuePair properties = 7;
      • getPropertiesOrBuilderList

        List<? extends KeyValuePairOrBuilder> getPropertiesOrBuilderList()
        repeated .milvus.proto.common.KeyValuePair properties = 7;
      • getPropertiesOrBuilder

        KeyValuePairOrBuilder getPropertiesOrBuilder​(int index)
        repeated .milvus.proto.common.KeyValuePair properties = 7;
      • getNumPartitions

        long getNumPartitions()
         num of default physical partitions, only used in partition key mode and changes are not supported
         
        int64 num_partitions = 8;
        Returns:
        The numPartitions.