提交 063dfec8 编写于 作者: M Márton Balassi 提交者: Stephan Ewen

[streaming] Examples moved to example package

上级 30ca8dd0
......@@ -27,8 +27,8 @@ import eu.stratosphere.nephele.io.RecordWriter;
import eu.stratosphere.nephele.template.AbstractInputTask;
import eu.stratosphere.streaming.api.invokable.UserSourceInvokable;
import eu.stratosphere.streaming.api.streamrecord.StreamRecord;
import eu.stratosphere.streaming.examples.DummyIS;
import eu.stratosphere.streaming.faulttolerance.FaultToleranceUtil;
import eu.stratosphere.streaming.test.DummyIS;
public class StreamSource extends AbstractInputTask<DummyIS> {
......
......@@ -13,7 +13,7 @@
*
**********************************************************************************************************************/
package eu.stratosphere.streaming.test;
package eu.stratosphere.streaming.examples;
import java.io.DataInput;
import java.io.DataOutput;
......
......@@ -13,7 +13,7 @@
*
**********************************************************************************************************************/
package eu.stratosphere.streaming.test.batch;
package eu.stratosphere.streaming.examples.batch;
import java.net.InetSocketAddress;
......
......@@ -13,7 +13,7 @@
*
**********************************************************************************************************************/
package eu.stratosphere.streaming.test.batch;
package eu.stratosphere.streaming.examples.batch;
import eu.stratosphere.streaming.api.invokable.UserSinkInvokable;
import eu.stratosphere.streaming.api.streamrecord.StreamRecord;
......
......@@ -13,7 +13,7 @@
*
**********************************************************************************************************************/
package eu.stratosphere.streaming.test.batch;
package eu.stratosphere.streaming.examples.batch;
import eu.stratosphere.streaming.api.invokable.UserSourceInvokable;
import eu.stratosphere.streaming.api.streamrecord.StreamRecord;
......
......@@ -13,7 +13,7 @@
*
**********************************************************************************************************************/
package eu.stratosphere.streaming.test.batch.wordcount;
package eu.stratosphere.streaming.examples.batch.wordcount;
import java.util.HashMap;
import java.util.Map;
......
......@@ -13,7 +13,7 @@
*
**********************************************************************************************************************/
package eu.stratosphere.streaming.test.batch.wordcount;
package eu.stratosphere.streaming.examples.batch.wordcount;
import java.net.InetSocketAddress;
......
......@@ -13,7 +13,7 @@
*
**********************************************************************************************************************/
package eu.stratosphere.streaming.test.batch.wordcount;
package eu.stratosphere.streaming.examples.batch.wordcount;
import eu.stratosphere.streaming.api.invokable.UserSinkInvokable;
import eu.stratosphere.streaming.api.streamrecord.StreamRecord;
......
......@@ -13,7 +13,7 @@
*
**********************************************************************************************************************/
package eu.stratosphere.streaming.test.batch.wordcount;
package eu.stratosphere.streaming.examples.batch.wordcount;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
......
......@@ -13,7 +13,7 @@
*
**********************************************************************************************************************/
package eu.stratosphere.streaming.test.batch.wordcount;
package eu.stratosphere.streaming.examples.batch.wordcount;
import eu.stratosphere.streaming.api.invokable.UserTaskInvokable;
import eu.stratosphere.streaming.api.streamrecord.StreamRecord;
......
......@@ -13,7 +13,7 @@
*
**********************************************************************************************************************/
package eu.stratosphere.streaming.test.cellinfo;
package eu.stratosphere.streaming.examples.cellinfo;
import java.io.File;
import java.net.InetSocketAddress;
......
......@@ -13,7 +13,7 @@
*
**********************************************************************************************************************/
package eu.stratosphere.streaming.test.cellinfo;
package eu.stratosphere.streaming.examples.cellinfo;
import eu.stratosphere.streaming.api.invokable.UserSinkInvokable;
import eu.stratosphere.streaming.api.streamrecord.StreamRecord;
......
......@@ -13,7 +13,7 @@
*
**********************************************************************************************************************/
package eu.stratosphere.streaming.test.cellinfo;
package eu.stratosphere.streaming.examples.cellinfo;
import eu.stratosphere.streaming.api.invokable.UserTaskInvokable;
import eu.stratosphere.streaming.api.streamrecord.StreamRecord;
......
......@@ -13,7 +13,7 @@
*
**********************************************************************************************************************/
package eu.stratosphere.streaming.test.cellinfo;
package eu.stratosphere.streaming.examples.cellinfo;
public interface IWorkerEngine {
public int get(long timeStamp, long lastMillis, int cellId);
......
......@@ -13,7 +13,7 @@
*
**********************************************************************************************************************/
package eu.stratosphere.streaming.test.cellinfo;
package eu.stratosphere.streaming.examples.cellinfo;
import java.util.Random;
......
......@@ -13,7 +13,7 @@
*
**********************************************************************************************************************/
package eu.stratosphere.streaming.test.cellinfo;
package eu.stratosphere.streaming.examples.cellinfo;
import java.util.Random;
......
......@@ -13,7 +13,7 @@
*
**********************************************************************************************************************/
package eu.stratosphere.streaming.test.cellinfo;
package eu.stratosphere.streaming.examples.cellinfo;
public class Util {
public static int mod(int x, int y) {
......
......@@ -13,9 +13,9 @@
*
**********************************************************************************************************************/
package eu.stratosphere.streaming.test.cellinfo;
package eu.stratosphere.streaming.examples.cellinfo;
import eu.stratosphere.streaming.test.cellinfo.Util;
import eu.stratosphere.streaming.examples.cellinfo.Util;
public class WorkerEngineBin implements java.io.Serializable, IWorkerEngine {
......
......@@ -13,7 +13,7 @@
*
**********************************************************************************************************************/
package eu.stratosphere.streaming.test.cellinfo;
package eu.stratosphere.streaming.examples.cellinfo;
import java.util.Iterator;
import java.util.Map;
......
......@@ -13,7 +13,7 @@
*
**********************************************************************************************************************/
package eu.stratosphere.streaming.test.window.wordcount;
package eu.stratosphere.streaming.examples.window.wordcount;
public class IncrementalWindow {
......
......@@ -13,7 +13,7 @@
*
**********************************************************************************************************************/
package eu.stratosphere.streaming.test.window.wordcount;
package eu.stratosphere.streaming.examples.window.wordcount;
import java.util.HashMap;
import java.util.Map;
......
......@@ -13,7 +13,7 @@
*
**********************************************************************************************************************/
package eu.stratosphere.streaming.test.window.wordcount;
package eu.stratosphere.streaming.examples.window.wordcount;
import java.net.InetSocketAddress;
......
......@@ -13,7 +13,7 @@
*
**********************************************************************************************************************/
package eu.stratosphere.streaming.test.window.wordcount;
package eu.stratosphere.streaming.examples.window.wordcount;
import eu.stratosphere.streaming.api.invokable.UserSinkInvokable;
import eu.stratosphere.streaming.api.streamrecord.StreamRecord;
......
......@@ -13,7 +13,7 @@
*
**********************************************************************************************************************/
package eu.stratosphere.streaming.test.window.wordcount;
package eu.stratosphere.streaming.examples.window.wordcount;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
......
......@@ -13,7 +13,7 @@
*
**********************************************************************************************************************/
package eu.stratosphere.streaming.test.window.wordcount;
package eu.stratosphere.streaming.examples.window.wordcount;
import eu.stratosphere.streaming.api.invokable.UserTaskInvokable;
import eu.stratosphere.streaming.api.streamrecord.StreamRecord;
......
......@@ -13,7 +13,7 @@
*
**********************************************************************************************************************/
package eu.stratosphere.streaming.test.wordcount;
package eu.stratosphere.streaming.examples.wordcount;
import java.util.HashMap;
import java.util.Map;
......
......@@ -13,7 +13,7 @@
*
**********************************************************************************************************************/
package eu.stratosphere.streaming.test.wordcount;
package eu.stratosphere.streaming.examples.wordcount;
import eu.stratosphere.streaming.api.invokable.UserSourceInvokable;
import eu.stratosphere.streaming.api.streamrecord.StreamRecord;
......
......@@ -13,7 +13,7 @@
*
**********************************************************************************************************************/
package eu.stratosphere.streaming.test.wordcount;
package eu.stratosphere.streaming.examples.wordcount;
import eu.stratosphere.streaming.api.invokable.UserSourceInvokable;
import eu.stratosphere.streaming.api.streamrecord.StreamRecord;
......
......@@ -13,7 +13,7 @@
*
**********************************************************************************************************************/
package eu.stratosphere.streaming.test.wordcount;
package eu.stratosphere.streaming.examples.wordcount;
import java.net.InetSocketAddress;
......
......@@ -13,7 +13,7 @@
*
**********************************************************************************************************************/
package eu.stratosphere.streaming.test.wordcount;
package eu.stratosphere.streaming.examples.wordcount;
import java.io.File;
import java.net.InetSocketAddress;
......
......@@ -13,7 +13,7 @@
*
**********************************************************************************************************************/
package eu.stratosphere.streaming.test.wordcount;
package eu.stratosphere.streaming.examples.wordcount;
import eu.stratosphere.streaming.api.invokable.UserSinkInvokable;
import eu.stratosphere.streaming.api.streamrecord.StreamRecord;
......
......@@ -13,7 +13,7 @@
*
**********************************************************************************************************************/
package eu.stratosphere.streaming.test.wordcount;
package eu.stratosphere.streaming.examples.wordcount;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
......
......@@ -13,7 +13,7 @@
*
**********************************************************************************************************************/
package eu.stratosphere.streaming.test.wordcount;
package eu.stratosphere.streaming.examples.wordcount;
import eu.stratosphere.streaming.api.invokable.UserTaskInvokable;
import eu.stratosphere.streaming.api.streamrecord.StreamRecord;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册