public class QueryEngineSettings extends Object implements QueryEngineSettingsMBean
| Modifier and Type | Field and Description |
|---|---|
static String |
SQL2_OPTIMISATION_FLAG
the flag used to turn on/off the optimisations on top of the
Query object. |
static String |
SQL2_OPTIMISATION_FLAG_2 |
static boolean |
SQL2_OPTIMIZATION_2 |
TYPE| Constructor and Description |
|---|
QueryEngineSettings() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getFailTraversal()
Whether queries that don't use an index will fail (throw an exception).
|
boolean |
getFullTextComparisonWithoutIndex() |
long |
getLimitInMemory()
Get the limit on how many nodes a query may read at most into memory, for
"order by" and "distinct" queries.
|
long |
getLimitReads()
Get the limit on how many nodes a query may read at most (raw read
operations, including skipped nodes).
|
boolean |
isFastQuerySize()
Whether the query result size should return an estimation for large queries.
|
boolean |
isSql2Optimisation() |
void |
setFailTraversal(boolean failTraversal)
Set whether queries that don't use an index will fail (throw an exception).
|
void |
setFastQuerySize(boolean fastQuerySize) |
void |
setFullTextComparisonWithoutIndex(boolean fullTextComparisonWithoutIndex) |
void |
setLimitInMemory(long limitInMemory)
Change the limit.
|
void |
setLimitReads(long limitReads)
Change the limit.
|
String |
toString() |
public static final String SQL2_OPTIMISATION_FLAG
Query object.
-Doak.query.sql2optimisationpublic static final String SQL2_OPTIMISATION_FLAG_2
public static final boolean SQL2_OPTIMIZATION_2
public long getLimitInMemory()
QueryEngineSettingsMBeangetLimitInMemory in interface QueryEngineSettingsMBeanpublic void setLimitInMemory(long limitInMemory)
QueryEngineSettingsMBeansetLimitInMemory in interface QueryEngineSettingsMBeanlimitInMemory - the new limitpublic long getLimitReads()
QueryEngineSettingsMBeangetLimitReads in interface QueryEngineSettingsMBeanpublic void setLimitReads(long limitReads)
QueryEngineSettingsMBeansetLimitReads in interface QueryEngineSettingsMBeanlimitReads - the new limitpublic boolean getFailTraversal()
QueryEngineSettingsMBeangetFailTraversal in interface QueryEngineSettingsMBeanpublic void setFailTraversal(boolean failTraversal)
QueryEngineSettingsMBeansetFailTraversal in interface QueryEngineSettingsMBeanfailTraversal - the new value for this settingpublic boolean isFastQuerySize()
QueryEngineSettingsMBeanisFastQuerySize in interface QueryEngineSettingsMBeanpublic void setFastQuerySize(boolean fastQuerySize)
setFastQuerySize in interface QueryEngineSettingsMBeanpublic void setFullTextComparisonWithoutIndex(boolean fullTextComparisonWithoutIndex)
public boolean getFullTextComparisonWithoutIndex()
public boolean isSql2Optimisation()
"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"