Infinispan Node.js client supports query
Node.js Client 0.10.0
Infinispan Node.js client version 0.10.0 was released last week with added support of query with
application/x-protostream data format.
Up until now, our Node.js client only supported
application/json data formats.
application/x-protostream data format
You can now use the
application/x-protostream data format for all the Hot Rod operations supported in js-client. To make the Node.js client backwards compatible, the client still treats key/value pairs as String by default.
The Hot Rod js-client now also supports query method to perform queries on caches. For more information about querying infinispan caches, refer to the query documentation.
You must set the data-format as
For the working code example of the query feature, please refer to this.
Get it, Use it, Ask us!We’re hard at work on new features, improvements and fixes, so watch this space for more announcements!
Please, download and test the latest release.
If you have questions, are experiencing a bug or want advice on using Infinispan, you can use StackOverflow. We will do our best to answer you as soon as we can.