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
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
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 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
Returns the value of thequeryPartsrecord component.- Returns:
- the value of the
queryPartsrecord component
-