Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RdfDataSource: Optimize repeated wrapping with algebra transforms. #10

Open
Aklakan opened this issue Feb 5, 2024 · 0 comments
Open

Comments

@Aklakan
Copy link
Member

Aklakan commented Feb 5, 2024

Consecutive wrappings of an RdfDataSource with algebra transformations will call Algebra.compile and OpAsQuery for each transform.
The wrap methods should automatically optimize the built RdfDataSource such that subsequent algebra transforms are carried out on the Op-level - i.e. without converting back and forth to the syntax form.

RdfDataSource dataSource = () -> RDFConnection.connect(...);
dataSource = RdfDataSources.wrapWithOpTransform(base, opTransform1);
dataSource = RdfDataSources.wrapWithOpTransform(base, opTransform2);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant