Record Class MilvusCreateCollection.FieldSchema
java.lang.Object
java.lang.Record
org.hibernate.milvus.jdbc.MilvusCreateCollection.FieldSchema
- Enclosing class:
MilvusCreateCollection
public static record MilvusCreateCollection.FieldSchema(String name, String description, io.milvus.v2.common.DataType dataType, Integer maxLength, Integer dimension, Boolean isPrimaryKey, Boolean isPartitionKey, Boolean isClusteringKey, Boolean autoID, io.milvus.v2.common.DataType elementType, Integer maxCapacity, Boolean isNullable, Object defaultValue, Boolean enableAnalyzer, Map<String,Object> analyzerParams, Boolean enableMatch)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionFieldSchema(String name, String description, io.milvus.v2.common.DataType dataType, Integer maxLength, Integer dimension, Boolean isPrimaryKey, Boolean isPartitionKey, Boolean isClusteringKey, Boolean autoID, io.milvus.v2.common.DataType elementType, Integer maxCapacity, Boolean isNullable, Object defaultValue, Boolean enableAnalyzer, Map<String, Object> analyzerParams, Boolean enableMatch) Creates an instance of aFieldSchemarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theanalyzerParamsrecord component.autoID()Returns the value of theautoIDrecord component.io.milvus.v2.common.DataTypedataType()Returns the value of thedataTyperecord component.Returns the value of thedefaultValuerecord component.Returns the value of thedescriptionrecord component.Returns the value of thedimensionrecord component.io.milvus.v2.common.DataTypeReturns the value of theelementTyperecord component.Returns the value of theenableAnalyzerrecord component.Returns the value of theenableMatchrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theisClusteringKeyrecord component.Returns the value of theisNullablerecord component.Returns the value of theisPartitionKeyrecord component.Returns the value of theisPrimaryKeyrecord component.Returns the value of themaxCapacityrecord component.Returns the value of themaxLengthrecord component.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FieldSchema
public FieldSchema(String name, String description, io.milvus.v2.common.DataType dataType, Integer maxLength, Integer dimension, Boolean isPrimaryKey, Boolean isPartitionKey, Boolean isClusteringKey, Boolean autoID, io.milvus.v2.common.DataType elementType, Integer maxCapacity, Boolean isNullable, Object defaultValue, Boolean enableAnalyzer, Map<String, Object> analyzerParams, Boolean enableMatch) Creates an instance of aFieldSchemarecord class.- Parameters:
name- the value for thenamerecord componentdescription- the value for thedescriptionrecord componentdataType- the value for thedataTyperecord componentmaxLength- the value for themaxLengthrecord componentdimension- the value for thedimensionrecord componentisPrimaryKey- the value for theisPrimaryKeyrecord componentisPartitionKey- the value for theisPartitionKeyrecord componentisClusteringKey- the value for theisClusteringKeyrecord componentautoID- the value for theautoIDrecord componentelementType- the value for theelementTyperecord componentmaxCapacity- the value for themaxCapacityrecord componentisNullable- the value for theisNullablerecord componentdefaultValue- the value for thedefaultValuerecord componentenableAnalyzer- the value for theenableAnalyzerrecord componentanalyzerParams- the value for theanalyzerParamsrecord componentenableMatch- the value for theenableMatchrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
dataType
public io.milvus.v2.common.DataType dataType()Returns the value of thedataTyperecord component.- Returns:
- the value of the
dataTyperecord component
-
maxLength
Returns the value of themaxLengthrecord component.- Returns:
- the value of the
maxLengthrecord component
-
dimension
Returns the value of thedimensionrecord component.- Returns:
- the value of the
dimensionrecord component
-
isPrimaryKey
Returns the value of theisPrimaryKeyrecord component.- Returns:
- the value of the
isPrimaryKeyrecord component
-
isPartitionKey
Returns the value of theisPartitionKeyrecord component.- Returns:
- the value of the
isPartitionKeyrecord component
-
isClusteringKey
Returns the value of theisClusteringKeyrecord component.- Returns:
- the value of the
isClusteringKeyrecord component
-
autoID
Returns the value of theautoIDrecord component.- Returns:
- the value of the
autoIDrecord component
-
elementType
public io.milvus.v2.common.DataType elementType()Returns the value of theelementTyperecord component.- Returns:
- the value of the
elementTyperecord component
-
maxCapacity
Returns the value of themaxCapacityrecord component.- Returns:
- the value of the
maxCapacityrecord component
-
isNullable
Returns the value of theisNullablerecord component.- Returns:
- the value of the
isNullablerecord component
-
defaultValue
Returns the value of thedefaultValuerecord component.- Returns:
- the value of the
defaultValuerecord component
-
enableAnalyzer
Returns the value of theenableAnalyzerrecord component.- Returns:
- the value of the
enableAnalyzerrecord component
-
analyzerParams
-
enableMatch
Returns the value of theenableMatchrecord component.- Returns:
- the value of the
enableMatchrecord component
-