Uses of Class
com.ebay.erl.mobius.core.model.Tuple

Packages that use Tuple
com.ebay.erl.mobius.core.collection Provides collection classes to be used in Mobius. 
com.ebay.erl.mobius.core.criterion Provides classes for defining filters for filtering records in a dataset. 
com.ebay.erl.mobius.core.datajoin Underline join logic implementation, Mobius users don't need to use the classes withiin this package. 
com.ebay.erl.mobius.core.function Provides varies of aggregation or grouping functions such as Counts or Max
com.ebay.erl.mobius.core.function.base Provides base classes for implementing different kinds of aggregation functions. 
com.ebay.erl.mobius.core.mapred Provides Mobius-specific Hadoop classes. 
com.ebay.erl.mobius.core.model Provides classes representing tje Mobius data model, such as Tuple or Column
com.ebay.erl.mobius.util Provides utility classes. 
 

Uses of Tuple in com.ebay.erl.mobius.core.collection
 

Methods in com.ebay.erl.mobius.core.collection that return Tuple
 Tuple BigTupleList.getFirst()
           
 

Methods in com.ebay.erl.mobius.core.collection that return types with arguments of type Tuple
 CloseableIterator<Tuple> BigTupleList.iterator()
          Create an iterator for iterating the Tuple in this list.
 

Methods in com.ebay.erl.mobius.core.collection with parameters of type Tuple
 void BigTupleList.add(Tuple newTuple)
          Add a new Tuple into this BigTupleList.
 

Method parameters in com.ebay.erl.mobius.core.collection with type arguments of type Tuple
 void BigTupleList.addAll(java.util.Collection<Tuple> collection)
          Add all the tuples in collection into this list.
 void BigTupleList.addAll(java.lang.Iterable<Tuple> collection)
          Add all the tuples in collection into this list.
 

Constructor parameters in com.ebay.erl.mobius.core.collection with type arguments of type Tuple
BigTupleList(java.util.Comparator<Tuple> comparator, org.apache.hadoop.mapred.Reporter reporter)
          Create an instance of BigTupleList with specified comparator.
 

Uses of Tuple in com.ebay.erl.mobius.core.criterion
 

Methods in com.ebay.erl.mobius.core.criterion with parameters of type Tuple
 boolean TupleCriterion.accept(Tuple tuple, org.apache.hadoop.conf.Configuration configuration)
          Test if the tuple meet this TupleCriterion or not
protected  boolean LogicalExpression.evaluate(Tuple tuple, org.apache.hadoop.conf.Configuration configuration)
          Sub class shall override this method to verify if the tuple meet the the criteria or not.
protected abstract  boolean TupleCriterion.evaluate(Tuple tuple, org.apache.hadoop.conf.Configuration configuration)
          Sub class shall override this method to verify if the tuple meet the the criteria or not.
 

Uses of Tuple in com.ebay.erl.mobius.core.datajoin
 

Subclasses of Tuple in com.ebay.erl.mobius.core.datajoin
 class DataJoinKey
           This product is licensed under the Apache License, Version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0.
 class DataJoinValue
           This product is licensed under the Apache License, Version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0.
 

Methods in com.ebay.erl.mobius.core.datajoin with parameters of type Tuple
 int DataJoinKey.compare(Tuple t1, Tuple t2)
           
 int DataJoinKey.compareTo(Tuple other)
           
 

Uses of Tuple in com.ebay.erl.mobius.core.function
 

Methods in com.ebay.erl.mobius.core.function that return Tuple
 Tuple Medium.getComputedResult()
           
protected  Tuple Counts.getComputedResult()
           
protected  Tuple Avg.getComputedResult()
           
 

Methods in com.ebay.erl.mobius.core.function with parameters of type Tuple
 void Unique.consume(Tuple tuple)
           
 void Top.consume(Tuple tuple)
          Put the tuple into a min heap, once the heap size is greater than the specified Top.topX, the smallest element (head of the heap) is poll out from the heap.
 void Sum.consume(Tuple tuple)
           
 void Min.consume(Tuple tuple)
           
 void Medium.consume(Tuple tuple)
           
 void Max.consume(Tuple tuple)
           
 void Counts.consume(Tuple tuple)
           
 void Avg.consume(Tuple tuple)
           
 

Constructor parameters in com.ebay.erl.mobius.core.function with type arguments of type Tuple
Medium(Column inputColumn, java.lang.Class<? extends java.util.Comparator<Tuple>> comparator)
          Create an instance of Medium operation to get the medium value of the given inputColumn within a group.
Top(Dataset ds, java.lang.String[] inputColumns, int topX, java.lang.Class<? extends java.util.Comparator<Tuple>> comparator)
          Create a Top operation that emit up to topX rows from the given dataset ds.
 

Uses of Tuple in com.ebay.erl.mobius.core.function.base
 

Methods in com.ebay.erl.mobius.core.function.base that return Tuple
protected  Tuple SingleInputAggregateFunction.getComputedResult()
          Return the computed result in a Tuple.
protected abstract  Tuple AggregateFunction.getComputedResult()
          Get the computed result for this group.
 Tuple ExtendFunction.getNoMatchResult(java.lang.Object nullReplacement)
          To be called by Mobius, on the case of no match in outer-join task.
abstract  Tuple ExtendFunction.getResult(Tuple inputRow)
          Get the result of this function based on the inputRow, the schema of the returned Tuple shall be the same as Projectable.getOutputSchema().
 

Methods in com.ebay.erl.mobius.core.function.base with parameters of type Tuple
abstract  void GroupFunction.consume(Tuple tuple)
          consume a value within a group, to be implemented by sub-class.
abstract  Tuple ExtendFunction.getResult(Tuple inputRow)
          Get the result of this function based on the inputRow, the schema of the returned Tuple shall be the same as Projectable.getOutputSchema().
protected  void GroupFunction.output(Tuple tuple)
          To be called by the sub-class when a computed result can be populated.
protected  void AggregateFunction.output(Tuple tuple)
          To be called by the sub-class when a computed result can be populated.
 

Uses of Tuple in com.ebay.erl.mobius.core.mapred
 

Methods in com.ebay.erl.mobius.core.mapred that return Tuple
abstract  Tuple AbstractMobiusMapper.parse(IK inkey, IV invalue)
          Parse the input key and input value into Tuple
abstract  Tuple SequenceFileMapper.parse(K inkey, V invalue)
          Parse the inkey and invalue and merge them into one Tuple, and set the schema using SequenceFileMapper.getSchema().
 Tuple TSVMapper.parse(org.apache.hadoop.io.LongWritable inkey, org.apache.hadoop.io.Text invalue)
          Parse the invalue into Tuple with the schema given in TSVDatasetBuilder.
 Tuple DefaultSeqFileMapper.parse(org.apache.hadoop.io.NullWritable inkey, Tuple invalue)
          read the invalue and set the schema to the returned Tuple.
 

Methods in com.ebay.erl.mobius.core.mapred with parameters of type Tuple
 void DefaultMobiusCombiner.joinreduce(Tuple key, DataJoinValueGroup<Tuple> values, org.apache.hadoop.mapred.OutputCollector<DataJoinKey,DataJoinValue> output, org.apache.hadoop.mapred.Reporter reporter)
           
 void TotalSortReducer.joinreduce(Tuple key, DataJoinValueGroup<Tuple> values, org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.WritableComparable<?>> output, org.apache.hadoop.mapred.Reporter reporter)
          reduce()
 void DefaultMobiusReducer.joinreduce(Tuple key, DataJoinValueGroup<Tuple> values, org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.WritableComparable<?>> output, org.apache.hadoop.mapred.Reporter reporter)
           
protected  void AbstractMobiusMapper.outputRecords(Tuple key, Tuple value, org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.WritableComparable<?>,org.apache.hadoop.io.WritableComparable<?>> output)
           
 Tuple DefaultSeqFileMapper.parse(org.apache.hadoop.io.NullWritable inkey, Tuple invalue)
          read the invalue and set the schema to the returned Tuple.
 

Method parameters in com.ebay.erl.mobius.core.mapred with type arguments of type Tuple
 void DefaultMobiusCombiner.joinreduce(Tuple key, DataJoinValueGroup<Tuple> values, org.apache.hadoop.mapred.OutputCollector<DataJoinKey,DataJoinValue> output, org.apache.hadoop.mapred.Reporter reporter)
           
 void TotalSortReducer.joinreduce(Tuple key, DataJoinValueGroup<Tuple> values, org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.WritableComparable<?>> output, org.apache.hadoop.mapred.Reporter reporter)
          reduce()
 void DefaultMobiusReducer.joinreduce(Tuple key, DataJoinValueGroup<Tuple> values, org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.WritableComparable<?>> output, org.apache.hadoop.mapred.Reporter reporter)
           
 

Uses of Tuple in com.ebay.erl.mobius.core.model
 

Subclasses of Tuple in com.ebay.erl.mobius.core.model
 class KeyTuple
          Same as Tuple, only the ordering is the same as the insertion ordering.
 

Fields in com.ebay.erl.mobius.core.model declared as Tuple
static Tuple Tuple.NULL
          An immutable Tuple which contains only single Column NULL with null value.
 

Methods in com.ebay.erl.mobius.core.model that return Tuple
 Tuple Tuple.clone()
          Return a new instance of Tuple which contains the exact same data of this one.
 Tuple Column.getResult(Tuple inputRow)
          Return a Tuple which contains one single column with the name of Column.getOutputName() and its value is from the column named Column.getInputColumnName() in the inputRow.
static Tuple Tuple.immutable(Tuple t)
          return a new instance of tuple that contains the same data of the given t tuple, but reject all modification requests, such as insert(String, Object).
 Tuple Tuple.insert(java.lang.String name, java.lang.Object value)
          Add a new column in the given with provided value.
static Tuple Tuple.merge(Tuple t1, Tuple t2)
          Merge the tuples together, and return a new tuple represents the merged result.
 Tuple Tuple.put(java.lang.String name, boolean value)
          For the given column named name, add (if it doesn't exist) to this tuple or update (if it exists) its value to the given value.
 Tuple Tuple.put(java.lang.String name, byte value)
          For the given column named name, add (if it doesn't exist) to this tuple or update (if it exists) its value to the given value.
 Tuple Tuple.put(java.lang.String name, byte[] value)
          For the given column named name, add (if it doesn't exist) to this tuple or update (if it exists) its value to the given value.
 Tuple Tuple.put(java.lang.String name, CaseInsensitiveTreeMap value)
          For the given column named name, add (if it doesn't exist) to this tuple or update (if it exists) its value to the given value.
 Tuple Tuple.put(java.lang.String name, java.sql.Date value)
          For the given column named name, add (if it doesn't exist) to this tuple or update (if it exists) its value to the given value.
 Tuple Tuple.put(java.lang.String name, double value)
          For the given column named name, add (if it doesn't exist) to this tuple or update (if it exists) its value to the given value.
 Tuple Tuple.put(java.lang.String name, float value)
          For the given column named name, add (if it doesn't exist) to this tuple or update (if it exists) its value to the given value.
 Tuple Tuple.put(java.lang.String name, int value)
          For the given column named name, add (if it doesn't exist) to this tuple or update (if it exists) its value to the given value.
 Tuple Tuple.put(java.lang.String name, long value)
          For the given column named name, add (if it doesn't exist) to this tuple or update (if it exists) its value to the given value.
 Tuple Tuple.put(java.lang.String name, ResultWrapper<?> v)
           
 Tuple Tuple.put(java.lang.String name, java.io.Serializable value)
          For the given column named name, add (if it doesn't exist) to this tuple or update (if it exists) its value to the given value.
 Tuple Tuple.put(java.lang.String name, short value)
          For the given column named name, add (if it doesn't exist) to this tuple or update (if it exists) its value to the given value.
 Tuple Tuple.put(java.lang.String name, java.lang.String value)
          For the given column named name, add (if it doesn't exist) to this tuple or update (if it exists) its value to the given value.
 Tuple Tuple.put(java.lang.String name, java.sql.Time value)
          For the given column named name, add (if it doesn't exist) to this tuple or update (if it exists) its value to the given value.
 Tuple Tuple.put(java.lang.String name, java.sql.Timestamp value)
          For the given column named name, add (if it doesn't exist) to this tuple or update (if it exists) its value to the given value.
 Tuple Tuple.put(java.lang.String name, org.apache.hadoop.io.Writable value)
          For the given column named name, add (if it doesn't exist) to this tuple or update (if it exists) its value to the given value.
 Tuple Tuple.putNull(java.lang.String name)
          For the given column named name, add (if it doesn't exist) to this tuple or update (if it exists) its value to null.
static Tuple Tuple.valueOf(org.apache.hadoop.io.Text source, java.lang.String[] schema, java.lang.String delimiter)
          Convert the source into a tuple.
 

Methods in com.ebay.erl.mobius.core.model with parameters of type Tuple
 int Tuple.compare(Tuple t1, Tuple t2)
          Comparing two tuples.
 int Tuple.compareTo(Tuple other)
          Compare this tuple with other.
abstract  void ComputedColumns.consume(Tuple newRow)
          Calculate the computed result based on the input row.
 Tuple Column.getResult(Tuple inputRow)
          Return a Tuple which contains one single column with the name of Column.getOutputName() and its value is from the column named Column.getInputColumnName() in the inputRow.
static Tuple Tuple.immutable(Tuple t)
          return a new instance of tuple that contains the same data of the given t tuple, but reject all modification requests, such as insert(String, Object).
static Tuple Tuple.merge(Tuple t1, Tuple t2)
          Merge the tuples together, and return a new tuple represents the merged result.
protected  void ComputedColumns.output(Tuple t)
          When user finished the computed result(s) in the ComputedColumns.consume(Tuple), use this method to output the result.
 

Uses of Tuple in com.ebay.erl.mobius.util
 

Methods in com.ebay.erl.mobius.util that return types with arguments of type Tuple
static java.lang.Iterable<Tuple> Util.crossProduct(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.mapred.Reporter reporter, java.lang.Iterable<Tuple>... datasets)
          Perform cross product for the given datasets
static java.lang.Iterable<Tuple> Util.crossProduct(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.mapred.Reporter reporter, java.util.List<BigTupleList> datasets)
           
static java.lang.Iterable<Tuple> Util.inMemoryCrossProduct(java.lang.Iterable<Tuple>... datasets)