mirror of
https://github.com/wassname/ray.git
synced 2026-07-03 08:53:53 +08:00
[Java] Remove java api sub package from test module (#8853)
This commit is contained in:
@@ -3,7 +3,6 @@ package io.ray.streaming.message;
|
||||
import java.io.Serializable;
|
||||
import java.util.Objects;
|
||||
|
||||
|
||||
public class Record<T> implements Serializable {
|
||||
protected transient String stream;
|
||||
protected T value;
|
||||
|
||||
-1
@@ -2,7 +2,6 @@ package io.ray.streaming.operator;
|
||||
|
||||
import io.ray.streaming.message.Record;
|
||||
|
||||
|
||||
public interface OneInputOperator<T> extends Operator {
|
||||
|
||||
void processElement(Record<T> record) throws Exception;
|
||||
|
||||
-1
@@ -2,7 +2,6 @@ package io.ray.streaming.operator;
|
||||
|
||||
import io.ray.streaming.message.Record;
|
||||
|
||||
|
||||
public interface TwoInputOperator<T, O> extends Operator {
|
||||
|
||||
void processElement(Record<T> record1, Record<O> record2);
|
||||
|
||||
-1
@@ -5,7 +5,6 @@ import io.ray.streaming.message.Record;
|
||||
import io.ray.streaming.operator.OneInputOperator;
|
||||
import io.ray.streaming.operator.StreamOperator;
|
||||
|
||||
|
||||
public class MapOperator<T, R> extends StreamOperator<MapFunction<T, R>> implements
|
||||
OneInputOperator<T> {
|
||||
|
||||
|
||||
-1
@@ -5,7 +5,6 @@ import io.ray.streaming.message.Record;
|
||||
import io.ray.streaming.operator.OneInputOperator;
|
||||
import io.ray.streaming.operator.StreamOperator;
|
||||
|
||||
|
||||
public class SinkOperator<T> extends StreamOperator<SinkFunction<T>> implements
|
||||
OneInputOperator<T> {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user