Hello!
I'm using SNAPSHOT_v9.1d_2014-02-15
I'm trying SimpleType feature.
I set validOperators for my SimpleType (for example, inherited from text or float) and if I call myDataSource.getTypeOperators("mySimpleType") I see more operators than I described in SimpleType.
Is it correct behavior?
Also I don't see operator inSet in FilterBuilder even if I set it in validOperators although it presents in getTypeOperators output
For example:
isc.SimpleType.create({
"inheritsFrom": "float",
"name": "di_SimpleType",
"validOperators": ["isNull", "notInSet", "equalsField", "inSet", "notEqualField", "notEqual", "equals", "notNull"]
});
Evaluator: result of 'common_Contractor_DS.getTypeOperators("di_SimpleT ype")' (1ms):
["isNull", "notInSet", "equalsField", "inSet", "notEqualField", "notEqual", "equals", "notNull", "equals", "notEqual", "lessThan", "greaterThan", "lessOrEqual", "greaterOrEqual", "between", "betweenInclusive", "isNull", "notNull", "inSet", "notInSet", "equalsField", "notEqualField", "greaterThanField", "lessThanField", "greaterOrEqualField", "lessOrEqualField", "and", "or", "not", "inSet", "notInSet"
]
Thank you
I'm using SNAPSHOT_v9.1d_2014-02-15
I'm trying SimpleType feature.
I set validOperators for my SimpleType (for example, inherited from text or float) and if I call myDataSource.getTypeOperators("mySimpleType") I see more operators than I described in SimpleType.
Is it correct behavior?
Also I don't see operator inSet in FilterBuilder even if I set it in validOperators although it presents in getTypeOperators output
For example:
isc.SimpleType.create({
"inheritsFrom": "float",
"name": "di_SimpleType",
"validOperators": ["isNull", "notInSet", "equalsField", "inSet", "notEqualField", "notEqual", "equals", "notNull"]
});
Evaluator: result of 'common_Contractor_DS.getTypeOperators("di_SimpleT ype")' (1ms):
["isNull", "notInSet", "equalsField", "inSet", "notEqualField", "notEqual", "equals", "notNull", "equals", "notEqual", "lessThan", "greaterThan", "lessOrEqual", "greaterOrEqual", "between", "betweenInclusive", "isNull", "notNull", "inSet", "notInSet", "equalsField", "notEqualField", "greaterThanField", "lessThanField", "greaterOrEqualField", "lessOrEqualField", "and", "or", "not", "inSet", "notInSet"
]
Thank you