public class HGQueryConfiguration extends Object
Holds a set of configuration settings for the query sub-system of a HyperGraph
instance.
Constructor and Description |
---|
HGQueryConfiguration() |
Modifier and Type | Method and Description |
---|---|
HGQueryConfiguration |
addCompiler(Class<? extends HGQueryCondition> type,
ConditionToQuery<?> compiler) |
HGQueryConfiguration |
addContractTransform(Class<? extends HGQueryCondition> type,
QueryCompile.Contract transform) |
HGQueryConfiguration |
addExpandTransform(Class<? extends HGQueryCondition> type,
QueryCompile.Expand transform) |
<T> ConditionToQuery<T> |
compiler(Class<?> type) |
List<QueryCompile.Contract> |
getContractTransforms(Class<? extends HGQueryCondition> type) |
List<QueryCompile.Expand> |
getExpandTransforms(Class<? extends HGQueryCondition> type) |
boolean |
isParallelExecution() |
void |
setParallelExecution(boolean parallelExecution) |
public <T> ConditionToQuery<T> compiler(Class<?> type)
public HGQueryConfiguration addCompiler(Class<? extends HGQueryCondition> type, ConditionToQuery<?> compiler)
public HGQueryConfiguration addExpandTransform(Class<? extends HGQueryCondition> type, QueryCompile.Expand transform)
public HGQueryConfiguration addContractTransform(Class<? extends HGQueryCondition> type, QueryCompile.Contract transform)
public List<QueryCompile.Expand> getExpandTransforms(Class<? extends HGQueryCondition> type)
public List<QueryCompile.Contract> getContractTransforms(Class<? extends HGQueryCondition> type)
public boolean isParallelExecution()
public void setParallelExecution(boolean parallelExecution)
Copyright © 2015. All rights reserved.