All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.deephaven.api.updateby.BadDataBehavior Maven / Gradle / Ivy

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
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy