| Modifier and Type | Field and Description |
|---|---|
| private Bindings | |
| private final DatabaseImpl | |
| private Map | |
| private FunctionLookup | |
| private Locale | |
| private static final int | |
| private NumericConfig | |
| private final RandomContext | |
| private Map | |
| private TemporalConfig |
| Access | Constructor and Description |
|---|---|
| public |
| bindings | back to summary |
|---|---|
| private Bindings bindings | |
| db | back to summary |
|---|---|
| private final DatabaseImpl db | |
| dfs | back to summary |
|---|---|
| private Map<String, DecimalFormat> dfs | |
| funcs | back to summary |
|---|---|
| private FunctionLookup funcs | |
| locale | back to summary |
|---|---|
| private Locale locale | |
| MAX_CACHE_SIZE | back to summary |
|---|---|
| private static final int MAX_CACHE_SIZE | |
| numeric | back to summary |
|---|---|
| private NumericConfig numeric | |
| rndCtx | back to summary |
|---|---|
| private final RandomContext rndCtx | |
| sdfs | back to summary |
|---|---|
| private Map<String, DateTimeFormatter> sdfs | |
| temporal | back to summary |
|---|---|
| private TemporalConfig temporal | |
| DBEvalContext | back to summary |
|---|---|
| public DBEvalContext(DatabaseImpl db) | |
| createDateFormatter | back to summary |
|---|---|
| public DateTimeFormatter createDateFormatter(String formatStr) Implements io. Doc from io. Returns an appropriately configured (i.e. locale) DateTimeFormatter for the given format.
| |
| createDecimalFormat | back to summary |
|---|---|
| public DecimalFormat createDecimalFormat(String formatStr) Implements io. Doc from io. Returns an appropriately configured (i.e. DecimalFormatSymbols) DecimalFormat for the given format.
| |
| getBindings | back to summary |
|---|---|
| public Bindings getBindings() Implements io. Doc from io. Returns the currently configured Bindings.
| |
| getDatabase | back to summary |
|---|---|
| protected DatabaseImpl getDatabase() | |
| getFunctionLookup | back to summary |
|---|---|
| public FunctionLookup getFunctionLookup() Implements io. Doc from io. Returns the currently configured FunctionLookup.
| |
| getLocale | back to summary |
|---|---|
| public Locale getLocale() Overrides default io. Implements io. Doc from io. Returns the currently configured Locale.
| |
| getNumericConfig | back to summary |
|---|---|
| public NumericConfig getNumericConfig() Implements io. Doc from io. Returns the currently configured NumericConfig.
| |
| getRandom | back to summary |
|---|---|
| public float getRandom(Integer seed) | |
| getTemporalConfig | back to summary |
|---|---|
| public TemporalConfig getTemporalConfig() Implements io. Doc from io. Returns the currently configured TemporalConfig.
| |
| getZoneId | back to summary |
|---|---|
| public ZoneId getZoneId() Implements io. Doc from io. Returns the currently configured ZoneId.
| |
| setBindings | back to summary |
|---|---|
| public void setBindings(Bindings bindings) Implements io. Doc from io. Allows for passing custom information into expression evaluation. Currently, none of the default implementations make use of the Bindings. However, in the future, customization parameters could potentially be supported via custom Bindings. Additionally, custom Function instances could be passed external information via custom Bindings.
| |
| setFunctionLookup | back to summary |
|---|---|
| public void setFunctionLookup(FunctionLookup lookup) Implements io. Doc from io. Sets the
| |
| setLocale | back to summary |
|---|---|
| public void setLocale(Locale newLocale) Implements io. Doc from io. Sets the Locale for use when evaluating expressions. The default locale is
| |
| setNumericConfig | back to summary |
|---|---|
| public void setNumericConfig(NumericConfig newNumeric) Implements io. Doc from io. Sets the NumericConfig for use when evaluating expressions. The default date/time formatting is US based, so this
may need to be modified when interacting with
| |
| setTemporalConfig | back to summary |
|---|---|
| public void setTemporalConfig(TemporalConfig newTemporal) Implements io. Doc from io. Sets the TemporalConfig for use when evaluating expressions. The default date/time formatting is US based, so
this may need to be modified when interacting with
| |