Examples of BinaryOperatorInformation


Examples of org.apache.flink.api.common.operators.BinaryOperatorInformation

    };

    @SuppressWarnings({ "rawtypes", "unchecked" })
    JoinOperatorBase<String, String, Integer,
        FlatJoinFunction<String, String,Integer> > base = new JoinOperatorBase(joiner,
        new BinaryOperatorInformation(BasicTypeInfo.STRING_TYPE_INFO, BasicTypeInfo.STRING_TYPE_INFO,
            BasicTypeInfo.INT_TYPE_INFO), new int[0], new int[0], "TestJoiner");

    List<String> inputData1 = new ArrayList<String>(Arrays.asList("foo", "bar", "foobar"));
    List<String> inputData2 = new ArrayList<String>(Arrays.asList("foobar", "foo"));
    List<Integer> expected = new ArrayList<Integer>(Arrays.asList(3, 3, 6 ,6));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.