Company
Date Published
Author
Simon Basle, Software Engineer, Pivotal
Word count
1135
Language
English
Hacker News points
None

Summary

The Query Team at Couchbase has released Developer Preview 4 of their N1QL feature, which brings the power of query languages like SQL to Couchbase. A new Java SDK compatible with N1QL DP4 is available for developers to use and test this exciting feature. The SDK introduces several changes, including a new `Statement` interface, a `Query` class hierarchy, parametrized statements, prepared statements, and changes in the result format. These updates improve query management, indexing, and performance. The Java SDK can be downloaded and used with the `-Dcom.couchbase.queryEnabled=true` parameter or through the CoreEnvironment when initializing the Cluster.