Sfairadora

  • Reference Guide

Seq_filter_def

The filter definition is used in a sequence and inferred sequence definition. It consists of a sequence whose element type is a structure as described below. The sequence represents a list of disjunctiove conditions.
Type
Name
Description
Seq(Conj_cond_def) optional
(see below)
conj_conds
The list of conjunctive condition forming a single disjunctive condition.
If the function component is present, this component is ignored.
Union optional
function
The function defining the condition when specified as a function for the whole table row.
Int optional
src_id
A component of analytic type supplement info. The information pertains to the component function.
Int optional
parent_src_id
Int optional
parent_skip

Conj_cond_def

Type
Name
Description
Dref
data_ref
The reference to an item within the sequence element to that the condition pertains. The reference is relative to the sequence element.
Dword
operation
The value is composed of two bit-fields. The bits with the mask 0xFF00 specify the operation type:
0x0000
simple type (only the operations for equality/inequality and testing data presence are available.)
0x0100
ordered type.
0x0200
string comparison.
0x0300
string comparison ignoring case.
0x0400
sequence comparison.
The bit-field with the mask 0x00FF specifies the operation:
0x0000
=
0x0001
0x0002
>
0x0003
0x0004
<
0x0005
0x0006
interval of values
0x0007
string prefix
0x0008
string contains
0x0009
string suffix
0x000A
data present
0x000B
data not present
Union optional
value1
The parameter of the operations that require one.
Bool optional
value1_ref
If set to TRUE, the component value1 contains a reference to a value instead of a value itself. (The value1 must then be of the type Dref).
Union optional
value2
The limit of the interval for the operation “interval of values”.
Bool optional
value2_ref
If set to TRUE, the component value2 contains a reference to a value instead of a value itself. (The value2 must then be of the type Dref).
Dword
cmp_param
A parameter further specifying the comparison. Currently not used.
Int optional
src_id
A component of analytic type supplement info. The information pertains to contained functions and references.
Int optional
parent_src_id
Int optional
parent_skip