Skip to content

Permit access to raw response object for Java client library #5996

@venantius

Description

@venantius

I've been tinkering with working on a Clojure driver that would wrap the existing official Java driver (I'm already aware of https://github.com/apa512/clj-rethinkdb). I'm far enough along that I have a functioning prototype, but all queries currently respond with core Java types (e.g. an instance of java.util.ArrayList, etc.).

In my mind, it would be great if the com.rethinkdb.net.Connection class offered me a way to handle the query response myself so that I could directly cast the response into the appropriate Clojure data structure (whether that ended up being an instance of clojure.lang.PersistentVector or something more like a core.async channel, as appropriate).

I think the simplest way to go about this would probably just be to make sendQuery public, but if we wanted to we could also keep it private and open up a different public method interface to support this use case.

Anyways, figured I'd open an issue up for discussion 😄

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions