public class QueryCompile extends Object
A controller-type of class that maintains context during the query compilation process.
Unless you are extending the querying API somehow, this class is normally not of interest to HyperGraphDB users.
Modifier and Type | Class and Description |
---|---|
static interface |
QueryCompile.Contract |
static interface |
QueryCompile.Expand |
Constructor and Description |
---|
QueryCompile() |
Modifier and Type | Method and Description |
---|---|
static <SearchResult> |
analyze(HyperGraph graph,
HGQueryCondition condition,
Map<String,Object> options) |
static void |
finish()
Finish query compilation in this thread.
|
static void |
parallel() |
static void |
start()
Start query compilation in the current thread.
|
static QueryMetaData |
toMetaData(HyperGraph graph,
HGQueryCondition condition) |
static <T> HGQuery<T> |
translate(HyperGraph graph,
HGQueryCondition condition) |
static <ResultType> |
translator(HyperGraph graph,
Class<? extends HGQueryCondition> conditionType) |
public static void start()
finish
is called in a finally
block.public static void finish()
public static void parallel()
public static <ResultType> ConditionToQuery<ResultType> translator(HyperGraph graph, Class<? extends HGQueryCondition> conditionType)
public static <T> HGQuery<T> translate(HyperGraph graph, HGQueryCondition condition)
public static QueryMetaData toMetaData(HyperGraph graph, HGQueryCondition condition)
public static <SearchResult> AnalyzedQuery<SearchResult> analyze(HyperGraph graph, HGQueryCondition condition, Map<String,Object> options)
Copyright © 2015. All rights reserved.