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
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Optional<MathContext>static OperationControl.Builderbuilder()static OperationControlfinal OperationControlCreate a new instance with all of the explicit-or-default values fromthis.abstract Optional<BadDataBehavior>Get the behavior for whenDouble.NaNvalues are encountered.abstract Optional<BadDataBehavior>abstract Optional<BadDataBehavior>abstract Optional<BadDataBehavior>Get the behavior for whennullvalues 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 whennullvalues are encountered. Defaults toSKIP.- Returns:
- the behavior for
nullvalues.
-
onNanValueOrDefault
Get the behavior for whenDouble.NaNvalues are encountered. Defaults toSKIP.- Returns:
- the behavior for
Double.NaNvalues
-
bigValueContextOrDefault
Get theMathContextto use when processingBigIntegerandBigDecimalvalues. 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
-