public static class ConfigurationEngineDefaults.Expression extends Object implements Serializable
Constructor and Description |
---|
Expression()
Ctor.
|
Modifier and Type | Method and Description |
---|---|
MathContext |
getMathContext()
Returns the math context for big decimal operations, or null to leave the math context undefined.
|
TimeZone |
getTimeZone()
Returns the time zone for calendar operations.
|
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(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 |
setTimeZone(TimeZone timeZone)
Sets the time zone for calendar operations.
|
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.
|
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 MathContext getMathContext()
public void setMathContext(MathContext mathContext)
mathContext
- math context or nullpublic TimeZone getTimeZone()
public void setTimeZone(TimeZone timeZone)
timeZone
- time zone