Record Class QueryContext
java.lang.Object
java.lang.Record
org.springframework.data.aerospike.query.QueryContext
- Record Components:
statement
-qualifier
-
public record QueryContext(com.aerospike.client.query.Statement statement, Qualifier qualifier)
extends Record
This class holds
Statement
and Qualifier
used for query building.-
Constructor Summary
ConstructorsConstructorDescriptionQueryContext
(com.aerospike.client.query.Statement statement, Qualifier qualifier) Creates an instance of aQueryContext
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of thequalifier
record component.com.aerospike.client.query.Statement
Returns the value of thestatement
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
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. All components in this record class are compared withObjects::equals(Object,Object)
. -
statement
public com.aerospike.client.query.Statement statement()Returns the value of thestatement
record component.- Returns:
- the value of the
statement
record component
-
qualifier
Returns the value of thequalifier
record component.- Returns:
- the value of the
qualifier
record component
-