Uses of Class
org.apache.pig.data.Datum

Packages that use Datum
org.apache.pig   
org.apache.pig.data   
org.apache.pig.impl.eval   
org.apache.pig.impl.eval.collector   
org.apache.pig.impl.eval.cond   
org.apache.pig.impl.logicalLayer   
org.apache.pig.impl.streaming   
org.apache.pig.impl.util   
 

Uses of Datum in org.apache.pig
 

Classes in org.apache.pig with type parameters of type Datum
 class EvalFunc<T extends Datum>
          The class is used to implement functions to be applied to a dataset.
 

Uses of Datum in org.apache.pig.data
 

Subclasses of Datum in org.apache.pig.data
 class AmendableTuple
           
 class DataAtom
          The basic data unit.
 class DataBag
          A collection of Tuples.
static class DataBag.BagDelimiterTuple
           
static class DataBag.EndBag
           
static class DataBag.StartBag
           
 class DataMap
           
 class DefaultDataBag
          An unordered collection of Tuples (possibly) with multiples.
 class DistinctDataBag
          An unordered collection of Tuples with no multiples.
 class ExampleTuple
           
 class IndexedTuple
          This is an internal class that keeps track of the specific input that a Tuple came from
 class SortedDataBag
          An ordered collection of Tuples (possibly) with multiples.
 class TimestampedTuple
           
 class Tuple
          an ordered list of Datums
 

Fields in org.apache.pig.data with type parameters of type Datum
protected  ArrayList<Datum> Tuple.fields
           
 

Methods in org.apache.pig.data that return Datum
 Datum DataMap.get(String key)
          Fetch the value corresponding to a given key
 Datum AmendableTuple.getAmendKey()
           
 Datum Tuple.getField(int i)
           
static Datum Tuple.readDatum(DataInput in)
           
 Datum DataMap.remove(String key)
           
 

Methods in org.apache.pig.data that return types with arguments of type Datum
 Map<String,Datum> DataMap.content()
           
 

Methods in org.apache.pig.data with parameters of type Datum
 void Tuple.appendField(Datum newField)
           
 void DataMap.put(String key, Datum value)
          Adds the key value pair to the map
 void AmendableTuple.setAmendKey(Datum amendKey)
           
 void Tuple.setField(int i, Datum val)
           
 

Constructors in org.apache.pig.data with parameters of type Datum
AmendableTuple(int numFields, Datum amendKey)
           
Tuple(Datum fieldIn)
          shortcut, if tuple only has one field
 

Constructor parameters in org.apache.pig.data with type arguments of type Datum
Tuple(List<Datum> fieldsIn)
           
 

Uses of Datum in org.apache.pig.impl.eval
 

Methods in org.apache.pig.impl.eval that return Datum
protected  Datum ConstSpec.eval(Datum d)
           
protected  Datum MapLookupSpec.eval(Datum d)
           
protected  Datum ProjectSpec.eval(Datum d)
           
protected abstract  Datum SimpleEvalSpec.eval(Datum d)
           
 Datum EvalSpec.simpleEval(Datum input)
          If the spec is such that it produces exactly one datum per input datum, we can use simple eval as a shortcut to the whole process of setting the pipe etc.
 

Methods in org.apache.pig.impl.eval with parameters of type Datum
protected  Datum ConstSpec.eval(Datum d)
           
protected  Datum MapLookupSpec.eval(Datum d)
           
protected  Datum ProjectSpec.eval(Datum d)
           
protected abstract  Datum SimpleEvalSpec.eval(Datum d)
           
 Datum EvalSpec.simpleEval(Datum input)
          If the spec is such that it produces exactly one datum per input datum, we can use simple eval as a shortcut to the whole process of setting the pipe etc.
 

Uses of Datum in org.apache.pig.impl.eval.collector
 

Methods in org.apache.pig.impl.eval.collector with parameters of type Datum
abstract  void DataCollector.add(Datum d)
          Add a tuple to the collector.
 void FlattenCollector.add(Datum d)
           
 void UnflattenCollector.add(Datum d)
           
protected  void DataCollector.addToSuccessor(Datum d)
           
protected  boolean DataCollector.checkDelimiter(Datum d)
           
 

Uses of Datum in org.apache.pig.impl.eval.cond
 

Methods in org.apache.pig.impl.eval.cond with parameters of type Datum
 boolean AndCond.eval(Datum input)
           
 boolean CompCond.eval(Datum input)
           
abstract  boolean Cond.eval(Datum input)
           
 boolean FalseCond.eval(Datum input)
           
 boolean FuncCond.eval(Datum input)
           
 boolean NotCond.eval(Datum input)
           
 boolean OrCond.eval(Datum input)
           
 boolean RegexpCond.eval(Datum input)
           
 boolean TrueCond.eval(Datum input)
           
 

Uses of Datum in org.apache.pig.impl.logicalLayer
 

Methods in org.apache.pig.impl.logicalLayer that return Datum
static Datum[] LOCogroup.getGroupAndTuple(Datum d)
           
 

Methods in org.apache.pig.impl.logicalLayer with parameters of type Datum
static Datum[] LOCogroup.getGroupAndTuple(Datum d)
           
 

Uses of Datum in org.apache.pig.impl.streaming
 

Methods in org.apache.pig.impl.streaming with parameters of type Datum
 void ExecutableManager.add(Datum d)
          Send the given Datum to the external command managed by the ExecutableManager.
protected  void ExecutableManager.processOutput(Datum d)
          Workhorse to process the output of the managed process.
 

Uses of Datum in org.apache.pig.impl.util
 

Methods in org.apache.pig.impl.util that return Datum
 Datum DataBuffer.removeFirst()
           
 Datum DataBuffer.removeFirstAndAssertEmpty()
          This is a sequence we want to do frequently to accomodate the simple eval case, i.e., cases where we know that running an eval spec one item should produce one and only one item.
 

Methods in org.apache.pig.impl.util with parameters of type Datum
 void DataBuffer.add(Datum d)
           
 



Copyright © ${year} The Apache Software Foundation