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 SummaryConstructorsModifierConstructorDescriptionprotectedQueryBuilder(AtomicInteger position, List<QueryParameterBinding> parameterBindings, StringBuilder query, List<String> queryParts) Creates an instance of aQueryBuilderrecord class.
- 
Method SummaryModifier 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- 
QueryBuilderpublic QueryBuilder()
- 
QueryBuilderprotected QueryBuilder(AtomicInteger position, List<QueryParameterBinding> parameterBindings, StringBuilder query, List<String> queryParts) Creates an instance of aQueryBuilderrecord class.- Parameters:
- position- the value for the- positionrecord component
- parameterBindings- the value for the- parameterBindingsrecord component
- query- the value for the- queryrecord component
- queryParts- the value for the- queryPartsrecord component
 
 
- 
- 
Method Details- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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).
- 
positionReturns the value of thepositionrecord component.- Returns:
- the value of the positionrecord component
 
- 
parameterBindingsReturns the value of theparameterBindingsrecord component.- Returns:
- the value of the parameterBindingsrecord component
 
- 
queryReturns the value of thequeryrecord component.- Returns:
- the value of the queryrecord component
 
- 
queryPartsReturns the value of thequeryPartsrecord component.- Returns:
- the value of the queryPartsrecord component
 
 
-