Record Class AbstractSqlLikeQueryBuilder.QueryBuilder
java.lang.Object
java.lang.Record
io.micronaut.data.model.query.builder.sql.AbstractSqlLikeQueryBuilder.QueryBuilder
- Enclosing class:
AbstractSqlLikeQueryBuilder
protected static record AbstractSqlLikeQueryBuilder.QueryBuilder(AtomicInteger position, List<QueryParameterBinding> parameterBindings, StringBuilder query, List<String> queryParts)
extends Record
- Since:
- 1.0.0
- Author:
- graemerocher, Denis Stepanov
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedQueryBuilder(AtomicInteger position, List<QueryParameterBinding> parameterBindings, StringBuilder query, List<String> queryParts) Creates an instance of aQueryBuilderrecord 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.Returns the value of theparameterBindingsrecord component.position()Returns the value of thepositionrecord component.query()Returns the value of thequeryrecord component.Returns the value of thequeryPartsrecord component.final StringtoString()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 aQueryBuilderrecord class.- Parameters:
position- the value for thepositionrecord componentparameterBindings- the value for theparameterBindingsrecord componentquery- the value for thequeryrecord componentqueryParts- the value for thequeryPartsrecord 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 withObjects::equals(Object,Object). -
position
Returns the value of thepositionrecord component.- Returns:
- the value of the
positionrecord component
-
parameterBindings
Returns the value of theparameterBindingsrecord component.- Returns:
- the value of the
parameterBindingsrecord component
-
query
Returns the value of thequeryrecord component.- Returns:
- the value of the
queryrecord component
-
queryParts
-