Hy guys, In the past weeks I was working on the query api/spi and RDF implementation of spi. Right now the query api allows the following:
* and/or/not * equals: Property = value * greater than: Property > value * greater or equal: Property >= value * less than: Property < value * less or equal: Property <= value * isNull: Property or Association is not set * isNotNull: Property or Association is set My question is: what other filtering predicates do you see as useful? Right now I also see, but I would like to know if you find them useful: * matches: Property<String> matches a regexp. Or shall we call it "LIKE"? * in: Property<T> in (T...) = evaluates to true when property value is any of the values in array * between: Property >= minValue && Property <= maxValue Also, till now there is no support for ManyAssociation(s). Question is what kind of filtering shall we support for ManyAssociation(s)? This can be useful 9yet I do not know how easy can be implemented): * isEmpty, isNotEmpty * sizeEq, sizeNotEq, sizeGe, sizeGt, sizeLe, sizeLt * contains: ManyAssociation collection contains a certain entity Cheers, Alin _______________________________________________ qi4j-dev mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/qi4j-dev

