Record Class MilvusCreateCollection.IndexParam
java.lang.Object
java.lang.Record
org.hibernate.milvus.jdbc.MilvusCreateCollection.IndexParam
- Enclosing class:
MilvusCreateCollection
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theextraParamsrecord component.Returns the value of thefieldNamerecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theindexNamerecord component.io.milvus.v2.common.IndexParam.IndexTypeReturns the value of theindexTyperecord component.io.milvus.v2.common.IndexParam.MetricTypeReturns the value of themetricTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
IndexParam
public IndexParam(String fieldName, String indexName, io.milvus.v2.common.IndexParam.IndexType indexType, io.milvus.v2.common.IndexParam.MetricType metricType, Map<String, Object> extraParams) Creates an instance of aIndexParamrecord class.- Parameters:
fieldName- the value for thefieldNamerecord componentindexName- the value for theindexNamerecord componentindexType- the value for theindexTyperecord componentmetricType- the value for themetricTyperecord componentextraParams- the value for theextraParamsrecord 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). -
fieldName
Returns the value of thefieldNamerecord component.- Returns:
- the value of the
fieldNamerecord component
-
indexName
Returns the value of theindexNamerecord component.- Returns:
- the value of the
indexNamerecord component
-
indexType
public io.milvus.v2.common.IndexParam.IndexType indexType()Returns the value of theindexTyperecord component.- Returns:
- the value of the
indexTyperecord component
-
metricType
public io.milvus.v2.common.IndexParam.MetricType metricType()Returns the value of themetricTyperecord component.- Returns:
- the value of the
metricTyperecord component
-
extraParams
-