Package io.deephaven.api.updateby
Class OperationControl
java.lang.Object
io.deephaven.api.updateby.OperationControl
Control parameters for performing operations with Table#updateBy()
Defaults are as follows
- On null Values - Skip
- On NaN Values - Skip
- On null timestamps - Skip
- On zero delta Time - Skip
- On negative delta time - Throw Exception
- BigDecimal / BigInteger MathContext - Decimal 128
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract Optional<MathContext>
static OperationControl.Builder
builder()
static OperationControl
final OperationControl
Create a new instance with all of the explicit-or-default values fromthis
.abstract Optional<BadDataBehavior>
Get the behavior for whenDouble.NaN
values are encountered.abstract Optional<BadDataBehavior>
abstract Optional<BadDataBehavior>
abstract Optional<BadDataBehavior>
Get the behavior for whennull
values are encountered.abstract Optional<BadDataBehavior>
-
Constructor Details
-
OperationControl
public OperationControl()
-
-
Method Details
-
builder
-
defaultInstance
-
onNullValue
-
onNanValue
-
onNullTime
-
onNegativeDeltaTime
-
onZeroDeltaTime
-
bigValueContext
-
onNullValueOrDefault
Get the behavior for whennull
values are encountered. Defaults toSKIP
.- Returns:
- the behavior for
null
values.
-
onNanValueOrDefault
Get the behavior for whenDouble.NaN
values are encountered. Defaults toSKIP
.- Returns:
- the behavior for
Double.NaN
values
-
bigValueContextOrDefault
Get theMathContext
to use when processingBigInteger
andBigDecimal
values. Defaults toMathContext.DECIMAL128
.- Returns:
- the
MathContext
-
materialize
Create a new instance with all of the explicit-or-default values fromthis
. This may be useful from the context of a client who wants to use client-side configuration defaults instead of server-side configuration defaults.- Returns:
- the explicit new instance
-