Class CreateCollectionReq.CollectionSchema
- java.lang.Object
-
- io.milvus.v2.service.collection.request.CreateCollectionReq.CollectionSchema
-
- Enclosing class:
- CreateCollectionReq
public static class CreateCollectionReq.CollectionSchema extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateCollectionReq.CollectionSchema.CollectionSchemaBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateCollectionReq.CollectionSchemaaddField(AddFieldReq addFieldReq)CreateCollectionReq.CollectionSchemaaddFunction(CreateCollectionReq.Function function)static CreateCollectionReq.CollectionSchema.CollectionSchemaBuilderbuilder()CreateCollectionReq.FieldSchemagetField(String fieldName)List<CreateCollectionReq.FieldSchema>getFieldSchemaList()List<CreateCollectionReq.Function>getFunctionList()CreateCollectionReq.StructFieldSchemagetStructField(String fieldName)List<CreateCollectionReq.StructFieldSchema>getStructFields()booleanisEnableDynamicField()voidsetEnableDynamicField(boolean enableDynamicField)voidsetFieldSchemaList(List<CreateCollectionReq.FieldSchema> fieldSchemaList)voidsetFunctionList(List<CreateCollectionReq.Function> functionList)voidsetStructFields(List<CreateCollectionReq.StructFieldSchema> structFields)StringtoString()
-
-
-
Method Detail
-
addField
public CreateCollectionReq.CollectionSchema addField(AddFieldReq addFieldReq)
-
addFunction
public CreateCollectionReq.CollectionSchema addFunction(CreateCollectionReq.Function function)
-
getField
public CreateCollectionReq.FieldSchema getField(String fieldName)
-
getFieldSchemaList
public List<CreateCollectionReq.FieldSchema> getFieldSchemaList()
-
setFieldSchemaList
public void setFieldSchemaList(List<CreateCollectionReq.FieldSchema> fieldSchemaList)
-
getStructField
public CreateCollectionReq.StructFieldSchema getStructField(String fieldName)
-
getStructFields
public List<CreateCollectionReq.StructFieldSchema> getStructFields()
-
setStructFields
public void setStructFields(List<CreateCollectionReq.StructFieldSchema> structFields)
-
isEnableDynamicField
public boolean isEnableDynamicField()
-
setEnableDynamicField
public void setEnableDynamicField(boolean enableDynamicField)
-
getFunctionList
public List<CreateCollectionReq.Function> getFunctionList()
-
setFunctionList
public void setFunctionList(List<CreateCollectionReq.Function> functionList)
-
builder
public static CreateCollectionReq.CollectionSchema.CollectionSchemaBuilder builder()
-
-