Class JDOQLSymbolResolver

    • Constructor Detail

      • JDOQLSymbolResolver

        public JDOQLSymbolResolver​(MetaDataManager mmgr,
                                   ClassLoaderResolver clr,
                                   SymbolTable symtbl,
                                   Class cls,
                                   String alias)
        Constructor for symbol resolver.
        mmgr - MetaData manager
        clr - ClassLoader resolver
        symtbl - Symbol table
        cls - Candidate class
        alias - Candidate alias
    • Method Detail

      • resolveClass

        public Class resolveClass​(String className)
        Method to perform a lookup of the class name from the input name. Makes use of the query "imports" and the lookup to "entity name".
        className - Name of the class
        The class corresponding to this name
        ClassNotResolvedException - thrown if not resolvable using imports or entity name
      • caseSensitiveSymbolNames

        public boolean caseSensitiveSymbolNames()
        Description copied from interface: SymbolResolver
        Whether names of symbols are case-sensitive (e.g JDOQL returns true, but JPQL returns false).
        Whether case sensitive
      • supportsImplicitVariables

        public boolean supportsImplicitVariables()
        Description copied from interface: SymbolResolver
        Whether we should accept implicit variables in the query. JDOQL supports variables, yet JPQL doesn't. Also in JDOQL if the user supplies some explicit variables then it doesn't allow implicit variables.
        Whether to support implicit variables