Record Class MilvusDropCollection
java.lang.Object
java.lang.Record
org.hibernate.milvus.jdbc.MilvusDropCollection
- All Implemented Interfaces:
MilvusStatementDefinition
public record MilvusDropCollection(String collectionName, Boolean async, Long timeout)
extends Record
implements MilvusStatementDefinition
-
Constructor Summary
ConstructorsConstructorDescriptionMilvusDropCollection(String collectionName, Boolean async, Long timeout) Creates an instance of aMilvusDropCollectionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionasync()Returns the value of theasyncrecord component.Returns the value of thecollectionNamerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.inttimeout()Returns the value of thetimeoutrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MilvusDropCollection
Creates an instance of aMilvusDropCollectionrecord class.- Parameters:
collectionName- the value for thecollectionNamerecord componentasync- the value for theasyncrecord componenttimeout- the value for thetimeoutrecord component
-
-
Method Details
-
parameterCount
public int parameterCount()- Specified by:
parameterCountin interfaceMilvusStatementDefinition
-
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). -
collectionName
Returns the value of thecollectionNamerecord component.- Returns:
- the value of the
collectionNamerecord component
-
async
Returns the value of theasyncrecord component.- Returns:
- the value of the
asyncrecord component
-
timeout
Returns the value of thetimeoutrecord component.- Returns:
- the value of the
timeoutrecord component
-