Record Class AbstractSqlLikeQueryBuilder2.QueryBuilder
java.lang.Object
java.lang.Record
io.micronaut.data.model.query.builder.sql.AbstractSqlLikeQueryBuilder2.QueryBuilder
- Enclosing class:
- AbstractSqlLikeQueryBuilder2
protected static record AbstractSqlLikeQueryBuilder2.QueryBuilder(AtomicInteger position, List<QueryParameterBinding> parameterBindings, StringBuilder query, List<String> queryParts)
extends Record
-
Constructor Summary
ModifierConstructorDescriptionprotected
QueryBuilder
(AtomicInteger position, List<QueryParameterBinding> parameterBindings, StringBuilder query, List<String> queryParts) Creates an instance of aQueryBuilder
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 theparameterBindings
record component.position()
Returns the value of theposition
record component.query()
Returns the value of thequery
record component.Returns the value of thequeryParts
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
QueryBuilder
public QueryBuilder() -
QueryBuilder
protected QueryBuilder(AtomicInteger position, List<QueryParameterBinding> parameterBindings, StringBuilder query, List<String> queryParts) Creates an instance of aQueryBuilder
record class.- Parameters:
position
- the value for theposition
record componentparameterBindings
- the value for theparameterBindings
record componentquery
- the value for thequery
record componentqueryParts
- the value for thequeryParts
record 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. All components in this record class are compared withObjects::equals(Object,Object)
. -
position
Returns the value of theposition
record component.- Returns:
- the value of the
position
record component
-
parameterBindings
Returns the value of theparameterBindings
record component.- Returns:
- the value of the
parameterBindings
record component
-
query
Returns the value of thequery
record component.- Returns:
- the value of the
query
record component
-
queryParts
Returns the value of thequeryParts
record component.- Returns:
- the value of the
queryParts
record component
-