This project has retired. For details please refer to its Attic page.
Tuple (Apache Crunch 0.10.0 API)

org.apache.crunch
Interface Tuple

All Known Implementing Classes:
Pair, Tuple3, Tuple3.Collect, Tuple4, Tuple4.Collect, TupleN

public interface Tuple

A fixed-size collection of Objects, used in Crunch for representing joins between PCollections.


Method Summary
 Object get(int index)
          Returns the Object at the given index.
 int size()
          Returns the number of elements in this Tuple.
 

Method Detail

get

Object get(int index)
Returns the Object at the given index.


size

int size()
Returns the number of elements in this Tuple.



Copyright © 2014 The Apache Software Foundation. All Rights Reserved.