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

Constructors

Properties

Accessors

Methods

Constructors

Properties

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

Returns

The maximum value as a LongWrapper, or null

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

Returns

The minimum value as a LongWrapper, or null

Accessors

  • 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

Methods

  • 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