Class NonEmptyColumnRestriction

A ColumnRestriction that requires a string column value to be non-empty.

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

Accessors

Methods

Constructors

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