Package eu.stratosphere.api.java.tuple

Examples of eu.stratosphere.api.java.tuple.Tuple3


        .setDBUrl("jdbc:derby:memory:ebookshop")
        .setQuery("insert into books (id, title, author, price, qty) values (?,?,?,?,?)")
        .finish();
    jdbcOutputFormat.open(0, 1);

    Tuple3 tuple3 = new Tuple3();
    tuple3.setField(4, 0);
    tuple3.setField("hi", 1);
    tuple3.setField(4.4, 2);

    jdbcOutputFormat.writeRecord(tuple3);
    jdbcOutputFormat.close();
  }
View Full Code Here

TOP

Related Classes of eu.stratosphere.api.java.tuple.Tuple3

Copyright © 2018 www.massapicom. 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.