|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.client.ConfigurationEngineDefaults.Expression
public static class ConfigurationEngineDefaults.Expression
Expression evaluation settings in the engine are for results of expressions.
Constructor Summary | |
---|---|
ConfigurationEngineDefaults.Expression()
Ctor. |
Method Summary | |
---|---|
java.math.MathContext |
getMathContext()
Returns the math context for big decimal operations, or null to leave the math context undefined. |
boolean |
isDivisionByZeroReturnsNull()
Returns false (default) when division by zero returns Double.Infinity. |
boolean |
isDuckTyping()
Returns true to indicate that duck typing is enable for the specific syntax where it is allowed (check the documentation). |
boolean |
isExtendedAggregation()
Enables or disables non-SQL standard builtin aggregation functions. |
boolean |
isIntegerDivision()
Returns false (the default) for integer division returning double values. |
boolean |
isSelfSubselectPreeval()
Set to true (the default) to indicate that sub-selects within a statement are updated first when a new event arrives. |
boolean |
isUdfCache()
By default true, indicates that user-defined functions cache return results if the parameter set is empty or has constant-only return values. |
void |
setDivisionByZeroReturnsNull(boolean divisionByZeroReturnsNull)
Set to false (default) to have division by zero return Double.Infinity. |
void |
setDuckTyping(boolean duckTyping)
Set to true to indicate that duck typing is enable for the specific syntax where it is allowed (check the documentation). |
void |
setExtendedAggregation(boolean extendedAggregation)
Enables or disables non-SQL standard builtin aggregation functions. |
void |
setIntegerDivision(boolean integerDivision)
Set to false (default) for integer division returning double values. |
void |
setMathContext(java.math.MathContext mathContext)
Sets the math context for big decimal operations, or null to leave the math context undefined. |
void |
setSelfSubselectPreeval(boolean selfSubselectPreeval)
Set to true (the default) to indicate that sub-selects within a statement are updated first when a new event arrives. |
void |
setUdfCache(boolean udfCache)
Set to true (the default) to indicate that user-defined functions cache return results if the parameter set is empty or has constant-only return values. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfigurationEngineDefaults.Expression()
Method Detail |
---|
public boolean isIntegerDivision()
Returns true to signal that Java-convention integer division semantics are used for divisions, whereas the division between two non-FP numbers returns only the whole number part of the result and any fractional part is dropped.
public void setIntegerDivision(boolean integerDivision)
integerDivision
- true for integer division returning integer, false (default) forpublic boolean isDivisionByZeroReturnsNull()
If integer devision is set, then division by zero for non-FP operands also returns null.
public void setDivisionByZeroReturnsNull(boolean divisionByZeroReturnsNull)
If integer devision is set, then division by zero for non-FP operands also returns null.
divisionByZeroReturnsNull
- indicator for division-by-zero resultspublic boolean isUdfCache()
public void setUdfCache(boolean udfCache)
udfCache
- cache flagpublic boolean isSelfSubselectPreeval()
public void setSelfSubselectPreeval(boolean selfSubselectPreeval)
selfSubselectPreeval
- indicator whether to evaluate sub-selects first or last on new event arrivalpublic boolean isExtendedAggregation()
public void setExtendedAggregation(boolean extendedAggregation)
extendedAggregation
- indicatorpublic boolean isDuckTyping()
public void setDuckTyping(boolean duckTyping)
duckTyping
- indicatorpublic java.math.MathContext getMathContext()
public void setMathContext(java.math.MathContext mathContext)
mathContext
- math context or null
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |