I always forget about jdbc- that would be a much better option. On Thu, Aug 3, 2017 at 8:47 AM Silvius Rus <s...@cloudera.com> wrote:
> Can you use JDBC? > > Silvius > > > On Aug 2, 2017, at 9:24 PM, Henry Robinson <he...@apache.org> wrote: > > > > Impala's clients all communicate with Impala via Apache Thrift, which is > a > > serialization and RPC format that has bindings for multiple languages. In > > fact, Impala generates Thrift stubs for Java when the frontend is built > > (see for example > > ${IMPALA_HOME}/fe/generated-sources/gen-java/org/apache/impala/thrift > > ImpalaHiveServer2Service.java). > > > > Your best bet is to write a client to the HiveServer2Service. > > > > Henry > > > >> On 2 August 2017 at 19:44, zhangwenyang <zhangweny...@neusoft.com> > wrote: > >> > >> Hi, > >> > >> we team want use impala for in-time query. > >> But we can't find java API, "refresh" for example. > >> If we want to refresh and get data from java coding backend-service, > what > >> we should do? > >> > >> Thanks > >> > >> > >> > >> > >> zhangwenyang > >> > >> > >> ------------------------------------------------------------ > >> --------------------------------------- > >> Confidentiality Notice: The information contained in this e-mail and any > >> accompanying attachment(s) > >> is intended only for the use of the intended recipient and may be > >> confidential and/or privileged of > >> Neusoft Corporation, its subsidiaries and/or its affiliates. If any > reader > >> of this communication is > >> not the intended recipient, unauthorized use, forwarding, printing, > >> storing, disclosure or copying > >> is strictly prohibited, and may be unlawful.If you have received this > >> communication in error,please > >> immediately notify the sender by return e-mail, and delete the original > >> message and all copies from > >> your system. Thank you. > >> ------------------------------------------------------------ > >> --------------------------------------- >