Package io.milvus.grpc
Interface LoadCollectionRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LoadCollectionRequest,LoadCollectionRequest.Builder
public interface LoadCollectionRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsLoadParams(String key)Additional parameters for loadMsgBasegetBase()Not useful for nowMsgBaseOrBuildergetBaseOrBuilder()Not useful for nowStringgetCollectionName()The collection name you want to loadcom.google.protobuf.ByteStringgetCollectionNameBytes()The collection name you want to loadStringgetDbName()string db_name = 2;com.google.protobuf.ByteStringgetDbNameBytes()string db_name = 2;StringgetLoadFields(int index)Field Partial Load fields listcom.google.protobuf.ByteStringgetLoadFieldsBytes(int index)Field Partial Load fields listintgetLoadFieldsCount()Field Partial Load fields listList<String>getLoadFieldsList()Field Partial Load fields listMap<String,String>getLoadParams()Deprecated.intgetLoadParamsCount()Additional parameters for loadMap<String,String>getLoadParamsMap()Additional parameters for loadStringgetLoadParamsOrDefault(String key, String defaultValue)Additional parameters for loadStringgetLoadParamsOrThrow(String key)Additional parameters for loadbooleangetRefresh()Whether to enable refresh mode.intgetReplicaNumber()The replica number to load, default by 1StringgetResourceGroups(int index)create replica used resource groupcom.google.protobuf.ByteStringgetResourceGroupsBytes(int index)create replica used resource groupintgetResourceGroupsCount()create replica used resource groupList<String>getResourceGroupsList()create replica used resource groupbooleangetSkipLoadDynamicField()Field Partial load skip load dynamic fieldsbooleanhasBase()Not useful for now-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
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 collection name you want to load
string collection_name = 3;- Returns:
- The collectionName.
-
getCollectionNameBytes
com.google.protobuf.ByteString getCollectionNameBytes()
The collection name you want to load
string collection_name = 3;- Returns:
- The bytes for collectionName.
-
getReplicaNumber
int getReplicaNumber()
The replica number to load, default by 1
int32 replica_number = 4;- Returns:
- The replicaNumber.
-
getResourceGroupsList
List<String> getResourceGroupsList()
create replica used resource group
repeated string resource_groups = 5;- Returns:
- A list containing the resourceGroups.
-
getResourceGroupsCount
int getResourceGroupsCount()
create replica used resource group
repeated string resource_groups = 5;- Returns:
- The count of resourceGroups.
-
getResourceGroups
String getResourceGroups(int index)
create replica used resource group
repeated string resource_groups = 5;- Parameters:
index- The index of the element to return.- Returns:
- The resourceGroups at the given index.
-
getResourceGroupsBytes
com.google.protobuf.ByteString getResourceGroupsBytes(int index)
create replica used resource group
repeated string resource_groups = 5;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the resourceGroups at the given index.
-
getRefresh
boolean getRefresh()
Whether to enable refresh mode.
bool refresh = 6;- Returns:
- The refresh.
-
getLoadFieldsList
List<String> getLoadFieldsList()
Field Partial Load fields list
repeated string load_fields = 7;- Returns:
- A list containing the loadFields.
-
getLoadFieldsCount
int getLoadFieldsCount()
Field Partial Load fields list
repeated string load_fields = 7;- Returns:
- The count of loadFields.
-
getLoadFields
String getLoadFields(int index)
Field Partial Load fields list
repeated string load_fields = 7;- Parameters:
index- The index of the element to return.- Returns:
- The loadFields at the given index.
-
getLoadFieldsBytes
com.google.protobuf.ByteString getLoadFieldsBytes(int index)
Field Partial Load fields list
repeated string load_fields = 7;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the loadFields at the given index.
-
getSkipLoadDynamicField
boolean getSkipLoadDynamicField()
Field Partial load skip load dynamic fields
bool skip_load_dynamic_field = 8;- Returns:
- The skipLoadDynamicField.
-
getLoadParamsCount
int getLoadParamsCount()
Additional parameters for load
map<string, string> load_params = 9;
-
containsLoadParams
boolean containsLoadParams(String key)
Additional parameters for load
map<string, string> load_params = 9;
-
getLoadParams
@Deprecated Map<String,String> getLoadParams()
Deprecated.UsegetLoadParamsMap()instead.
-
getLoadParamsMap
Map<String,String> getLoadParamsMap()
Additional parameters for load
map<string, string> load_params = 9;
-
getLoadParamsOrDefault
String getLoadParamsOrDefault(String key, String defaultValue)
Additional parameters for load
map<string, string> load_params = 9;
-
-