Package org.basex.query
Class QueryThreads
- java.lang.Object
-
- org.basex.query.QueryThreads
-
public final class QueryThreads extends Object
Local thread caches.- Author:
- BaseX Team 2005-24, BSD License, Christian Gruen
-
-
Constructor Summary
Constructors Constructor Description QueryThreads()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThreadLocal<CmpCache>
get(CmpHashG expr, InputInfo info)
Returns local thread for the given expression.ThreadLocal<FTTokenizer>
get(FTWords expr)
Returns local thread for the given expression.ThreadLocal<PathCache>
get(AxisPath expr)
Returns local thread for the given expression.
-
-
-
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
- expressioninfo
- input info (can benull
)- Returns:
- cache
-
get
public ThreadLocal<FTTokenizer> get(FTWords expr)
Returns local thread for the given expression.- Parameters:
expr
- expression- Returns:
- cache
-
-