Class QueryThreads


  • public final class QueryThreads
    extends Object
    Local thread caches.
    Author:
    BaseX Team 2005-24, BSD License, Christian Gruen
    • Constructor Detail

      • QueryThreads

        public QueryThreads()
    • Method Detail

      • get

        public ThreadLocal<PathCache> get​(AxisPath expr)
        Returns local thread for the given expression.
        Parameters:
        expr - expression
        Returns:
        cache
      • get

        public ThreadLocal<CmpCache> get​(CmpHashG expr,
                                         InputInfo info)
        Returns local thread for the given expression.
        Parameters:
        expr - expression
        info - input info (can be null)
        Returns:
        cache
      • get

        public ThreadLocal<FTTokenizer> get​(FTWords expr)
        Returns local thread for the given expression.
        Parameters:
        expr - expression
        Returns:
        cache