Package io.milvus.grpc
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 Summary
Modifier and TypeMethodDescriptiongetBase()Not useful for nowNot useful for nowThe unique collection name in milvus.(Required)com.google.protobuf.ByteStringThe unique collection name in milvus.(Required)The consistency level that the collection used, modification is not supported now.intThe consistency level that the collection used, modification is not supported now.string db_name = 2;com.google.protobuf.ByteStringstring db_name = 2;longnum of default physical partitions, only used in partition key mode and changes are not supportedgetProperties(int index) repeated .milvus.proto.common.KeyValuePair properties = 7;intrepeated .milvus.proto.common.KeyValuePair properties = 7;repeated .milvus.proto.common.KeyValuePair properties = 7;getPropertiesOrBuilder(int index) repeated .milvus.proto.common.KeyValuePair properties = 7;List<? extends KeyValuePairOrBuilder> repeated .milvus.proto.common.KeyValuePair properties = 7;com.google.protobuf.ByteStringThe serialized `schema.CollectionSchema`(Required)intOnce set, no modification is allowed (Optional) https://github.com/milvus-io/milvus/issues/6690booleanhasBase()Not useful for nowMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
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
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.
-