Scale Intelligence■ Docs
Docs / The model / Operator

Operator.

An operator or a comparator of the closed language, as a row

Figure 1Operatorspecified
OPERATORrow at platform scopenametextthe words a composer shows for the operator, in the buyers' own language; a row without them fails the register's checkplain_wordstextformenum:condition|operator node|gro…each with the type of its valueslots[OperatorSlot]cost_classenum:cheap|scan|semantic|walkkeeps_stateboolregister_hashhashfor a comparator, the value types of the attribute it admits, from the closed list of SourceField typesaccepts[text]optionalfor a comparator, the shape of its right-hand valuerhsenum:none|scalar|many|range|rela…optionalthe words the composer shows for itlabeltextoptionalwhether a unit this operator admits can by itself make a match; a tree with no such leaf cannot armcan_triggerbooloptionalOPERATORSLOTthrough slots
Operator is a row at platform scope. The drawing shows its fields and the objects that they point at.
kind
row
scope
platform
key
its name
store
postgres
family
rules_engine

Fields#

fieldtyperequirednote
nametextyes
plain_wordstextyesthe words a composer shows for the operator, in the buyers’ own language; a row without them fails the register’s check
formone of condition | operator node | groupyes
slotsOperatorSlotyeseach with the type of its value
cost_classone of cheap | scan | semantic | walkyes
keeps_stateboolyes
register_hashhashyes
accepts[text]nofor a comparator, the value types of the attribute it admits, from the closed list of SourceField types
rhsone of none | scalar | many | range | relative windownofor a comparator, the shape of its right-hand value
labeltextnothe words the composer shows for it
can_triggerboolnowhether a unit this operator admits can by itself make a match; a tree with no such leaf cannot arm

Routes that use it#

No route takes or returns Operator directly. The record holds it, and the objects that point at it reach it.