Class DefaultEntityQueryTranslator

java.lang.Object
com.foreach.across.modules.entity.query.DefaultEntityQueryTranslator
All Implemented Interfaces:
EntityQueryTranslator

public class DefaultEntityQueryTranslator extends Object implements EntityQueryTranslator
Default implementation of EntityQueryTranslator that uses the metadata from a EntityPropertyRegistry to retrieve the property type information and an EQTypeConverter to convert raw arguments into typed values.

If a EntityPropertyDescriptor has an EntityQueryConditionTranslator attribute, the processed EntityQueryCondition will be run through that translator as well.

Note that as of 2.2.0 translation happens recursively on sub queries returned: if a condition translation results in a sub query, the individual conditions of that sub query will also be translated.

Since:
2.0.0
Author:
Arne Vandamme
  • Constructor Details

    • DefaultEntityQueryTranslator

      public DefaultEntityQueryTranslator()
  • Method Details