I'm not sure what you mean by "cached" data.

Check out the docs.  You can run these commands as JDBC statements.
http://impala.apache.org/docs/build/html/topics/impala_refresh.html#refresh
http://impala.apache.org/docs/build/html/topics/impala_invalidate_metadata.html#invalidate_metadata

On Thu, Aug 3, 2017 at 7:01 PM, zhangwenyang <[email protected]>
wrote:

> Hi, Silvius
>
> there are three level refresh: clear cache, increment update metadata,
> invalidate metadata,
> 1) the data get by jdbc, is the cached data or real data?
> 2)  how to refresh the impala data source at the three level?
>
> Thanks
>
>
>
> zhangwenyang
>
> From: Silvius Rus
> Date: 2017-08-03 23:47
> To: [email protected]
> CC: zhangwenyang; dev
> Subject: Re: Impala Java API
> Can you use JDBC?
>
> Silvius
>
> > On Aug 2, 2017, at 9:24 PM, Henry Robinson <[email protected]> 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 <[email protected]>
> 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.
> >> ------------------------------------------------------------
> >> ---------------------------------------
>
>
> ------------------------------------------------------------
> ---------------------------------------
> 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.
> ------------------------------------------------------------
> ---------------------------------------
>

Reply via email to