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.impl.util   
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
protected  Result ExpressionOperator.accumChild(List<ExpressionOperator> child, DataBag db)
          Drive all the UDFs in accumulative mode
 Result POUserFunc.getNext(DataBag db)
           
 Result POUserComparisonFunc.getNext(DataBag db)
           
 Result PORelationToExprProject.getNext(DataBag db)
           
 Result POProject.getNext(DataBag db)
           
 Result POMapLookUp.getNext(DataBag db)
           
 Result POCast.getNext(DataBag bag)
           
 Result POBinCond.getNext(DataBag db)
           
 Result ExpressionOperator.getNext(DataBag db)
           
 Result ConstantExpression.getNext(DataBag db)
           
 Result ComparisonOperator.getNext(DataBag db)
           
 

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

Methods in org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators that return DataBag
protected  DataBag POPartitionRearrange.constructPROutput(List<Result> resLst, Tuple value)
           
 

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 Utf8StorageConverter.bytesToBag(byte[] b)
           
 DataBag TextLoader.bytesToBag(byte[] b)
          TextLoader does not support conversion to Bag
 DataBag BinStorage.bytesToBag(byte[] b)
           
 DataBag TOKENIZE.exec(Tuple input)
           
 DataBag Distinct.exec(Tuple input)
           
 DataBag Distinct.Final.exec(Tuple input)
           
 DataBag DIFF.exec(Tuple input)
          Compares a tuple with two fields.
protected  DataBag Distinct.getDistinct(Tuple input)
           
 

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

Uses of DataBag in org.apache.pig.data
 

Classes in org.apache.pig.data that implement DataBag
 class AccumulativeBag
           
 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 InternalCachedBag
           
 class InternalDistinctBag
          An unordered collection of Tuples with no multiples.
 class InternalSortedBag
          An ordered collection of Tuples (possibly) with multiples.
 class NonSpillableDataBag
          An unordered collection of Tuples (possibly) with multiples.
 class ReadOnceBag
          This bag is specifically created for use by POPackageLite.
 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)
           
 DataBag DefaultBagFactory.newDefaultBag()
          Get a default (unordered, not distinct) data bag.
abstract  DataBag BagFactory.newDefaultBag()
          Get a default (unordered, not distinct) data bag.
 DataBag DefaultBagFactory.newDefaultBag(List<Tuple> listOfTuples)
          Get a default (unordered, not distinct) data bag from an existing list of tuples.
abstract  DataBag BagFactory.newDefaultBag(List<Tuple> listOfTuples)
          Get a default (unordered, not distinct) data bag from an existing list of tuples.
 DataBag DefaultBagFactory.newDistinctBag()
          Get a distinct data bag.
abstract  DataBag BagFactory.newDistinctBag()
          Get a distinct data bag.
 DataBag DefaultBagFactory.newSortedBag(Comparator<Tuple> comp)
          Get a sorted data bag.
abstract  DataBag BagFactory.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 SingleTupleBag.addAll(DataBag b)
           
 void ReadOnceBag.addAll(DataBag b)
           
 void NonSpillableDataBag.addAll(DataBag b)
           
 void InternalSortedBag.addAll(DataBag b)
           
 void InternalDistinctBag.addAll(DataBag b)
           
 void InternalCachedBag.addAll(DataBag b)
           
 void DistinctDataBag.addAll(DataBag b)
           
 void DefaultAbstractBag.addAll(DataBag b)
          Add contents of a bag to the bag.
 void DataBag.addAll(DataBag b)
          Add contents of a bag to the bag.
 void AccumulativeBag.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 SampleLoader.bytesToBag(byte[] b)
           
 DataBag MergeJoinIndexer.bytesToBag(byte[] b)
           
 DataBag DefaultIndexableLoader.bytesToBag(byte[] b)
           
 DataBag GFReplicate.exec(Tuple input)
           
 DataBag GFCross.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.impl.util
 

Methods in org.apache.pig.impl.util with parameters of type DataBag
static String BagFormat.format(DataBag bag)
           
 

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