@deephaven/jsapi-types
    Preparing search index...

    Class IntegerRangeColumnRestriction

    A ColumnRestriction that constrains an integer column to a closed range [min, max]. Either bound may be null, meaning the range is unbounded on that side.

    This class is intended for testing and demonstrating validation functionality, it is not production ready and may be changed or removed at any time.

    Hierarchy (View Summary)

    Index

    The inclusive maximum value allowed, or null if the range is unbounded above.

    The maximum value as a LongWrapper, or null

    The inclusive minimum value allowed, or null if the range is unbounded below.

    The minimum value as a LongWrapper, or null

    • get type(): string

      The fully-qualified protobuf type name of this restriction (e.g., "io.deephaven.proto.backplane.grpc.IntegerRangeRestriction").

      Returns string

      The restriction type name

    • Validates a proposed value against this restriction.

      Parameters

      • value: any

        The proposed column value to validate

      Returns string

      An error message if the value violates the restriction, or null if the value is valid