Class CriteriaSqlBuilder

  • All Implemented Interfaces:
    CriteriaVisitor<org.springframework.data.relational.core.sql.Condition>

    public class CriteriaSqlBuilder
    extends Object
    implements CriteriaVisitor<org.springframework.data.relational.core.sql.Condition>
    • Field Detail

      • entitiesByAlias

        protected Map<String,​org.springframework.data.relational.core.mapping.RelationalPersistentEntity<?>> entitiesByAlias
      • tablesByAlias

        protected Map<String,​org.springframework.data.relational.core.sql.Table> tablesByAlias
    • Constructor Detail

      • CriteriaSqlBuilder

        public CriteriaSqlBuilder​(Map<String,​org.springframework.data.relational.core.mapping.RelationalPersistentEntity<?>> entitiesByAlias,
                                  Map<String,​org.springframework.data.relational.core.sql.Table> tablesByAlias,
                                  SqlQuery<?> query)
    • Method Detail

      • visit

        public org.springframework.data.relational.core.sql.Condition visit​(Criteria.And and)
        Specified by:
        visit in interface CriteriaVisitor<org.springframework.data.relational.core.sql.Condition>
      • visit

        public org.springframework.data.relational.core.sql.Condition visit​(Criteria.Or or)
        Specified by:
        visit in interface CriteriaVisitor<org.springframework.data.relational.core.sql.Condition>
      • toExpression

        protected org.springframework.data.relational.core.sql.Expression toExpression​(Object value)
      • toExpression

        protected org.springframework.data.relational.core.sql.Expression toExpression​(Criteria.PropertyOperand propertyOperand)