io.deephaven.api.updateby.BadDataBehavior Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of deephaven-table-api Show documentation
Show all versions of deephaven-table-api Show documentation
The Deephaven table operations API
The newest version!
//
// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending
//
package io.deephaven.api.updateby;
/**
* Directives for how to handle {@code null} and {@code NaN} values while processing EMAs
*/
public enum BadDataBehavior {
/** Throw an exception and abort processing when bad data is encountered */
THROW,
/** Reset the state for the bucket to {@code null} when invalid data is encountered */
RESET,
/** Skip and do not process the invalid data without changing state */
SKIP,
/** Allow the bad data to poison the result. This is only valid for use with NaN */
POISON
}