ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Semyon Boikov <sboi...@apache.org>
Subject Distributed joins for JDBC
Date Mon, 25 Jul 2016 06:19:13 GMT

Last week distributed joins functionality was merged, but one thing was
overlooked. Distributed joins should be explicitly enabled using using
method 'setDistributedJoins' available in java API
(SqlQuery/SqlFieldsQuery). First, this parameter should be also added in
.Net/C++/REST API, this is straightforward. Also there should be
possibility to enable distributed joins for JDBC API. Does it make sense to
add Ignite-specific interface extending standard java.sql.Statement, so
'setDistributedJoins' method can be added there.
JDBC API already have 'unwrap' method to deal with vendor-specific
interfaces, code will look like this:
* IgniteStatement stmt =
* stmt.setDistributedJoins(true);*
*        stmt.executeQuery("...");*

What do you think?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message