mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
Documentation example updated.
Some minor fixes. Added LICENSE for Hazelcast Jet.
This commit is contained in:
parent
5f4e3c4c5f
commit
95642b65f7
4 changed files with 18 additions and 3 deletions
|
|
@ -33,10 +33,24 @@ The following is a demonstration of a word count example with the result represe
|
|||
|
||||
```java
|
||||
%hazelcastjet
|
||||
import java.util.HashMap;
|
||||
|
||||
import com.hazelcast.jet.Jet;
|
||||
import com.hazelcast.jet.JetInstance;
|
||||
import com.hazelcast.jet.core.DAG;
|
||||
import com.hazelcast.jet.pipeline.Pipeline;
|
||||
import com.hazelcast.jet.pipeline.Sinks;
|
||||
import com.hazelcast.jet.pipeline.Sources;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
import org.apache.zeppelin.java.JavaInterpreterUtils;
|
||||
|
||||
import static com.hazelcast.jet.Traversers.traverseArray;
|
||||
import static com.hazelcast.jet.aggregate.AggregateOperations.counting;
|
||||
import static com.hazelcast.jet.function.DistributedFunctions.wholeItem;
|
||||
|
||||
public class HelloWorld {
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
<properties>
|
||||
<!--library versions-->
|
||||
<interpreter.name>hazelcast-jet</interpreter.name>
|
||||
<interpreter.name>hazelcastjet</interpreter.name>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
{
|
||||
"group": "hazelcastjet",
|
||||
"name": "hazelcastjet",
|
||||
"className": "org.apache.zeppelin.java.HazelcastJetInterpreter",
|
||||
"className": "org.apache.zeppelin.hazelcastjet.HazelcastJetInterpreter",
|
||||
"defaultInterpreter": true,
|
||||
"properties": {
|
||||
},
|
||||
|
|
|
|||
|
|
@ -218,6 +218,7 @@ The following components are provided under Apache License.
|
|||
(Apache 2.0) frontend-plugin-core 1.3 (com.github.eirslett:frontend-plugin-core) - https://github.com/eirslett/frontend-maven-plugin/blob/frontend-plugins-1.3/LICENSE
|
||||
(Apache 2.0) mongo-java-driver 3.4.1 (org.mongodb:mongo-java-driver:3.4.1) - https://github.com/mongodb/mongo-java-driver/blob/master/LICENSE.txt
|
||||
(Apache 2.0) Neo4j Java Driver (https://github.com/neo4j/neo4j-java-driver) - https://github.com/neo4j/neo4j-java-driver/blob/1.4.3/LICENSE.txt
|
||||
(Apache 2.0) Hazelcast Jet (http://jet.hazelcast.org) - https://github.com/hazelcast/hazelcast-jet/blob/master/LICENSE
|
||||
|
||||
========================================================================
|
||||
MIT licenses
|
||||
|
|
|
|||
Loading…
Reference in a new issue