Skip to content

Make POJOs for RethinkDB-specific objects. #18

@NotJustAnna

Description

@NotJustAnna

Currently, the query r.table("test").insert(r.hashMap("foo", "bar").run(conn) returns a Map.

But this is the Java driver and we'd have a better interface if we had a POJO, provided by the driver, to unserialize to. This would make the query just barely slightly bigger:

r.table("test").insert(r.hashMap("foo", "bar").run(conn, TableOperation.class)

But this would give automatic completion for all the documented values.

List of known objects:

(Note: these aren't official nor final names)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions