Skip to content

Implement an object filter API #42

Open
@beikov

Description

@beikov

It would be awesome if we could implement an API that allows to filter a list of objects and their collections based on a filter predicate. I think that the Blaze-Expression language is restricted enough so that we can implement that in general.

I think that we will need to implement this by first translating the object graph to a tuple list so that we have a tuple per collection element, filter the tuple list by the predicate and finally try to filter the object graph based on the resulting tuple list. Maybe we don't need the tuple list translation step, but there are definitely challenges to solve for predicates that involve multiple collections like e.g. root.collection1.name = root.collection2.name.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions