Record Class MilvusRRFRanker
java.lang.Object
java.lang.Record
org.hibernate.milvus.jdbc.MilvusRRFRanker
- All Implemented Interfaces:
MilvusRanker
-
Constructor Summary
ConstructorsConstructorDescriptionMilvusRRFRanker(int k) Creates an instance of aMilvusRRFRankerrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intk()Returns the value of thekrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MilvusRRFRanker
public MilvusRRFRanker(int k) Creates an instance of aMilvusRRFRankerrecord class.- Parameters:
k- the value for thekrecord 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 with thecomparemethod from their corresponding wrapper classes. -
k
public int k()Returns the value of thekrecord component.- Returns:
- the value of the
krecord component
-