A ColumnRestriction that constrains a string column to one of a fixed set of allowed values.
This class is intended for testing and demonstrating validation functionality, it is not production ready and may be changed or removed at any time.
Protected
The list of allowed string values for this column.
The allowed values
The fully-qualified protobuf type name of this restriction (e.g., "io.deephaven.proto.backplane.grpc.IntegerRangeRestriction").
"io.deephaven.proto.backplane.grpc.IntegerRangeRestriction"
The restriction type name
Validates a proposed value against this restriction.
The proposed column value to validate
An error message if the value violates the restriction, or null if the value is valid
null
A ColumnRestriction that constrains a string column to one of a fixed set of allowed values.
This class is intended for testing and demonstrating validation functionality, it is not production ready and may be changed or removed at any time.