You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by Esa Heikkinen <es...@student.tut.fi> on 2018/02/19 08:56:55 UTC
How to find correct "imports"
Hi
I am quite new with Flink and Scala. I have had a bit of trouble finding corrects "imports".
What would be the best way to find them ?
For example the imports for StreamTableEnvironment and CsvTableSource.
And how do I know if I should put something pom.xml ?
Esa
Re: How to find correct "imports"
Posted by Timo Walther <tw...@apache.org>.
Hi Esa,
the easiest and recommended way is:
- Create your Flink project with the provided quickstart scripts [1]
- Visit the documentation about a feature you want to use. E.g. for the
Table & SQL API [2]
Usually it is described which modules you need.
I hope this helps.
Regards,
Timo
[1]
https://ci.apache.org/projects/flink/flink-docs-release-1.4/quickstart/java_api_quickstart.html
[2] https://ci.apache.org/projects/flink/flink-docs-release-1.4/dev/table/
Am 2/19/18 um 10:36 AM schrieb Niclas Hedhman:
> It is called "declared dependencies", and Flink has a huge number of
> artifacts, and they have also changed name over time. But Maven
> Central provides a search facility.
>
> Try
> http://search.maven.org/#search%7Cga%7C5%7Cg%3Aorg.apache.flink%20AND%20v%3A1.4.0
> <http://search.maven.org/#search%7Cga%7C5%7Cg%3Aorg.apache.flink%20AND%20v%3A1.4.0>
>
> And it will give you all artifacts from Flink 1.4.0
>
> On Mon, Feb 19, 2018 at 4:56 PM, Esa Heikkinen
> <esa.heikkinen@student.tut.fi <ma...@student.tut.fi>>
> wrote:
>
> Hi
>
> I am quite new with Flink and Scala. I have had a bit of trouble
> finding corrects “imports”.
>
> What would be the best way to find them ?
>
> For example the imports for StreamTableEnvironment and CsvTableSource.
>
> And how do I know if I should put something pom.xml ?
>
> Esa
>
>
>
>
> --
> Niclas Hedhman, Software Developer
> http://zest.apache.org - New Energy for Java
Re: How to find correct "imports"
Posted by Niclas Hedhman <ni...@apache.org>.
It is called "declared dependencies", and Flink has a huge number of
artifacts, and they have also changed name over time. But Maven Central
provides a search facility.
Try http://search.maven.org/#search%7Cga%7C5%7Cg%3Aorg.
apache.flink%20AND%20v%3A1.4.0
And it will give you all artifacts from Flink 1.4.0
On Mon, Feb 19, 2018 at 4:56 PM, Esa Heikkinen <esa.heikkinen@student.tut.fi
> wrote:
> Hi
>
>
>
> I am quite new with Flink and Scala. I have had a bit of trouble finding
> corrects “imports”.
>
> What would be the best way to find them ?
>
>
>
> For example the imports for StreamTableEnvironment and CsvTableSource.
>
>
>
> And how do I know if I should put something pom.xml ?
>
>
>
> Esa
>
--
Niclas Hedhman, Software Developer
http://zest.apache.org - New Energy for Java