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

ISPN-3175 Upgrade the java hotrod client to support remote querying #2022

Closed
wants to merge 3 commits into from

Conversation

anistor
Copy link
Member

@anistor anistor commented Aug 26, 2013

Jira: https://issues.jboss.org/browse/ISPN-3175

Please integrate in master.

import org.infinispan.client.hotrod.impl.query.RemoteQueryFactory;
import org.infinispan.query.dsl.QueryFactory;

//todo isn't it better to expose this directly on RemoteCache?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmmmm, I guess we need to map to what happens with embedded Cache + embedded Query, right?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, ideally remote and embedded APIs should be identical, with the exception here were the class comes from another package.

@galderz
Copy link
Member

galderz commented Aug 27, 2013

Good stuff @anistor :), ping the dev list (better actually) if you wanna talk about how to enhance interoperability/compatibility mode to better accommodate your type converter requirements for remote query...

@anistor
Copy link
Member Author

anistor commented Aug 28, 2013

@galderz I've updated the PR but not all the items are solved yet.

@galderz
Copy link
Member

galderz commented Aug 30, 2013

@anistor Ok, put an update when the other items have been resolved and the PR is updated.

@galderz
Copy link
Member

galderz commented Sep 3, 2013

@anistor All items resolved now?

@anistor
Copy link
Member Author

anistor commented Sep 3, 2013

Nope, but getting closer. Will update again this evening.

@anistor
Copy link
Member Author

anistor commented Sep 4, 2013

@galderz I've updated it now and I'm satisfied with the results (even though there still are loads of TODOs). I would suggest integrating as is so we can have this in the next alpha/beta release. There is one remaining item, the RemoteValueWrapperInterceptor might not be the ideal solution for what I'm trying to achieve. I will ask the devlist today and depending on the opinions we collect we might change this after the release. Thanks!

* Add remote-query module and QueryFacade implementation
* Remove the checked exception declared by QueryFacade.query method
* KeyTransformationHandler should provide default support for byte[]
@galderz galderz closed this Sep 4, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants