2.12.8.1 SizeRestriction Structure


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

RestrictType

RelOp

PropTag

...

Size

...

RestrictType (1 byte): An unsigned integer. This value indicates the type of restriction (2) and MUST be set to 0x07.

RelOp (1 byte): An unsigned integer. This value indicates the relational operator used in the size comparison. The value MUST be one the value listed in the following table.

Relational operator name

Hexadecimal value

Evaluation

Alternate name

RelationalOperatorLessThan

0x00

TRUE if the object's property value is less than the specified value.

RELOP_LT

RelationalOperatorLessThanOrEqual

0x01

TRUE if the object's property value is less than or equal to the specified value.

RELOP_LE

RelationalOperatorGreaterThan

0x02

TRUE if the object's property value is greater than the specified value.

RELOP_GT

RelationalOperatorGreaterThanOrEqual

0x03

TRUE if the object's property value is greater than or equal to the specified value.

RELOP_GE

RelationalOperatorEqual

0x04

TRUE if the object's property value equals the specified value.

RELOP_EQ

RelationalOperatorNotEqual

0x05

TRUE if the object's property value does not equal the specified value.

RELOP_NE

PropTag (4 bytes): An unsigned integer. This value indicates the property tag of the property whose value size is being tested.

Size (4 bytes): An unsigned integer. This value indicates the size, in bytes, that is to be used in the comparison.

If the value of the PropTag field is multivalued, there are two cases. If it was specified as a MultivalueInstance column in the table, the size restriction is evaluated for each row by using the size of the single instance value of the row. If the value of the PropTag field was not specified as a MultivalueInstance column in the table, the size restriction is evaluated for each multivalue. If one of the size restrictions succeeds, the restriction (2) is satisfied.