Uses of Interface
org.apache.pig.data.DataBag

Packages that use DataBag
org.apache.pig Public interfaces and classes for Pig. 
org.apache.pig.backend.hadoop.executionengine.physicalLayer Implementation of physical operators that use hadoop as the execution engine and data storage. 
org.apache.pig.backend.hadoop.executionengine.physicalLayer.expressionOperators   
org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators   
org.apache.pig.builtin   
org.apache.pig.data Data types for Pig. 
org.apache.pig.impl.builtin   
org.apache.pig.impl.io   
org.apache.pig.pen   
org.apache.pig.pen.util   
 

Uses of DataBag in org.apache.pig
 

Methods in org.apache.pig that return DataBag
 DataBag LoadFunc.bytesToBag(byte[] b)
          Cast data from bytes to bag value.
 

Methods in org.apache.pig that return types with arguments of type DataBag
 Map<LogicalOperator,DataBag> PigServer.getExamples(String alias)
           
 

Uses of DataBag in org.apache.pig.backend.hadoop.executionengine.physicalLayer
 

Fields in org.apache.pig.backend.hadoop.executionengine.physicalLayer declared as DataBag
protected static DataBag PhysicalOperator.dummyBag
           
 

Methods in org.apache.pig.backend.hadoop.executionengine.physicalLayer with parameters of type DataBag
 Result PhysicalOperator.getNext(DataBag db)
           
 

Uses of DataBag in org.apache.pig.backend.hadoop.executionengine.physicalLayer.expressionOperators
 

Methods in org.apache.pig.backend.hadoop.executionengine.physicalLayer.expressionOperators with parameters of type DataBag
 Result ComparisonOperator.getNext(DataBag db)
           
 Result ConstantExpression.getNext(DataBag db)
           
 Result ExpressionOperator.getNext(DataBag db)
           
 Result POBinCond.getNext(DataBag db)
           
 Result POCast.getNext(DataBag bag)
           
 Result POMapLookUp.getNext(DataBag db)
           
 Result POProject.getNext(DataBag db)
           
 Result POUserComparisonFunc.getNext(DataBag db)
           
 Result POUserFunc.getNext(DataBag db)
           
 

Uses of DataBag in org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators
 

Constructors in org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators with parameters of type DataBag
PORead(OperatorKey k, DataBag bag)
           
 

Uses of DataBag in org.apache.pig.builtin
 

Methods in org.apache.pig.builtin that return DataBag
 DataBag BinStorage.bytesToBag(byte[] b)
           
 DataBag TextLoader.bytesToBag(byte[] b)
          TextLoader does not support conversion to Bag
 DataBag Utf8StorageConverter.bytesToBag(byte[] b)
           
 DataBag DIFF.exec(Tuple input)
          Compares a tuple with two fields.
 DataBag Distinct.exec(Tuple input)
           
 DataBag Distinct.Final.exec(Tuple input)
           
 DataBag TOKENIZE.exec(Tuple input)
           
protected  DataBag Distinct.getDistinct(Tuple input)
           
 

Methods in org.apache.pig.builtin with parameters of type DataBag
protected static Tuple AVG.combine(DataBag values)
           
protected static Tuple DoubleAvg.combine(DataBag values)
           
protected static Tuple FloatAvg.combine(DataBag values)
           
protected static Tuple IntAvg.combine(DataBag values)
           
protected static Tuple LongAvg.combine(DataBag values)
           
 byte[] BinStorage.toBytes(DataBag bag)
           
 byte[] TextLoader.toBytes(DataBag bag)
           
 byte[] Utf8StorageConverter.toBytes(DataBag bag)
           
 

Uses of DataBag in org.apache.pig.data
 

Classes in org.apache.pig.data that implement DataBag
 class DefaultAbstractBag
          Default implementation of DataBag.
 class DefaultDataBag
          An unordered collection of Tuples (possibly) with multiples.
 class DistinctDataBag
          An unordered collection of Tuples with no multiples.
 class NonSpillableDataBag
          An unordered collection of Tuples (possibly) with multiples.
 class SingleTupleBag
          A simple performant implementation of the DataBag interface which only holds a single tuple.
 class SortedDataBag
          An ordered collection of Tuples (possibly) with multiples.
 

Methods in org.apache.pig.data that return DataBag
static DataBag DataReaderWriter.bytesToBag(DataInput in)
           
abstract  DataBag BagFactory.newDefaultBag()
          Get a default (unordered, not distinct) data bag.
 DataBag DefaultBagFactory.newDefaultBag()
          Get a default (unordered, not distinct) data bag.
abstract  DataBag BagFactory.newDefaultBag(List<Tuple> listOfTuples)
          Get a default (unordered, not distinct) data bag from an existing list of tuples.
 DataBag DefaultBagFactory.newDefaultBag(List<Tuple> listOfTuples)
          Get a default (unordered, not distinct) data bag from an existing list of tuples.
abstract  DataBag BagFactory.newDistinctBag()
          Get a distinct data bag.
 DataBag DefaultBagFactory.newDistinctBag()
          Get a distinct data bag.
abstract  DataBag BagFactory.newSortedBag(Comparator<Tuple> comp)
          Get a sorted data bag.
 DataBag DefaultBagFactory.newSortedBag(Comparator<Tuple> comp)
          Get a sorted data bag.
static DataBag DataType.toBag(Object o)
          If this object is a bag, return it as a bag.
 

Methods in org.apache.pig.data with parameters of type DataBag
 void DataBag.addAll(DataBag b)
          Add contents of a bag to the bag.
 void DefaultAbstractBag.addAll(DataBag b)
          Add contents of a bag to the bag.
 void DistinctDataBag.addAll(DataBag b)
           
 void NonSpillableDataBag.addAll(DataBag b)
           
 void SingleTupleBag.addAll(DataBag b)
           
protected  void BagFactory.registerBag(DataBag b)
           
 

Uses of DataBag in org.apache.pig.impl.builtin
 

Methods in org.apache.pig.impl.builtin that return DataBag
 DataBag GFCross.exec(Tuple input)
           
 DataBag GFReplicate.exec(Tuple input)
           
 

Uses of DataBag in org.apache.pig.impl.io
 

Methods in org.apache.pig.impl.io that return DataBag
 DataBag PigFile.load(LoadFunc lfunc, PigContext pigContext)
           
 

Methods in org.apache.pig.impl.io with parameters of type DataBag
 void PigFile.store(DataBag data, StoreFunc sfunc, PigContext pigContext)
           
 

Constructors in org.apache.pig.impl.io with parameters of type DataBag
NullableBag(DataBag b)
           
 

Uses of DataBag in org.apache.pig.pen
 

Methods in org.apache.pig.pen that return DataBag
 DataBag DerivedDataVisitor.evaluateIsolatedOperator(LOCogroup op)
           
 DataBag DerivedDataVisitor.evaluateIsolatedOperator(LOCogroup op, List<DataBag> inputBags)
           
 

Methods in org.apache.pig.pen that return types with arguments of type DataBag
 Map<LogicalOperator,DataBag> ExampleGenerator.getExamples()
           
 Map<LOLoad,DataBag> AugmentBaseDataVisitor.getNewBaseData()
           
 

Method parameters in org.apache.pig.pen with type arguments of type DataBag
 DataBag DerivedDataVisitor.evaluateIsolatedOperator(LOCogroup op, List<DataBag> inputBags)
           
static Collection<IdentityHashSet<Tuple>> EquivalenceClasses.GetEquivalenceClasses(LogicalOperator op, Map<LogicalOperator,DataBag> derivedData)
           
 

Constructor parameters in org.apache.pig.pen with type arguments of type DataBag
AugmentBaseDataVisitor(LogicalPlan plan, Map<LOLoad,DataBag> baseData, Map<LogicalOperator,DataBag> derivedData)
           
AugmentBaseDataVisitor(LogicalPlan plan, Map<LOLoad,DataBag> baseData, Map<LogicalOperator,DataBag> derivedData)
           
DerivedDataVisitor(LogicalOperator op, PigContext pc, Map<LOLoad,DataBag> baseData, Map<LogicalOperator,PhysicalOperator> logToPhyMap, PhysicalPlan physPlan)
           
DerivedDataVisitor(LogicalPlan plan, PigContext pc, Map<LOLoad,DataBag> baseData, Map<LogicalOperator,PhysicalOperator> logToPhyMap, PhysicalPlan physPlan)
           
LineageTrimmingVisitor(LogicalPlan plan, Map<LOLoad,DataBag> baseData, Map<LogicalOperator,PhysicalOperator> LogToPhyMap, PhysicalPlan physPlan, PigContext pc)
           
 

Uses of DataBag in org.apache.pig.pen.util
 

Method parameters in org.apache.pig.pen.util with type arguments of type DataBag
static float MetricEvaluation.getCompleteness(LogicalOperator op, Map<LogicalOperator,DataBag> exampleData, Map<LogicalOperator,Collection<IdentityHashSet<Tuple>>> OperatorToEqClasses, boolean overallCompleteness)
           
static float MetricEvaluation.getConciseness(LogicalOperator op, Map<LogicalOperator,DataBag> exampleData, Map<LogicalOperator,Collection<IdentityHashSet<Tuple>>> OperatorToEqClasses, boolean overallConciseness)
           
static float MetricEvaluation.getRealness(LogicalOperator op, Map<LogicalOperator,DataBag> exampleData, boolean overallRealness)
           
static void DisplayExamples.PrintSimple(LogicalOperator op, Map<LogicalOperator,DataBag> exampleData)
           
static String DisplayExamples.PrintTabular(LogicalPlan lp, Map<LogicalOperator,DataBag> exampleData)
           
 



Copyright © ${year} The Apache Software Foundation