phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Elser <josh.el...@gmail.com>
Subject Re: apache phoenix json api
Date Tue, 19 Apr 2016 19:57:17 GMT
Nope, you shouldn't need to do this.

"statements" that you create using the CreateStatementRequest are very 
similarly treated to the JDBC Statement interface (they essentially 
refer to an instance of a PhoenixStatement inside PQS, actually).

You should be able to create one statement and just prepareAndExecute 
against that.

Plamen Paskov wrote:
> - create new statement for next select (not sure if i need it)
> {
>    "request": "createStatement",
>    "connectionId": 5
> }

Mime
View raw message