Package app.ductape.sdk.vector.types
Record Class VectorInterfaceTypes.UpsertVectorsResult
java.lang.Object
java.lang.Record
app.ductape.sdk.vector.types.VectorInterfaceTypes.UpsertVectorsResult
- Enclosing class:
- VectorInterfaceTypes
public static record VectorInterfaceTypes.UpsertVectorsResult(int upsertedCount, List<String> upsertedIds)
extends Record
TS
IUpsertVectorsResult-
Constructor Summary
ConstructorsConstructorDescriptionUpsertVectorsResult(int upsertedCount, List<String> upsertedIds) Creates an instance of aUpsertVectorsResultrecord 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.final StringtoString()Returns a string representation of this record class.intReturns the value of theupsertedCountrecord component.Returns the value of theupsertedIdsrecord component.
-
Constructor Details
-
UpsertVectorsResult
Creates an instance of aUpsertVectorsResultrecord class.- Parameters:
upsertedCount- the value for theupsertedCountrecord componentupsertedIds- the value for theupsertedIdsrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
upsertedCount
public int upsertedCount()Returns the value of theupsertedCountrecord component.- Returns:
- the value of the
upsertedCountrecord component
-
upsertedIds
Returns the value of theupsertedIdsrecord component.- Returns:
- the value of the
upsertedIdsrecord component
-