Updated on 2022-08-08 GMT+08:00

Constraints

Table 1 and Table 2 list the metadata types.

Table 1 Metadata property constraints

Data Type

Constraints

char

  • Less than (<)
  • Greater than (>)
  • Equal to (=)
  • Not equal to (!=)
  • In range (range)
  • Greater than or equal to (>=)
  • Less than or equal to (<=)

char array

  • Less than (<)
  • Greater than (>)
  • Equal to (=)
  • Not equal to (!=)
  • In range (range)
  • Greater than or equal to (>=)
  • Less than or equal to (<=)

float

  • Less than (<)
  • Greater than (>)
  • Equal to (=)
  • Not equal to (!=)
  • In range (range)
  • Greater than or equal to (>=)
  • Less than or equal to (<=)

double

  • Less than (<)
  • Greater than (>)
  • Equal to (=)
  • Not equal to (!=)
  • In range (range)
  • Greater than or equal to (>=)
  • Less than or equal to (<=)

bool

  • Equal to (=)
  • Not equal to (!=)

long

  • Less than (<)
  • Greater than (>)
  • Equal to (=)
  • Not equal to (!=)
  • In range (range)
  • Greater than or equal to (>=)
  • Less than or equal to (<=)

int

  • Less than (<)
  • Greater than (>)
  • Equal to (=)
  • Not equal to (!=)
  • In range (range)
  • Greater than or equal to (>=)
  • Less than or equal to (<=)

date

  • Less than (<)
  • Greater than (>)
  • Equal to (=)
  • Not equal to (!=)
  • In range (range)
  • Greater than or equal to (>=)
  • Less than or equal to (<=)

enum

  • Equal to (=)
  • Not equal to (!=)

string

  • Less than (<)
  • Greater than (>)
  • Equal to (=)
  • Not equal to (!=)
  • In range (range)
  • Greater than or equal to (>=)
  • Less than or equal to (<=)
Table 2 Property-level constraints

Property Level

Constraints

Description

Single value/Multiple values

has

This property is contained.

Single value/Multiple values

hasNot

This property is not contained.