接口 FilterTranslator

    • 方法详细资料

      • compile

        void compile​(String collectionRole,
                     Map replacements,
                     boolean shallow)
              throws QueryException,
                     MappingException
        Compile a filter. This method may be called multiple times. Subsequent invocations are no-ops.
        参数:
        collectionRole - the role name of the collection used as the basis for the filter.
        replacements - Defined query substitutions.
        shallow - Does this represent a shallow (scalar or entity-id) select?
        抛出:
        QueryException - There was a problem parsing the query string.
        MappingException - There was a problem querying defined mappings.