Package io.milvus.param.collection
Class FieldType
- java.lang.Object
-
- io.milvus.param.collection.FieldType
-
public class FieldType extends Object
Parameters for a collection field.- See Also:
CreateCollectionParam
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFieldType.BuilderBuilder forFieldTypeclass.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DataTypegetDataType()ObjectgetDefaultValue()StringgetDescription()intgetDimension()DataTypegetElementType()intgetMaxCapacity()intgetMaxLength()StringgetName()Map<String,String>getTypeParams()booleanisAutoID()booleanisClusteringKey()booleanisDynamic()booleanisNullable()booleanisPartitionKey()booleanisPrimaryKey()static FieldType.BuildernewBuilder()StringtoString()
-
-
-
Method Detail
-
getName
public String getName()
-
isPrimaryKey
public boolean isPrimaryKey()
-
getDescription
public String getDescription()
-
getDataType
public DataType getDataType()
-
isAutoID
public boolean isAutoID()
-
isPartitionKey
public boolean isPartitionKey()
-
isClusteringKey
public boolean isClusteringKey()
-
isDynamic
public boolean isDynamic()
-
getElementType
public DataType getElementType()
-
isNullable
public boolean isNullable()
-
getDefaultValue
public Object getDefaultValue()
-
getDimension
public int getDimension()
-
getMaxLength
public int getMaxLength()
-
getMaxCapacity
public int getMaxCapacity()
-
newBuilder
public static FieldType.Builder newBuilder()
-
-