Class CohQLQueryBuilder

java.lang.Object
io.micronaut.data.model.query.builder.AbstractSqlLikeQueryBuilder
io.micronaut.data.model.query.builder.jpa.JpaQueryBuilder
io.micronaut.coherence.data.query.CohQLQueryBuilder
All Implemented Interfaces:
io.micronaut.data.model.query.builder.QueryBuilder

public class CohQLQueryBuilder extends io.micronaut.data.model.query.builder.jpa.JpaQueryBuilder
A JpaQueryBuilder specialized for use with CohQL.
  • Nested Class Summary

    Nested classes/interfaces inherited from class io.micronaut.data.model.query.builder.AbstractSqlLikeQueryBuilder

    io.micronaut.data.model.query.builder.AbstractSqlLikeQueryBuilder.CriteriaContext, io.micronaut.data.model.query.builder.AbstractSqlLikeQueryBuilder.CriterionHandler<T extends io.micronaut.data.model.query.QueryModel.Criterion>, io.micronaut.data.model.query.builder.AbstractSqlLikeQueryBuilder.Placeholder, io.micronaut.data.model.query.builder.AbstractSqlLikeQueryBuilder.QueryPosition, io.micronaut.data.model.query.builder.AbstractSqlLikeQueryBuilder.QueryPropertyPath, io.micronaut.data.model.query.builder.AbstractSqlLikeQueryBuilder.QueryState
  • Field Summary

    Fields inherited from class io.micronaut.data.model.query.builder.AbstractSqlLikeQueryBuilder

    ALIAS_REPLACE, ALIAS_REPLACE_QUOTED, AND, AS_CLAUSE, AVG, CLOSE_BRACKET, COMMA, COUNT_DISTINCT, DELETE_CLAUSE, DISTINCT, DOT, EQUALS, EQUALS_FALSE, EQUALS_TRUE, FROM_CLAUSE, FUNCTION_COUNT, GREATER_THAN, GREATER_THAN_OR_EQUALS, IS_EMPTY, IS_NOT_EMPTY, IS_NOT_NULL, IS_NULL, JSON_COLUMN, LESS_THAN, LESS_THAN_OR_EQUALS, LOGICAL_AND, LOGICAL_OR, MAX, MIN, NOT, NOT_EQUALS, OPEN_BRACKET, OR, ORDER_BY_CLAUSE, queryHandlers, SELECT_CLAUSE, SPACE, SUM, UPDATE_CLAUSE, WHERE_CLAUSE

    Fields inherited from interface io.micronaut.data.model.query.builder.QueryBuilder

    VARIABLE_PATTERN
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected @NonNull StringBuilder
     
    protected String[]
    buildJoin(String alias, io.micronaut.data.model.query.JoinPath joinPath, String joinType, StringBuilder target, Map<String,String> appliedJoinPaths, io.micronaut.data.model.query.builder.AbstractSqlLikeQueryBuilder.QueryState queryState)
     
    resolveJoinType(io.micronaut.data.annotation.Join.Type jt)
     

    Methods inherited from class io.micronaut.data.model.query.builder.jpa.JpaQueryBuilder

    appendProjectionRowCount, buildAdditionalWhereClause, buildInsert, buildPagination, computePropertyPaths, formatParameter, getAliasName, getColumnName, getTableName, isAliasForBatch, quote, selectAllColumns, selectAllColumns

    Methods inherited from class io.micronaut.data.model.query.builder.AbstractSqlLikeQueryBuilder

    addCriterionHandler, appendAssociationProjection, appendForUpdate, appendOrder, appendPropertyRef, appendTransformed, appendUpdateSetParameter, asLiteral, asLiterals, asPath, buildAdditionalWhereString, buildAdditionalWhereString, buildDelete, buildOrderBy, buildOrderBy, buildQuery, buildSelect, buildUpdate, buildUpdate, buildWhereClause, checkDialectSupportsJsonEntity, concat, getAliasName, getColumnAlias, getDataTransformerReadValue, getDataTransformerWriteValue, getDialect, getMappedName, getMappedName, getMappedName, getNamingStrategy, getNamingStrategy, getPathOnlyAliasName, getTableAsKeyword, getUnescapedTableName, handleSubQuery, isExpandEmbedded, isJsonEntity, newBindingContext, resolveWhereForAnnotationMetadata, selectAllColumns, selectAllColumnsFromJoinPaths, shouldEscape, traversePersistentProperties, traversePersistentProperties, traversePersistentProperties, traversePersistentProperties

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.micronaut.data.model.query.builder.QueryBuilder

    buildDelete, buildDelete, buildOrderBy, buildQuery, buildUpdate, buildUpdate, buildUpdate, buildUpdate, shouldAliasProjections, supportsForUpdate
  • Constructor Details

    • CohQLQueryBuilder

      public CohQLQueryBuilder()
  • Method Details

    • buildJoin

      protected String[] buildJoin(String alias, io.micronaut.data.model.query.JoinPath joinPath, String joinType, StringBuilder target, Map<String,String> appliedJoinPaths, io.micronaut.data.model.query.builder.AbstractSqlLikeQueryBuilder.QueryState queryState)
      Overrides:
      buildJoin in class io.micronaut.data.model.query.builder.jpa.JpaQueryBuilder
    • resolveJoinType

      public String resolveJoinType(io.micronaut.data.annotation.Join.Type jt)
      Overrides:
      resolveJoinType in class io.micronaut.data.model.query.builder.jpa.JpaQueryBuilder
    • appendDeleteClause

      @NonNull protected @NonNull StringBuilder appendDeleteClause(StringBuilder queryString)
      Overrides:
      appendDeleteClause in class io.micronaut.data.model.query.builder.jpa.JpaQueryBuilder