Modifier and Type | Method and Description |
---|---|
Tuple |
LoadCaster.bytesToTuple(byte[] b,
ResourceSchema.ResourceFieldSchema fieldSchema)
Cast data from bytearray to tuple value.
|
Tuple |
StreamToPig.deserialize(byte[] bytes)
Deprecated.
Given a byte array from a streaming executable, produce a tuple.
|
Tuple |
PigStreamingBase.deserialize(byte[] bytes)
Deprecated.
|
abstract Tuple |
PigStreamingBase.deserialize(byte[] bytes,
int offset,
int length)
Given a byte array from a streaming executable, produce a tuple.
|
Tuple |
LoadFuncWrapper.getNext() |
abstract Tuple |
LoadFunc.getNext()
Retrieves the next tuple to be processed.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<Tuple> |
PigServer.openIterator(java.lang.String id)
Executes a Pig Latin script up to and including indicated alias.
|
Modifier and Type | Method and Description |
---|---|
void |
IteratingAccumulatorEvalFunc.accumulate(Tuple input) |
void |
AlgebraicEvalFunc.accumulate(Tuple input)
This is the free accumulate implementation based on the static classes provided
by the Algebraic static classes.
|
abstract void |
AccumulatorEvalFunc.accumulate(Tuple b) |
void |
Accumulator.accumulate(Tuple b)
Pass tuples to the UDF.
|
abstract int |
ComparisonFunc.compare(Tuple t1,
Tuple t2)
Deprecated.
This callback method must be implemented by all subclasses.
|
OUT |
PrimitiveEvalFunc.exec(Tuple tuple) |
abstract T |
EvalFunc.exec(Tuple input)
This callback method must be implemented by all subclasses.
|
T |
AccumulatorEvalFunc.exec(Tuple input) |
void |
ErrorHandler.onError(java.lang.String uniqueSignature,
java.lang.Exception e,
Tuple inputTuple)
Method invoked when an error occurs processing of tuple
|
void |
CounterBasedErrorHandler.onError(java.lang.String uniqueSignature,
java.lang.Exception e,
Tuple inputTuple) |
void |
StoreFuncWrapper.putNext(Tuple tuple) |
void |
StoreFuncInterface.putNext(Tuple t)
Write a tuple to the data store.
|
abstract void |
StoreFunc.putNext(Tuple t)
Write a tuple to the data store.
|
void |
IndexableLoadFunc.seekNear(Tuple keys)
This method is called by the Pig runtime to indicate
to the LoadFunc to position its underlying input stream
near the keys supplied as the argument.
|
byte[] |
PigToStream.serialize(Tuple t)
Deprecated.
Given a tuple, produce an array of bytes to be passed to the streaming
executable.
|
byte[] |
PigStreamingBase.serialize(Tuple t)
Deprecated.
|
abstract WritableByteArray |
PigStreamingBase.serializeToBytes(Tuple t)
Given a tuple, produce an array of bytes to be passed to the streaming
executable.
|
byte[] |
StoreCaster.toBytes(Tuple t) |
protected void |
TypedOutputEvalFunc.verifyInput(Tuple input,
int minimumSize) |
protected static void |
TypedOutputEvalFunc.verifyUdfInput(java.lang.String klass,
Tuple input,
int minimumSize)
Increment Hadoop counters for bad inputs which are either null or too small.
|
Modifier and Type | Method and Description |
---|---|
abstract T |
IteratingAccumulatorEvalFunc.exec(java.util.Iterator<Tuple> iter) |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<Tuple> |
ExecJob.getResults()
if query has executed successfully we want to retrieve the results
via iterating over them.
|
Modifier and Type | Method and Description |
---|---|
Tuple |
AccumuloBinaryConverter.bytesToTuple(byte[] b,
ResourceSchema.ResourceFieldSchema fieldSchema)
NOT IMPLEMENTED
|
Tuple |
AbstractAccumuloStorage.getNext() |
protected Tuple |
AccumuloStorage.getTuple(org.apache.accumulo.core.data.Key key,
org.apache.accumulo.core.data.Value value) |
protected abstract Tuple |
AbstractAccumuloStorage.getTuple(org.apache.accumulo.core.data.Key key,
org.apache.accumulo.core.data.Value value) |
Modifier and Type | Method and Description |
---|---|
protected java.util.Collection<org.apache.accumulo.core.data.Mutation> |
AccumuloStorage.getMutations(Tuple tuple) |
protected abstract java.util.Collection<org.apache.accumulo.core.data.Mutation> |
AbstractAccumuloStorage.getMutations(Tuple tuple) |
void |
AbstractAccumuloStorage.putNext(Tuple tuple) |
byte[] |
AccumuloBinaryConverter.toBytes(Tuple t)
NOT IMPLEMENTED
|
protected byte[] |
AbstractAccumuloStorage.tupleToBytes(Tuple tuple,
int i,
ResourceSchema.ResourceFieldSchema[] fieldSchemas) |
protected org.apache.hadoop.io.Text |
AbstractAccumuloStorage.tupleToText(Tuple tuple,
int i,
ResourceSchema.ResourceFieldSchema[] fieldSchemas) |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<Tuple> |
HJob.getResults() |
Modifier and Type | Method and Description |
---|---|
Tuple |
PigRecordReader.getCurrentValue() |
Tuple |
PigMapBase.IllustratorContext.getCurrentValue() |
Tuple |
MergeJoinIndexer.getNext() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,Tuple> |
PigInputFormat.RecordReaderFactory.createRecordReader() |
org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,Tuple> |
PigInputFormat.createRecordReader(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context) |
org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.WritableComparable,Tuple> |
PigTextOutputFormat.getRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext job) |
org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.WritableComparable,Tuple> |
PigOutputFormat.getRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext taskattemptcontext) |
Modifier and Type | Method and Description |
---|---|
void |
PigMapReduceCounter.PigMapCounter.collect(org.apache.hadoop.mapreduce.Mapper.Context context,
Tuple tuple)
While tuples are collected, they are counted one by one by a global counter per task.
|
void |
PigMapOnly.Map.collect(org.apache.hadoop.mapreduce.Mapper.Context oc,
Tuple tuple) |
void |
PigGenericMapReduce.Map.collect(org.apache.hadoop.mapreduce.Mapper.Context oc,
Tuple tuple) |
void |
PigGenericMapReduce.MapWithComparator.collect(org.apache.hadoop.mapreduce.Mapper.Context oc,
Tuple tuple) |
void |
PigGenericMapReduce.MapWithPartitionIndex.collect(org.apache.hadoop.mapreduce.Mapper.Context oc,
Tuple tuple) |
abstract void |
PigGenericMapBase.collect(org.apache.hadoop.mapreduce.Mapper.Context oc,
Tuple tuple) |
protected void |
PigGenericMapBase.map(org.apache.hadoop.io.Text key,
Tuple inpTuple,
org.apache.hadoop.mapreduce.Mapper.Context context)
The map function that attaches the inpTuple appropriately
and executes the map plan if its not empty.
|
void |
PigTextOutputFormat.PigLineRecordWriter.write(org.apache.hadoop.io.WritableComparable key,
Tuple value) |
void |
PigOutputFormat.PigRecordWriter.write(org.apache.hadoop.io.WritableComparable key,
Tuple value)
We only care about the values, so we are going to skip the keys when
we write.
|
Modifier and Type | Method and Description |
---|---|
protected PigNullableWritable |
WeightedRangePartitioner.getPigNullableWritable(Tuple t) |
protected float[] |
WeightedRangePartitioner.getProbVec(Tuple values) |
Modifier and Type | Field and Description |
---|---|
protected Tuple |
PhysicalOperator.input |
Modifier and Type | Method and Description |
---|---|
void |
PhysicalOperator.attachInput(Tuple t)
Shorts the input path of this operator by providing the input tuple
directly
|
Modifier and Type | Method and Description |
---|---|
Tuple |
UnaryComparisonOperator.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Tuple |
POUserFunc.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Tuple |
POUserComparisonFunc.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Tuple |
POProject.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Tuple |
PONegative.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Tuple |
POMapLookUp.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Tuple |
POCast.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Tuple |
POBinCond.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Tuple |
ConstantExpression.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Tuple |
BinaryExpressionOperator.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Tuple |
BinaryComparisonOperator.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Modifier and Type | Method and Description |
---|---|
void |
POProject.attachInput(Tuple t)
Overridden since the attachment of the new input
should cause the old processing to end.
|
void |
POBinCond.attachInput(Tuple t) |
void |
POUserComparisonFunc.attachInput(Tuple t1,
Tuple t2) |
Modifier and Type | Method and Description |
---|---|
void |
PhysicalPlan.attachInput(Tuple t) |
Modifier and Type | Field and Description |
---|---|
protected Tuple[] |
POCross.data |
protected Tuple |
POFRJoin.dumTup |
protected Tuple |
POForEach.inpTuple |
protected Tuple |
POLocalRearrange.mFakeTuple |
protected Tuple |
POCross.tupleOfLastBag |
Modifier and Type | Field and Description |
---|---|
protected java.util.List<java.util.Map<? extends java.lang.Object,? extends java.util.List<Tuple>>> |
POFRJoin.replicates |
Modifier and Type | Method and Description |
---|---|
protected Tuple |
POLocalRearrange.constructLROutput(java.util.List<Result> resLst,
java.util.List<Result> secondaryResLst,
Tuple value) |
protected Tuple |
POPreCombinerLocalRearrange.constructLROutput(java.util.List<Result> resLst,
Tuple value) |
protected Tuple |
POCollectedGroup.constructOutput(java.util.List<Result> resLst,
Tuple value) |
protected Tuple |
POForEach.createTuple(java.lang.Object[] data) |
Tuple |
POMergeJoin.TuplesToSchemaTupleList.get(int i) |
Tuple |
Packager.getKeyAsTuple() |
Tuple |
Packager.getValueTuple(PigNullableWritable keyWritable,
NullableTuple ntup,
int index) |
Tuple |
MultiQueryPackager.getValueTuple(PigNullableWritable keyWritable,
NullableTuple ntup,
int origIndex) |
Tuple |
LitePackager.getValueTuple(PigNullableWritable keyWritable,
NullableTuple ntup,
int index)
Makes use of the superclass method, but this requires an additional
parameter key passed by ReadOnceBag.
|
Tuple |
CombinerPackager.getValueTuple(PigNullableWritable keyWritable,
NullableTuple ntup,
int index) |
protected Tuple |
POFRJoin.getValueTuple(POLocalRearrange lr,
Tuple tuple) |
Tuple |
Packager.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Tuple |
POUnion.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Tuple |
POStream.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Tuple |
POStore.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Tuple |
POSplit.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Tuple |
POSort.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Tuple |
POSkewedJoin.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Tuple |
POReservoirSample.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Tuple |
PORank.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Tuple |
POPreCombinerLocalRearrange.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Tuple |
POPoissonSample.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Tuple |
POPartialAgg.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Tuple |
POPackage.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Tuple |
POPackage.POPackageTupleBuffer.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Tuple |
PONative.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Tuple |
POMergeJoin.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Tuple |
POMergeCogroup.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Tuple |
POLocalRearrange.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Tuple |
POLoad.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Tuple |
POLimit.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Tuple |
POGlobalRearrange.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Tuple |
POForEach.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Tuple |
POFilter.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Tuple |
POFRJoin.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Tuple |
PODistinct.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Tuple |
PODemux.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Tuple |
POCross.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Tuple |
POCounter.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Tuple |
POCollectedGroup.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Tuple |
POBroadcastSpark.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Tuple |
LitePackager.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
protected Tuple |
Packager.illustratorMarkup2(java.lang.Object in,
java.lang.Object out) |
protected Tuple |
Packager.starMarkup(Tuple key,
Tuple val,
Tuple out) |
Modifier and Type | Method and Description |
---|---|
java.util.Comparator<Tuple> |
POSort.getMComparator() |
java.util.Iterator<Tuple> |
POPackage.POPackageTupleBuffer.getTuples(int index) |
java.util.Iterator<Tuple> |
AccumulativeTupleBuffer.getTuples(int index)
Get iterator of tuples in the buffer
|
Modifier and Type | Method and Description |
---|---|
boolean |
POMergeJoin.TuplesToSchemaTupleList.add(Tuple t) |
void |
POPreCombinerLocalRearrange.attachInput(Tuple t)
Overridden since the attachment of the new input should cause the old
processing to end.
|
void |
POLocalRearrange.attachInput(Tuple t)
Overridden since the attachment of the new input should cause the old
processing to end.
|
void |
POCollectedGroup.attachInput(Tuple t)
Overridden since the attachment of the new input should cause the old
processing to end.
|
protected void |
POForEach.attachInputToPlans(Tuple t) |
int |
POSort.SortComparator.compare(Tuple o1,
Tuple o2) |
int |
POSort.UDFSortComparator.compare(Tuple t1,
Tuple t2) |
protected Tuple |
POLocalRearrange.constructLROutput(java.util.List<Result> resLst,
java.util.List<Result> secondaryResLst,
Tuple value) |
protected Tuple |
POPreCombinerLocalRearrange.constructLROutput(java.util.List<Result> resLst,
Tuple value) |
protected Tuple |
POCollectedGroup.constructOutput(java.util.List<Result> resLst,
Tuple value) |
protected DataBag |
POPartitionRearrange.constructPROutput(java.util.List<Result> resLst,
Tuple value) |
static SchemaTuple<?> |
POMergeJoin.TuplesToSchemaTupleList.convert(Tuple t,
SchemaTupleFactory tf) |
protected Result |
POPoissonSample.createNumRowTuple(Tuple sample) |
Result |
POStream.getNextHelper(Tuple t) |
protected Tuple |
POFRJoin.getValueTuple(POLocalRearrange lr,
Tuple tuple) |
void |
StoreFuncDecorator.putNext(Tuple tuple)
Call
StoreFunc#putNext(Tuple) and handle errors |
protected Tuple |
Packager.starMarkup(Tuple key,
Tuple val,
Tuple out) |
protected void |
POPoissonSample.updateSkipInterval(Tuple t)
Update the average tuple size base on newly sampled tuple t
and recalculate skipInterval
|
Modifier and Type | Method and Description |
---|---|
void |
POFRJoinSpark.attachInputs(java.util.Map<java.lang.String,java.util.List<Tuple>> broadcasts) |
POMergeJoin.TuplesToSchemaTupleList |
POFRJoin.TupleToMapKey.put(java.lang.Object key,
java.util.ArrayList<Tuple> val) |
Constructor and Description |
---|
POFRJoin(OperatorKey k,
int rp,
java.util.List<PhysicalOperator> inp,
java.util.List<java.util.List<PhysicalPlan>> ppLists,
java.util.List<java.util.List<java.lang.Byte>> keyTypes,
FileSpec[] replFiles,
int fragment,
boolean isLeftOuter,
Tuple nullTuple) |
POFRJoin(OperatorKey k,
int rp,
java.util.List<PhysicalOperator> inp,
java.util.List<java.util.List<PhysicalPlan>> ppLists,
java.util.List<java.util.List<java.lang.Byte>> keyTypes,
FileSpec[] replFiles,
int fragment,
boolean isLeftOuter,
Tuple nullTuple,
Schema[] inputSchemas,
Schema[] keySchemas) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
MonitoredUDFExecutor.monitorExec(Tuple input) |
Modifier and Type | Method and Description |
---|---|
Tuple |
POSampleSortSpark.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Tuple |
POJoinGroupSpark.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,Tuple> |
PigInputFormatSpark.createRecordReader(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context) |
Modifier and Type | Method and Description |
---|---|
Tuple |
POValueOutputTez.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Tuple |
POValueInputTez.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Tuple |
POShuffledValueInputTez.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Tuple |
POCounterStatsTez.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
Modifier and Type | Method and Description |
---|---|
protected DataBag |
POPartitionRearrangeTez.constructPROutput(java.util.List<Result> resLst,
Tuple value) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
ReadScalarsTez.exec(Tuple input) |
java.util.Map<java.lang.String,java.lang.Object> |
PartitionSkewedKeysTez.exec(Tuple in) |
java.util.Map<java.lang.String,java.lang.Object> |
FindQuantilesTez.exec(Tuple in) |
protected long |
FindQuantilesTez.getMemorySize(Tuple t) |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,Tuple> |
PigInputFormatTez.createRecordReader(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context) |
org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.WritableComparable,Tuple> |
PigOutputFormatTez.getRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext taskattemptcontext) |
Modifier and Type | Method and Description |
---|---|
Tuple |
HBaseBinaryConverter.bytesToTuple(byte[] b,
ResourceSchema.ResourceFieldSchema fieldSchema)
NOT IMPLEMENTED
|
Tuple |
HBaseStorage.getNext() |
Modifier and Type | Method and Description |
---|---|
void |
HBaseStorage.putNext(Tuple t) |
byte[] |
HBaseBinaryConverter.toBytes(Tuple t)
NOT IMPLEMENTED
|
Modifier and Type | Method and Description |
---|---|
Tuple |
Utf8StorageConverter.bytesToTuple(byte[] b,
ResourceSchema.ResourceFieldSchema fieldSchema) |
Tuple |
TextLoader.bytesToTuple(byte[] b,
ResourceSchema.ResourceFieldSchema schema)
TextLoader does not support conversion to Tuple
|
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 |
COV.combine(DataBag values)
combine results of different data chunk
|
protected static Tuple |
COR.combine(DataBag values)
combine results of different data chunk
|
protected static Tuple |
BigIntegerAvg.combine(DataBag values) |
protected static Tuple |
BigDecimalAvg.combine(DataBag values) |
protected static Tuple |
AVG.combine(DataBag values) |
protected static Tuple |
COV.computeAll(DataBag first,
DataBag second)
compute sum(XY), sum(X), sum(Y) from given data sets
|
protected static Tuple |
COR.computeAll(DataBag first,
DataBag second)
compute sum(XY), sum(X), sum(Y), sum(XX), sum(YY) from given data sets
|
Tuple |
PigStreaming.deserialize(byte[] bytes,
int offset,
int length) |
Tuple |
TOTUPLE.exec(Tuple input) |
Tuple |
TOP.Initial.exec(Tuple tuple) |
Tuple |
TOP.Intermed.exec(Tuple input) |
Tuple |
StringMin.Initial.exec(Tuple input) |
Tuple |
StringMin.Intermediate.exec(Tuple input) |
Tuple |
StringMax.Initial.exec(Tuple input) |
Tuple |
StringMax.Intermediate.exec(Tuple input) |
Tuple |
STRSPLIT.exec(Tuple input)
Wrapper around Java's String.split
|
Tuple |
REGEX_EXTRACT_ALL.exec(Tuple input) |
Tuple |
PluckTuple.exec(Tuple input) |
Tuple |
LongAvg.Initial.exec(Tuple input) |
Tuple |
LongAvg.Intermediate.exec(Tuple input) |
Tuple |
IntAvg.Initial.exec(Tuple input) |
Tuple |
IntAvg.Intermediate.exec(Tuple input) |
Tuple |
HiveUDAF.Initial.exec(Tuple input) |
Tuple |
HiveUDAF.Intermediate.exec(Tuple input) |
Tuple |
FloatAvg.Initial.exec(Tuple input) |
Tuple |
FloatAvg.Intermediate.exec(Tuple input) |
Tuple |
DoubleAvg.Initial.exec(Tuple input) |
Tuple |
DoubleAvg.Intermediate.exec(Tuple input) |
Tuple |
Distinct.Initial.exec(Tuple input) |
Tuple |
Distinct.Intermediate.exec(Tuple input) |
Tuple |
DateTimeMin.Initial.exec(Tuple input) |
Tuple |
DateTimeMin.Intermediate.exec(Tuple input) |
Tuple |
DateTimeMax.Initial.exec(Tuple input) |
Tuple |
DateTimeMax.Intermediate.exec(Tuple input) |
Tuple |
COV.Initial.exec(Tuple input) |
Tuple |
COV.Intermed.exec(Tuple input) |
Tuple |
COUNT_STAR.Initial.exec(Tuple input) |
Tuple |
COUNT_STAR.Intermediate.exec(Tuple input) |
Tuple |
COUNT.Initial.exec(Tuple input) |
Tuple |
COUNT.Intermediate.exec(Tuple input) |
Tuple |
COR.Initial.exec(Tuple input) |
Tuple |
COR.Intermed.exec(Tuple input) |
Tuple |
BuildBloom.Initial.exec(Tuple input) |
Tuple |
BuildBloom.Intermediate.exec(Tuple input) |
Tuple |
BigIntegerAvg.Initial.exec(Tuple input) |
Tuple |
BigIntegerAvg.Intermediate.exec(Tuple input) |
Tuple |
BigDecimalAvg.Initial.exec(Tuple input) |
Tuple |
BigDecimalAvg.Intermediate.exec(Tuple input) |
Tuple |
BagToTuple.exec(Tuple inputTuple) |
Tuple |
AlgebraicLongMathBase.Intermediate.exec(Tuple input) |
Tuple |
AlgebraicIntMathBase.Intermediate.exec(Tuple input) |
Tuple |
AlgebraicFloatMathBase.Intermediate.exec(Tuple input) |
Tuple |
AlgebraicDoubleMathBase.Intermediate.exec(Tuple input) |
Tuple |
AlgebraicByteArrayMathBase.Intermediate.exec(Tuple input) |
Tuple |
AlgebraicByteArrayMathBase.Initial.exec(Tuple input) |
Tuple |
AlgebraicBigIntegerMathBase.Intermediate.exec(Tuple input) |
Tuple |
AlgebraicBigDecimalMathBase.Intermediate.exec(Tuple input) |
Tuple |
AVG.Initial.exec(Tuple input) |
Tuple |
AVG.Intermediate.exec(Tuple input) |
Tuple |
TextLoader.getNext() |
Tuple |
PigStorage.getNext() |
Tuple |
OrcStorage.getNext() |
Tuple |
JsonLoader.getNext() |
Tuple |
BinStorage.getNext() |
Tuple |
AvroStorage.getNext() |
Modifier and Type | Method and Description |
---|---|
void |
TOP.accumulate(Tuple tuple) |
void |
StringMin.accumulate(Tuple b) |
void |
StringMax.accumulate(Tuple b) |
void |
LongAvg.accumulate(Tuple b) |
void |
IntAvg.accumulate(Tuple b) |
void |
FloatAvg.accumulate(Tuple b) |
void |
DoubleAvg.accumulate(Tuple b) |
void |
DateTimeMin.accumulate(Tuple b) |
void |
DateTimeMax.accumulate(Tuple b) |
void |
COUNT_STAR.accumulate(Tuple b) |
void |
COUNT.accumulate(Tuple b) |
void |
BigIntegerAvg.accumulate(Tuple b) |
void |
BigDecimalAvg.accumulate(Tuple b) |
void |
AlgebraicLongMathBase.accumulate(Tuple b) |
void |
AlgebraicIntMathBase.accumulate(Tuple b) |
void |
AlgebraicFloatMathBase.accumulate(Tuple b) |
void |
AlgebraicDoubleMathBase.accumulate(Tuple b) |
void |
AlgebraicByteArrayMathBase.accumulate(Tuple b) |
void |
AlgebraicBigIntegerMathBase.accumulate(Tuple b) |
void |
AlgebraicBigDecimalMathBase.accumulate(Tuple b) |
void |
AVG.accumulate(Tuple b) |
protected DataByteArray |
BuildBloomBase.bloomOr(Tuple input) |
static void |
CubeDimensions.convertNullToUnknown(Tuple tuple) |
protected static long |
LongAvg.count(Tuple input) |
protected static long |
IntAvg.count(Tuple input) |
protected static long |
FloatAvg.count(Tuple input) |
protected static long |
DoubleAvg.count(Tuple input) |
protected static java.math.BigInteger |
BigIntegerAvg.count(Tuple input) |
protected static java.math.BigDecimal |
BigDecimalAvg.count(Tuple input) |
protected static long |
AVG.count(Tuple input) |
protected static java.lang.Long |
AlgebraicLongMathBase.doTupleWork(Tuple input,
AlgebraicMathBase.KnownOpProvider opProvider) |
protected static java.lang.Integer |
AlgebraicIntMathBase.doTupleWork(Tuple input,
AlgebraicMathBase.KnownOpProvider opProvider) |
protected static java.lang.Float |
AlgebraicFloatMathBase.doTupleWork(Tuple input,
AlgebraicMathBase.KnownOpProvider opProvider) |
protected static java.lang.Double |
AlgebraicDoubleMathBase.doTupleWork(Tuple input,
AlgebraicMathBase.KnownOpProvider opProvider) |
protected static java.math.BigInteger |
AlgebraicBigIntegerMathBase.doTupleWork(Tuple input,
AlgebraicMathBase.KnownOpProvider opProvider) |
protected static java.math.BigDecimal |
AlgebraicBigDecimalMathBase.doTupleWork(Tuple input,
AlgebraicMathBase.KnownOpProvider opProvider) |
protected static java.lang.Double |
AlgebraicByteArrayMathBase.doTupleWork(Tuple input,
AlgebraicMathBase.KnownOpProvider opProvider,
byte expectedType) |
java.lang.Object |
InvokerFunction.eval(Tuple input) |
java.lang.Long |
YearsBetween.exec(Tuple input) |
java.lang.Long |
WeeksBetween.exec(Tuple input) |
DataBag |
VALUESET.exec(Tuple input) |
DataBag |
VALUELIST.exec(Tuple input) |
java.lang.String |
UniqueID.exec(Tuple input) |
java.lang.String |
UPPER.exec(Tuple input)
Upper-cases an input string.
|
java.lang.String |
UCFIRST.exec(Tuple input) |
java.lang.Long |
TupleSize.exec(Tuple input) |
java.lang.Long |
ToUnixTime.exec(Tuple input) |
java.lang.String |
ToString.exec(Tuple input) |
java.lang.Long |
ToMilliSeconds.exec(Tuple input) |
org.joda.time.DateTime |
ToDateISO.exec(Tuple input) |
org.joda.time.DateTime |
ToDate3ARGS.exec(Tuple input) |
org.joda.time.DateTime |
ToDate2ARGS.exec(Tuple input) |
org.joda.time.DateTime |
ToDate.exec(Tuple input) |
java.lang.String |
TRIM.exec(Tuple input) |
Tuple |
TOTUPLE.exec(Tuple input) |
Tuple |
TOP.Initial.exec(Tuple tuple) |
Tuple |
TOP.Intermed.exec(Tuple input) |
DataBag |
TOP.Final.exec(Tuple tuple) |
java.util.Map |
TOMAP.exec(Tuple input) |
DataBag |
TOKENIZE.exec(Tuple input) |
DataBag |
TOBAG.exec(Tuple input) |
org.joda.time.DateTime |
SubtractDuration.exec(Tuple input) |
java.lang.Long |
StringSize.exec(Tuple input) |
java.lang.String |
StringMin.exec(Tuple input) |
Tuple |
StringMin.Initial.exec(Tuple input) |
Tuple |
StringMin.Intermediate.exec(Tuple input) |
java.lang.String |
StringMin.Final.exec(Tuple input) |
java.lang.String |
StringMax.exec(Tuple input) |
Tuple |
StringMax.Initial.exec(Tuple input) |
Tuple |
StringMax.Intermediate.exec(Tuple input) |
java.lang.String |
StringMax.Final.exec(Tuple input) |
java.lang.String |
StringConcat.exec(Tuple input) |
java.lang.Long |
SecondsBetween.exec(Tuple input) |
DataBag |
SUBTRACT.exec(Tuple input)
Compares the two bag fields from input Tuple and returns a new bag composed of elements of first bag not in the second bag.
|
java.lang.String |
SUBSTRING.exec(Tuple input)
Method invoked on every tuple during foreach evaluation
|
DataBag |
STRSPLITTOBAG.exec(Tuple input)
Wrapper around Java's String.split
|
Tuple |
STRSPLIT.exec(Tuple input)
Wrapper around Java's String.split
|
java.lang.Boolean |
STARTSWITH.exec(Tuple tuple) |
java.lang.String |
SPRINTF.exec(Tuple input) |
java.lang.Long |
SIZE.exec(Tuple input) |
DataBag |
RollupDimensions.exec(Tuple tuple) |
java.lang.String |
RTRIM.exec(Tuple input) |
java.lang.Double |
ROUND_TO.exec(Tuple input)
java level API
|
java.lang.Long |
ROUND.exec(Tuple input)
java level API
|
java.lang.String |
REPLACE.exec(Tuple input)
Method invoked on every tuple during foreach evaluation
|
DataBag |
REGEX_SEARCH.exec(Tuple input) |
Tuple |
REGEX_EXTRACT_ALL.exec(Tuple input) |
java.lang.String |
REGEX_EXTRACT.exec(Tuple input) |
java.lang.Double |
RANDOM.exec(Tuple input) |
Tuple |
PluckTuple.exec(Tuple input) |
java.lang.Long |
MonthsBetween.exec(Tuple input) |
java.lang.Long |
MinutesBetween.exec(Tuple input) |
java.lang.Long |
MilliSecondsBetween.exec(Tuple input) |
java.lang.Long |
MapSize.exec(Tuple input) |
java.lang.Double |
LongAvg.exec(Tuple input) |
Tuple |
LongAvg.Initial.exec(Tuple input) |
Tuple |
LongAvg.Intermediate.exec(Tuple input) |
java.lang.Double |
LongAvg.Final.exec(Tuple input) |
java.lang.Long |
LongAbs.exec(Tuple input)
java level API
|
java.lang.String |
LTRIM.exec(Tuple input) |
java.lang.String |
LOWER.exec(Tuple input)
Method invoked on every tuple during foreach evaluation
|
java.lang.String |
LCFIRST.exec(Tuple input) |
java.lang.Integer |
LAST_INDEX_OF.exec(Tuple input)
Finds the last location of a substring in a given string.
|
DataBag |
KEYSET.exec(Tuple input) |
java.lang.Boolean |
IsEmpty.exec(Tuple input) |
java.lang.Object |
InvokerGenerator.exec(Tuple input) |
java.lang.Double |
IntAvg.exec(Tuple input) |
Tuple |
IntAvg.Initial.exec(Tuple input) |
Tuple |
IntAvg.Intermediate.exec(Tuple input) |
java.lang.Double |
IntAvg.Final.exec(Tuple input) |
java.lang.Integer |
IntAbs.exec(Tuple input)
java level API
|
java.util.Map |
INVERSEMAP.exec(Tuple input) |
java.lang.Integer |
INDEXOF.exec(Tuple input)
Method invoked on every tuple during foreach evaluation
|
java.lang.Long |
HoursBetween.exec(Tuple input) |
java.lang.Object |
HiveUDTF.exec(Tuple input) |
java.lang.Object |
HiveUDF.exec(Tuple input) |
java.lang.Object |
HiveUDAF.exec(Tuple input) |
Tuple |
HiveUDAF.Initial.exec(Tuple input) |
Tuple |
HiveUDAF.Intermediate.exec(Tuple input) |
java.lang.Object |
HiveUDAF.Final.exec(Tuple input) |
java.lang.Integer |
GetYear.exec(Tuple input) |
java.lang.Integer |
GetWeekYear.exec(Tuple input) |
java.lang.Integer |
GetWeek.exec(Tuple input) |
java.lang.Integer |
GetSecond.exec(Tuple input) |
java.lang.Integer |
GetMonth.exec(Tuple input) |
java.lang.Integer |
GetMinute.exec(Tuple input) |
java.lang.Integer |
GetMilliSecond.exec(Tuple input) |
java.lang.Integer |
GetHour.exec(Tuple input) |
java.lang.Integer |
GetDay.exec(Tuple input) |
T |
GenericInvoker.exec(Tuple input) |
java.lang.Float |
FloatRoundTo.exec(Tuple input)
java level API
|
java.lang.Integer |
FloatRound.exec(Tuple input)
java level API
|
java.lang.Double |
FloatAvg.exec(Tuple input) |
Tuple |
FloatAvg.Initial.exec(Tuple input) |
Tuple |
FloatAvg.Intermediate.exec(Tuple input) |
java.lang.Double |
FloatAvg.Final.exec(Tuple input) |
java.lang.Float |
FloatAbs.exec(Tuple input)
java level API
|
java.lang.Boolean |
EqualsIgnoreCase.exec(Tuple input) |
java.lang.Boolean |
ENDSWITH.exec(Tuple tuple) |
java.lang.Double |
DoubleRoundTo.exec(Tuple input)
java level API
|
java.lang.Long |
DoubleRound.exec(Tuple input)
java level API
|
java.lang.Double |
DoubleBase.exec(Tuple input)
java level API
|
java.lang.Double |
DoubleAvg.exec(Tuple input) |
Tuple |
DoubleAvg.Initial.exec(Tuple input) |
Tuple |
DoubleAvg.Intermediate.exec(Tuple input) |
java.lang.Double |
DoubleAvg.Final.exec(Tuple input) |
DataBag |
Distinct.exec(Tuple input) |
Tuple |
Distinct.Initial.exec(Tuple input) |
Tuple |
Distinct.Intermediate.exec(Tuple input) |
DataBag |
Distinct.Final.exec(Tuple input) |
java.lang.Long |
DaysBetween.exec(Tuple input) |
org.joda.time.DateTime |
DateTimeMin.exec(Tuple input) |
Tuple |
DateTimeMin.Initial.exec(Tuple input) |
Tuple |
DateTimeMin.Intermediate.exec(Tuple input) |
org.joda.time.DateTime |
DateTimeMin.Final.exec(Tuple input) |
org.joda.time.DateTime |
DateTimeMax.exec(Tuple input) |
Tuple |
DateTimeMax.Initial.exec(Tuple input) |
Tuple |
DateTimeMax.Intermediate.exec(Tuple input) |
org.joda.time.DateTime |
DateTimeMax.Final.exec(Tuple input) |
DataBag |
DIFF.exec(Tuple input)
Compares a tuple with two fields.
|
org.joda.time.DateTime |
CurrentTime.exec(Tuple input) |
DataBag |
CubeDimensions.exec(Tuple tuple) |
java.lang.Long |
ConstantSize.exec(Tuple input) |
DataBag |
COV.exec(Tuple input)
Function to compute covariance between data sets.
|
Tuple |
COV.Initial.exec(Tuple input) |
Tuple |
COV.Intermed.exec(Tuple input) |
DataBag |
COV.Final.exec(Tuple input) |
java.lang.Long |
COUNT_STAR.exec(Tuple input) |
Tuple |
COUNT_STAR.Initial.exec(Tuple input) |
Tuple |
COUNT_STAR.Intermediate.exec(Tuple input) |
java.lang.Long |
COUNT_STAR.Final.exec(Tuple input) |
java.lang.Long |
COUNT.exec(Tuple input) |
Tuple |
COUNT.Initial.exec(Tuple input) |
Tuple |
COUNT.Intermediate.exec(Tuple input) |
java.lang.Long |
COUNT.Final.exec(Tuple input) |
DataBag |
COR.exec(Tuple input)
Function to compute correlation between data sets.
|
Tuple |
COR.Initial.exec(Tuple input) |
Tuple |
COR.Intermed.exec(Tuple input) |
DataBag |
COR.Final.exec(Tuple input) |
DataByteArray |
CONCAT.exec(Tuple input) |
DataByteArray |
BuildBloom.exec(Tuple input) |
Tuple |
BuildBloom.Initial.exec(Tuple input) |
Tuple |
BuildBloom.Intermediate.exec(Tuple input) |
DataByteArray |
BuildBloom.Final.exec(Tuple input) |
java.lang.Boolean |
Bloom.exec(Tuple input) |
java.math.BigDecimal |
BigIntegerAvg.exec(Tuple input) |
Tuple |
BigIntegerAvg.Initial.exec(Tuple input) |
Tuple |
BigIntegerAvg.Intermediate.exec(Tuple input) |
java.math.BigDecimal |
BigIntegerAvg.Final.exec(Tuple input) |
java.math.BigInteger |
BigIntegerAbs.exec(Tuple input) |
java.math.BigDecimal |
BigDecimalAvg.exec(Tuple input) |
Tuple |
BigDecimalAvg.Initial.exec(Tuple input) |
Tuple |
BigDecimalAvg.Intermediate.exec(Tuple input) |
java.math.BigDecimal |
BigDecimalAvg.Final.exec(Tuple input) |
java.math.BigDecimal |
BigDecimalAbs.exec(Tuple input) |
Tuple |
BagToTuple.exec(Tuple inputTuple) |
java.lang.String |
BagToString.exec(Tuple inputTuple) |
java.lang.Long |
BagSize.exec(Tuple input) |
java.lang.Boolean |
Assert.exec(Tuple tuple) |
java.lang.Long |
AlgebraicLongMathBase.exec(Tuple input) |
Tuple |
AlgebraicLongMathBase.Intermediate.exec(Tuple input) |
java.lang.Long |
AlgebraicLongMathBase.Final.exec(Tuple input) |
java.lang.Integer |
AlgebraicIntMathBase.exec(Tuple input) |
Tuple |
AlgebraicIntMathBase.Intermediate.exec(Tuple input) |
java.lang.Integer |
AlgebraicIntMathBase.Final.exec(Tuple input) |
java.lang.Float |
AlgebraicFloatMathBase.exec(Tuple input) |
Tuple |
AlgebraicFloatMathBase.Intermediate.exec(Tuple input) |
java.lang.Float |
AlgebraicFloatMathBase.Final.exec(Tuple input) |
java.lang.Double |
AlgebraicDoubleMathBase.exec(Tuple input) |
Tuple |
AlgebraicDoubleMathBase.Intermediate.exec(Tuple input) |
java.lang.Double |
AlgebraicDoubleMathBase.Final.exec(Tuple input) |
java.lang.Double |
AlgebraicByteArrayMathBase.exec(Tuple input) |
Tuple |
AlgebraicByteArrayMathBase.Intermediate.exec(Tuple input) |
Tuple |
AlgebraicByteArrayMathBase.Initial.exec(Tuple input) |
java.lang.Double |
AlgebraicByteArrayMathBase.Final.exec(Tuple input) |
java.math.BigInteger |
AlgebraicBigIntegerMathBase.exec(Tuple input) |
Tuple |
AlgebraicBigIntegerMathBase.Intermediate.exec(Tuple input) |
java.math.BigInteger |
AlgebraicBigIntegerMathBase.Final.exec(Tuple input) |
java.math.BigDecimal |
AlgebraicBigDecimalMathBase.exec(Tuple input) |
Tuple |
AlgebraicBigDecimalMathBase.Intermediate.exec(Tuple input) |
java.math.BigDecimal |
AlgebraicBigDecimalMathBase.Final.exec(Tuple input) |
org.joda.time.DateTime |
AddDuration.exec(Tuple input) |
java.lang.Double |
AVG.exec(Tuple input) |
Tuple |
AVG.Initial.exec(Tuple input) |
Tuple |
AVG.Intermediate.exec(Tuple input) |
java.lang.Double |
AVG.Final.exec(Tuple input) |
java.lang.Integer |
ARITY.exec(Tuple input)
Deprecated.
|
java.lang.Double |
ABS.exec(Tuple input)
java level API
|
protected DataBag |
Distinct.getDistinct(Tuple input) |
T |
Invoker.invoke(Tuple input) |
protected static java.lang.String |
StringMax.max(Tuple input) |
protected static org.joda.time.DateTime |
DateTimeMax.max(Tuple input) |
protected static java.lang.String |
StringMin.min(Tuple input) |
protected static org.joda.time.DateTime |
DateTimeMin.min(Tuple input) |
void |
PigStorage.putNext(Tuple f) |
void |
OrcStorage.putNext(Tuple t) |
void |
JsonStorage.putNext(Tuple t) |
void |
BinStorage.putNext(Tuple t) |
void |
AvroStorage.putNext(Tuple t) |
WritableByteArray |
PigStreaming.serializeToBytes(Tuple t) |
protected static java.lang.Long |
LongAvg.sum(Tuple input) |
protected static java.lang.Long |
IntAvg.sum(Tuple input) |
protected static java.lang.Double |
FloatAvg.sum(Tuple input) |
protected static java.lang.Double |
DoubleAvg.sum(Tuple input) |
protected static java.lang.Long |
COUNT_STAR.sum(Tuple input) |
protected static java.lang.Long |
COUNT.sum(Tuple input) |
protected static java.math.BigInteger |
BigIntegerAvg.sum(Tuple input) |
protected static java.math.BigDecimal |
BigDecimalAvg.sum(Tuple input) |
protected static java.lang.Double |
AVG.sum(Tuple input) |
byte[] |
Utf8StorageConverter.toBytes(Tuple t) |
byte[] |
TextLoader.toBytes(Tuple t) |
byte[] |
BinStorage.toBytes(Tuple t) |
Modifier and Type | Method and Description |
---|---|
protected static void |
TOP.updateTop(java.util.PriorityQueue<Tuple> store,
int limit,
DataBag inputBag) |
Modifier and Type | Method and Description |
---|---|
Tuple |
Storage.getNext() |
static Tuple |
Storage.tuple(java.lang.Object... objects) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Tuple> |
Storage.Data.get(java.lang.String location) |
Modifier and Type | Method and Description |
---|---|
static DataBag |
Storage.bag(Tuple... tuples) |
void |
Storage.putNext(Tuple t) |
void |
Storage.Data.set(java.lang.String location,
Schema schema,
Tuple... data)
to set the data in a location with a known schema
|
void |
Storage.Data.set(java.lang.String location,
java.lang.String schema,
Tuple... data)
to set the data in a location with a known schema
|
void |
Storage.Data.set(java.lang.String location,
Tuple... data)
to set the data in a location
|
Modifier and Type | Method and Description |
---|---|
void |
Storage.Data.set(java.lang.String location,
java.util.Collection<Tuple> data)
to set the data in a location
|
void |
Storage.Data.set(java.lang.String location,
Schema schema,
java.util.Collection<Tuple> data)
to set the data in a location with a known schema
|
void |
Storage.Data.set(java.lang.String location,
java.lang.String schema,
java.util.Collection<Tuple> data)
to set the data in a location with a known schema
|
Modifier and Type | Interface and Description |
---|---|
interface |
TupleMaker<A extends Tuple> |
Modifier and Type | Interface and Description |
---|---|
interface |
TypeAwareTuple |
Modifier and Type | Class and Description |
---|---|
class |
AbstractTuple
This class provides a convenient base for Tuple implementations.
|
class |
AmendableTuple |
class |
AppendableSchemaTuple<T extends AppendableSchemaTuple<T>> |
class |
BinSedesTuple
This tuple has a faster (de)serialization mechanism.
|
static class |
DefaultAbstractBag.BagDelimiterTuple |
static class |
DefaultAbstractBag.EndBag |
static class |
DefaultAbstractBag.StartBag |
class |
DefaultTuple
A default implementation of Tuple.
|
class |
NonWritableTuple
A singleton Tuple type which is not picked up for writing by PigRecordWriter
|
class |
SchemaTuple<T extends SchemaTuple<T>>
A SchemaTuple is a type aware tuple that is much faster and more memory efficient.
|
class |
TargetedTuple
A tuple composed with the operators to which
it needs be attached
|
class |
TimestampedTuple |
class |
UnlimitedNullTuple |
Modifier and Type | Field and Description |
---|---|
static Tuple |
DefaultAbstractBag.endBag |
static Tuple |
DefaultAbstractBag.startBag |
Modifier and Type | Field and Description |
---|---|
protected java.util.Collection<Tuple> |
DefaultAbstractBag.mContents |
Modifier and Type | Method and Description |
---|---|
protected Tuple |
SchemaTuple.box(Tuple t) |
static Tuple |
DataReaderWriter.bytesToTuple(java.io.DataInput in) |
protected abstract Tuple |
SchemaTuple.generatedCodeGetTuple(int fieldNum) |
Tuple |
AppendableSchemaTuple.getAppendedFields() |
Tuple |
TypeAwareTuple.getTuple(int idx) |
Tuple |
SchemaTuple.getTuple(int fieldNum) |
abstract Tuple |
TupleFactory.newTuple()
Create an empty tuple.
|
Tuple |
BinSedesTupleFactory.newTuple() |
abstract Tuple |
TupleFactory.newTuple(int size)
Create a tuple with size fields.
|
Tuple |
BinSedesTupleFactory.newTuple(int size) |
abstract Tuple |
TupleFactory.newTuple(java.util.List c)
Create a tuple from the provided list of objects.
|
Tuple |
BinSedesTupleFactory.newTuple(java.util.List c) |
abstract Tuple |
TupleFactory.newTuple(java.lang.Object datum)
Create a tuple with a single element.
|
Tuple |
BinSedesTupleFactory.newTuple(java.lang.Object datum) |
abstract Tuple |
TupleFactory.newTupleNoCopy(java.util.List list)
Create a tuple from a provided list of objects, keeping the provided
list.
|
Tuple |
BinSedesTupleFactory.newTupleNoCopy(java.util.List list) |
Tuple |
ReadOnceBag.ReadOnceBagIterator.next() |
Tuple |
BinInterSedes.readTuple(java.io.DataInput in) |
Tuple |
BinInterSedes.readTuple(java.io.DataInput in,
byte type) |
protected Tuple |
SchemaTuple.returnUnlessNull(boolean isNull,
Tuple val) |
Tuple |
TargetedTuple.toTuple() |
static Tuple |
DataType.toTuple(java.lang.Object o)
If this object is a tuple, return it as a tuple.
|
protected Tuple |
SchemaTuple.unbox(java.lang.Object v,
Tuple t) |
protected Tuple |
SchemaTuple.unboxTuple(java.lang.Object val) |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<Tuple> |
SortedDataBag.iterator() |
java.util.Iterator<Tuple> |
SingleTupleBag.iterator() |
java.util.Iterator<Tuple> |
ReadOnceBag.iterator() |
java.util.Iterator<Tuple> |
NonSpillableDataBag.iterator() |
java.util.Iterator<Tuple> |
LimitedSortedDataBag.iterator()
Get an iterator to the bag.
|
java.util.Iterator<Tuple> |
InternalSortedBag.iterator() |
java.util.Iterator<Tuple> |
InternalDistinctBag.iterator() |
java.util.Iterator<Tuple> |
InternalCachedBag.iterator() |
java.util.Iterator<Tuple> |
DistinctDataBag.iterator() |
java.util.Iterator<Tuple> |
DefaultDataBag.iterator() |
java.util.Iterator<Tuple> |
DataBag.iterator()
Get an iterator to the bag.
|
java.util.Iterator<Tuple> |
AccumulativeBag.iterator() |
abstract java.lang.Class<? extends Tuple> |
TupleFactory.tupleClass()
Return the actual class representing a tuple that the implementing
factory will be returning.
|
java.lang.Class<? extends Tuple> |
BinSedesTupleFactory.tupleClass() |
Modifier and Type | Method and Description |
---|---|
void |
SingleTupleBag.add(Tuple t) |
void |
ReadOnceBag.add(Tuple t) |
void |
NonSpillableDataBag.add(Tuple t) |
void |
LimitedSortedDataBag.add(Tuple t)
Add a tuple to the bag.
|
void |
InternalSortedBag.add(Tuple t) |
void |
InternalDistinctBag.add(Tuple t) |
void |
InternalCachedBag.add(Tuple t) |
void |
DistinctDataBag.add(Tuple t) |
void |
DefaultAbstractBag.add(Tuple t)
Add a tuple to the bag.
|
void |
DataBag.add(Tuple t)
Add a tuple to the bag.
|
void |
AccumulativeBag.add(Tuple t) |
void |
InterSedes.addColsToTuple(java.io.DataInput in,
Tuple t)
The type of next object has been determined to be of type Tuple,
add the columns that belong to the tuple to given tuple argument t
|
void |
BinInterSedes.addColsToTuple(java.io.DataInput in,
Tuple t) |
protected Tuple |
SchemaTuple.box(Tuple t) |
protected int |
SchemaTuple.compareNull(boolean usNull,
Tuple t,
int pos) |
protected int |
SchemaTuple.compareSize(Tuple t) |
int |
SchemaTuple.compareTo(Tuple t) |
protected int |
SchemaTuple.compareTo(Tuple t,
boolean checkType) |
protected abstract void |
SchemaTuple.generatedCodeSetTuple(int fieldNum,
Tuple val) |
protected int |
SchemaTuple.hashCodePiece(int hash,
Tuple v,
boolean isNull) |
void |
Tuple.reference(Tuple t)
Deprecated.
|
void |
TargetedTuple.reference(Tuple t) |
void |
SchemaTuple.reference(Tuple t) |
void |
AbstractTuple.reference(Tuple t) |
protected Tuple |
SchemaTuple.returnUnlessNull(boolean isNull,
Tuple val) |
SchemaTuple<T> |
SchemaTuple.set(Tuple t) |
protected SchemaTuple<T> |
SchemaTuple.set(Tuple t,
boolean checkType) |
void |
SchemaTuple.setAndCatch(Tuple t) |
protected void |
AppendableSchemaTuple.setAppendedFields(Tuple t) |
void |
TypeAwareTuple.setTuple(int idx,
Tuple val) |
void |
SchemaTuple.setTuple(int fieldNum,
Tuple val) |
static void |
DataType.spillTupleContents(Tuple t,
java.lang.String label)
Purely for debugging
|
protected Tuple |
SchemaTuple.unbox(java.lang.Object v,
Tuple t) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultAbstractBag.addAll(java.util.Collection<Tuple> c) |
void |
DefaultAbstractBag.addAll(java.lang.Iterable<Tuple> iterable)
Add contents of an iterable (a collection or a DataBag)
|
DataBag |
DefaultBagFactory.newDefaultBag(java.util.List<Tuple> listOfTuples)
Get a default (unordered, not distinct) data bag from
an existing list of tuples.
|
abstract DataBag |
BagFactory.newDefaultBag(java.util.List<Tuple> listOfTuples)
Get a default (unordered, not distinct) data bag with
an existing list of tuples inserted into the bag.
|
DataBag |
DefaultBagFactory.newLimitedSortedBag(java.util.Comparator<Tuple> comp,
long limit)
Get a limited sorted data bag.
|
abstract DataBag |
BagFactory.newLimitedSortedBag(java.util.Comparator<Tuple> comp,
long limit)
Get a limited sorted data bag.
|
DataBag |
DefaultBagFactory.newSortedBag(java.util.Comparator<Tuple> comp)
Get a sorted data bag.
|
abstract DataBag |
BagFactory.newSortedBag(java.util.Comparator<Tuple> comp)
Get a sorted data bag.
|
long |
SortedSpillBag.proactive_spill(java.util.Comparator<Tuple> comp)
Sort contents of mContents and write them to disk
|
long |
InternalSortedBag.proactive_spill(java.util.Comparator<Tuple> comp) |
Constructor and Description |
---|
SingleTupleBag(Tuple t) |
TargetedTuple(Tuple t,
java.util.List<OperatorKey> targetOps) |
Constructor and Description |
---|
DefaultDataBag(java.util.List<Tuple> listOfTuples)
This constructor creates a bag out of an existing list
of tuples by taking ownership of the list and NOT
copying the contents of the list.
|
InternalSortedBag(java.util.Comparator<Tuple> comp) |
InternalSortedBag(int bagCount,
java.util.Comparator<Tuple> comp) |
InternalSortedBag(int bagCount,
float percent,
java.util.Comparator<Tuple> comp) |
LimitedSortedDataBag(java.util.Comparator<Tuple> comp,
long limit) |
NonSpillableDataBag(java.util.List<Tuple> listOfTuples)
This constructor creates a bag out of an existing list
of tuples by taking ownership of the list and NOT
copying the contents of the list.
|
SortedDataBag(java.util.Comparator<Tuple> comp) |
Modifier and Type | Method and Description |
---|---|
static Tuple |
SedesHelper.readGenericTuple(java.io.DataInput in,
byte type) |
Modifier and Type | Method and Description |
---|---|
static void |
SedesHelper.writeGenericTuple(java.io.DataOutput out,
Tuple t) |
Modifier and Type | Method and Description |
---|---|
Tuple |
GetMemNumRows.exec(Tuple in) |
Tuple |
RandomSampleLoader.getNext()
Allocate a buffer for numSamples elements, populate it with the
first numSamples tuples, and continue scanning rest of the input.
|
Tuple |
PoissonSampleLoader.getNext() |
Tuple |
DefaultIndexableLoader.getNext() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
StreamingUDF.exec(Tuple input) |
java.lang.Object |
ReadScalars.exec(Tuple input)
Java level API
|
java.util.Map<java.lang.String,java.lang.Object> |
PartitionSkewedKeys.exec(Tuple in)
first field in the input tuple is the number of reducers
second field is the *sorted* bag of samples
this should be called only once
|
java.lang.Boolean |
IsFirstReduceOfKey.exec(Tuple input) |
java.lang.Object |
IdentityColumn.exec(Tuple input) |
Tuple |
GetMemNumRows.exec(Tuple in) |
DataBag |
GFReplicate.exec(Tuple input) |
DataBag |
GFCross.exec(Tuple input) |
java.lang.Integer |
GFAny.exec(Tuple input) |
java.util.Map<java.lang.String,java.lang.Object> |
FindQuantiles.exec(Tuple in)
first field in the input tuple is the number of quantiles to generate
second field is the *sorted* bag of samples
|
protected long |
PartitionSkewedKeys.getMemorySize(Tuple t) |
void |
DefaultIndexableLoader.seekNear(Tuple keys) |
Modifier and Type | Method and Description |
---|---|
Tuple |
TFileRecordReader.getCurrentValue() |
Tuple |
InterRecordReader.getCurrentValue() |
Tuple |
BinStorageRecordReader.getCurrentValue() |
Tuple |
TFileStorage.getNext() |
Tuple |
SequenceFileInterStorage.getNext() |
Tuple |
ReadToEndLoader.getNext() |
Tuple |
InterStorage.getNext() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,Tuple> |
TFileStorage.TFileInputFormat.createRecordReader(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context) |
org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,Tuple> |
InterStorage.InterInputFormat.createRecordReader(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context) |
org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,Tuple> |
BinStorageInputFormat.createRecordReader(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context) |
org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.WritableComparable,Tuple> |
TFileStorage.TFileOutputFormat.getRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext job) |
org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.WritableComparable,Tuple> |
InterStorage.InterOutputFormat.getRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext job) |
org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.WritableComparable,Tuple> |
BinStorageOutputFormat.getRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext job) |
Modifier and Type | Method and Description |
---|---|
void |
TFileStorage.putNext(Tuple t) |
void |
SequenceFileInterStorage.putNext(Tuple t) |
void |
InterStorage.putNext(Tuple t) |
void |
TFileRecordWriter.write(org.apache.hadoop.io.WritableComparable wc,
Tuple t) |
void |
InterRecordWriter.write(org.apache.hadoop.io.WritableComparable wc,
Tuple t) |
void |
BinStorageRecordWriter.write(org.apache.hadoop.io.WritableComparable wc,
Tuple t) |
Constructor and Description |
---|
NullableTuple(Tuple t) |
Modifier and Type | Method and Description |
---|---|
Tuple |
PigStreamingUDF.deserialize(byte[] bytes,
int offset,
int length) |
Tuple |
OutputHandler.getNext()
Get the next output
Tuple of the managed process. |
Modifier and Type | Method and Description |
---|---|
void |
InputHandler.putNext(Tuple t)
Send the given input
Tuple to the managed executable. |
WritableByteArray |
PigStreamingUDF.serializeToBytes(Tuple t) |
Modifier and Type | Method and Description |
---|---|
static Tuple |
StorageUtil.bytesToTuple(byte[] buf,
int offset,
int length,
byte fieldDel)
Transform bytes from a byte array up to the specified length to a
Tuple |
Tuple |
LineageTracer.getRepresentative(Tuple t) |
static Tuple |
StorageUtil.textToTuple(org.apache.hadoop.io.Text val,
byte fieldDel)
Transform a line of
Text to a Tuple |
Modifier and Type | Method and Description |
---|---|
java.util.IdentityHashMap<Tuple,java.lang.Integer> |
LineageTracer.getCounts() |
java.util.Collection<Tuple> |
LineageTracer.getMembers(Tuple t) |
java.util.IdentityHashMap<Tuple,java.util.Collection<Tuple>> |
LineageTracer.getMembershipMap() |
java.util.IdentityHashMap<Tuple,java.util.Collection<Tuple>> |
LineageTracer.getMembershipMap() |
java.util.IdentityHashMap<Tuple,java.lang.Integer> |
LineageTracer.getWeightedCounts(IdentityHashSet<Tuple> specialTuples,
int multiplier) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
TupleFormat.format(Tuple tuple)
Default implementation of format of tuple (each filed is delimited by
tab)
|
java.util.Collection<Tuple> |
LineageTracer.getMembers(Tuple t) |
Tuple |
LineageTracer.getRepresentative(Tuple t) |
void |
LineageTracer.insert(Tuple t) |
void |
LineageTracer.union(Tuple t1,
Tuple t2) |
Modifier and Type | Method and Description |
---|---|
java.util.IdentityHashMap<Tuple,java.lang.Integer> |
LineageTracer.getWeightedCounts(IdentityHashSet<Tuple> specialTuples,
int multiplier) |
Modifier and Type | Class and Description |
---|---|
class |
AvroTupleWrapper<T extends org.apache.avro.generic.IndexedRecord>
Object that wraps an Avro object in a tuple.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<Tuple> |
AvroBagWrapper.iterator() |
Modifier and Type | Method and Description |
---|---|
void |
AvroBagWrapper.add(Tuple t) |
static org.apache.avro.generic.GenericData.Record |
AvroStorageDataConversionUtilities.packIntoAvro(Tuple t,
org.apache.avro.Schema s)
Packs a Pig Tuple into an Avro record.
|
void |
AvroTupleWrapper.reference(Tuple arg0) |
Modifier and Type | Method and Description |
---|---|
Tuple |
Illustrable.illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex)
input tuple mark up to be illustrate-able
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<IdentityHashSet<Tuple>> |
ExampleGenerator.getEqClasses() |
java.util.LinkedList<IdentityHashSet<Tuple>> |
Illustrator.getEquivalenceClasses() |
IdentityHashSet<Tuple> |
Illustrator.getInputs() |
java.util.Map<LogicalRelationalOperator,java.util.Collection<IdentityHashSet<Tuple>>> |
ExampleGenerator.getLoToEqClassMap() |
static java.util.Map<LogicalRelationalOperator,java.util.Collection<IdentityHashSet<Tuple>>> |
EquivalenceClasses.getLoToEqClassMap(PhysicalPlan plan,
LogicalPlan lp,
java.util.Map<Operator,PhysicalOperator> logToPhyMap,
java.util.Map<Operator,DataBag> logToDataMap,
java.util.Map<LOForEach,java.util.Map<LogicalRelationalOperator,PhysicalOperator>> forEachInnerLogToPhyMap,
java.util.HashMap<PhysicalOperator,java.util.Collection<IdentityHashSet<Tuple>>> poToEqclassesMap) |
Modifier and Type | Method and Description |
---|---|
void |
Illustrator.addData(Tuple t) |
Modifier and Type | Method and Description |
---|---|
void |
Illustrator.addInputs(IdentityHashSet<Tuple> inputs) |
static java.util.Map<LogicalRelationalOperator,java.util.Collection<IdentityHashSet<Tuple>>> |
EquivalenceClasses.getLoToEqClassMap(PhysicalPlan plan,
LogicalPlan lp,
java.util.Map<Operator,PhysicalOperator> logToPhyMap,
java.util.Map<Operator,DataBag> logToDataMap,
java.util.Map<LOForEach,java.util.Map<LogicalRelationalOperator,PhysicalOperator>> forEachInnerLogToPhyMap,
java.util.HashMap<PhysicalOperator,java.util.Collection<IdentityHashSet<Tuple>>> poToEqclassesMap) |
void |
Illustrator.setEquivalenceClasses(java.util.LinkedList<IdentityHashSet<Tuple>> eqClasses,
PhysicalOperator po) |
Constructor and Description |
---|
Illustrator(LineageTracer lineage,
java.util.LinkedList<IdentityHashSet<Tuple>> equivalenceClasses,
IllustratorAttacher attacher,
PigContext hadoopPigContext) |
Illustrator(LineageTracer lineage,
java.util.LinkedList<IdentityHashSet<Tuple>> equivalenceClasses,
int maxRecords,
IllustratorAttacher attacher,
LogicalSchema schema,
PigContext hadoopPigContext) |
Modifier and Type | Class and Description |
---|---|
class |
ExampleTuple |
Modifier and Type | Method and Description |
---|---|
Tuple |
LineageTracer.getRepresentative(Tuple t) |
Tuple |
ExampleTuple.toTuple() |
Modifier and Type | Method and Description |
---|---|
java.util.IdentityHashMap<Tuple,java.lang.Double> |
LineageTracer.getCounts() |
java.util.Collection<Tuple> |
LineageTracer.getMembers(Tuple t) |
java.util.IdentityHashMap<Tuple,java.util.Collection<Tuple>> |
LineageTracer.getMembershipMap() |
java.util.IdentityHashMap<Tuple,java.util.Collection<Tuple>> |
LineageTracer.getMembershipMap() |
java.util.IdentityHashMap<Tuple,java.lang.Double> |
LineageTracer.getWeightedCounts(float syntheticMultipler,
float omittableMultiplier) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Tuple> |
LineageTracer.getMembers(Tuple t) |
Tuple |
LineageTracer.getRepresentative(Tuple t) |
void |
LineageTracer.insert(Tuple t) |
void |
ExampleTuple.reference(Tuple t) |
void |
LineageTracer.union(Tuple t1,
Tuple t2) |
Modifier and Type | Method and Description |
---|---|
static float |
MetricEvaluation.getCompleteness(Operator op,
java.util.Map<Operator,DataBag> exampleData,
java.util.Map<LogicalRelationalOperator,java.util.Collection<IdentityHashSet<Tuple>>> OperatorToEqClasses,
boolean overallCompleteness) |
static float |
MetricEvaluation.getConciseness(Operator op,
java.util.Map<Operator,DataBag> exampleData,
java.util.Map<LogicalRelationalOperator,java.util.Collection<IdentityHashSet<Tuple>>> OperatorToEqClasses,
boolean overallConciseness) |
Constructor and Description |
---|
ExampleTuple(Tuple t) |
Modifier and Type | Method and Description |
---|---|
Tuple |
MaxTupleBy1stField.exec(Tuple input) |
Tuple |
MaxTupleBy1stField.Initial.exec(Tuple input) |
Tuple |
MaxTupleBy1stField.Intermediate.exec(Tuple input) |
Tuple |
MaxTupleBy1stField.Final.exec(Tuple input) |
Tuple |
ExtremalTupleByNthField.exec(Tuple input)
The EvalFunc interface
|
Tuple |
ExtremalTupleByNthField.HelperClass.exec(Tuple input) |
protected static Tuple |
ExtremalTupleByNthField.extreme(int pind,
int psign,
Tuple input,
PigProgressable reporter) |
Tuple |
MaxTupleBy1stField.getValue() |
Tuple |
ExtremalTupleByNthField.getValue() |
protected static Tuple |
MaxTupleBy1stField.max(DataBag values,
PigProgressable reporter) |
protected static Tuple |
MaxTupleBy1stField.max(Tuple input,
PigProgressable reporter) |
Modifier and Type | Method and Description |
---|---|
void |
MaxTupleBy1stField.accumulate(Tuple b)
Accumulate implementation - calls max() on the incoming tuple set including intermediate tuple if already exists
|
void |
ExtremalTupleByNthField.accumulate(Tuple b) |
DataBag |
Stitch.exec(Tuple input) |
DataBag |
Over.exec(Tuple input) |
Tuple |
MaxTupleBy1stField.exec(Tuple input) |
Tuple |
MaxTupleBy1stField.Initial.exec(Tuple input) |
Tuple |
MaxTupleBy1stField.Intermediate.exec(Tuple input) |
Tuple |
MaxTupleBy1stField.Final.exec(Tuple input) |
java.lang.Boolean |
IsNumeric.exec(Tuple input) |
java.lang.Boolean |
IsLong.exec(Tuple input) |
java.lang.Boolean |
IsInt.exec(Tuple input) |
java.lang.Boolean |
IsFloat.exec(Tuple input) |
java.lang.Boolean |
IsDouble.exec(Tuple input) |
Tuple |
ExtremalTupleByNthField.exec(Tuple input)
The EvalFunc interface
|
Tuple |
ExtremalTupleByNthField.HelperClass.exec(Tuple input) |
protected static Tuple |
ExtremalTupleByNthField.extreme(int pind,
int psign,
Tuple input,
PigProgressable reporter) |
protected static Tuple |
MaxTupleBy1stField.max(Tuple input,
PigProgressable reporter) |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
DiffDate.exec(Tuple input) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
UnixToISO.exec(Tuple input) |
java.lang.Long |
ISOToUnix.exec(Tuple input) |
java.lang.String |
CustomFormatToISO.exec(Tuple input) |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
ISOYearsBetween.exec(Tuple input) |
java.lang.Long |
ISOSecondsBetween.exec(Tuple input) |
java.lang.Long |
ISOMonthsBetween.exec(Tuple input) |
java.lang.Long |
ISOMinutesBetween.exec(Tuple input) |
java.lang.Long |
ISOHoursBetween.exec(Tuple input) |
java.lang.Long |
ISODaysBetween.exec(Tuple input) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
ISOToYear.exec(Tuple input) |
java.lang.String |
ISOToWeek.exec(Tuple input) |
java.lang.String |
ISOToSecond.exec(Tuple input) |
java.lang.String |
ISOToMonth.exec(Tuple input) |
java.lang.String |
ISOToMinute.exec(Tuple input) |
java.lang.String |
ISOToHour.exec(Tuple input) |
java.lang.String |
ISOToDay.exec(Tuple input) |
static org.joda.time.DateTime |
ISOHelper.parseDateTime(Tuple input) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
Decode.exec(Tuple tuple) |
java.lang.String |
BinCond.exec(Tuple tuple) |
java.lang.String |
Bin.exec(Tuple tuple) |
Modifier and Type | Method and Description |
---|---|
java.lang.Double |
nextAfter.exec(Tuple input)
java level API
|
java.lang.Integer |
getExponent.exec(Tuple input)
java level API
|
java.lang.Double |
copySign.exec(Tuple input)
java level API
|
java.lang.Double |
ULP.exec(Tuple input)
java level API
|
java.lang.Double |
SIGNUM.exec(Tuple input)
java level API
|
java.lang.Double |
SCALB.exec(Tuple input)
java level API
|
java.lang.Long |
ROUND.exec(Tuple input)
Deprecated.
java level API
|
java.lang.Double |
NEXTUP.exec(Tuple input)
java level API
|
java.lang.Double |
MIN.exec(Tuple input)
java level API
|
java.lang.Double |
MAX.exec(Tuple input)
java level API
|
java.lang.Long |
LongMin.exec(Tuple input)
java level API
|
java.lang.Long |
LongMax.exec(Tuple input)
java level API
|
java.lang.Long |
LongAbs.exec(Tuple input)
Deprecated.
java level API
|
java.lang.Integer |
IntMin.exec(Tuple input)
java level API
|
java.lang.Integer |
IntMax.exec(Tuple input)
java level API
|
java.lang.Integer |
IntAbs.exec(Tuple input)
Deprecated.
java level API
|
java.lang.Float |
FloatUlp.exec(Tuple input)
java level API
|
java.lang.Float |
FloatSignum.exec(Tuple input)
java level API
|
java.lang.Integer |
FloatRound.exec(Tuple input)
Deprecated.
java level API
|
java.lang.Float |
FloatNextup.exec(Tuple input)
java level API
|
java.lang.Float |
FloatNextAfter.exec(Tuple input)
java level API
|
java.lang.Float |
FloatMin.exec(Tuple input)
java level API
|
java.lang.Float |
FloatMax.exec(Tuple input)
java level API
|
java.lang.Integer |
FloatGetExponent.exec(Tuple input)
java level API
|
java.lang.Float |
FloatCopySign.exec(Tuple input)
java level API
|
java.lang.Float |
FloatAbs.exec(Tuple input)
Deprecated.
java level API
|
java.lang.Double |
DoubleUlp.exec(Tuple input)
java level API
|
java.lang.Double |
DoubleSignum.exec(Tuple input)
java level API
|
java.lang.Long |
DoubleRound.exec(Tuple input)
Deprecated.
java level API
|
java.lang.Double |
DoubleNextup.exec(Tuple input)
java level API
|
java.lang.Double |
DoubleNextAfter.exec(Tuple input)
java level API
|
java.lang.Double |
DoubleMin.exec(Tuple input)
java level API
|
java.lang.Double |
DoubleMax.exec(Tuple input)
java level API
|
java.lang.Integer |
DoubleGetExponent.exec(Tuple input)
java level API
|
java.lang.Double |
DoubleDoubleBase.exec(Tuple input)
java level API
|
java.lang.Double |
DoubleCopySign.exec(Tuple input)
java level API
|
java.lang.Double |
DoubleBase.exec(Tuple input)
Deprecated.
java level API
|
java.lang.Double |
DoubleAbs.exec(Tuple input)
Deprecated.
java level API
|
java.lang.Double |
ABS.exec(Tuple input)
Deprecated.
java level API
|
Modifier and Type | Method and Description |
---|---|
protected static Tuple |
COV.combine(DataBag values)
Deprecated.
combine results of different data chunk
|
protected static Tuple |
COR.combine(DataBag values)
Deprecated.
combine results of different data chunk
|
protected static Tuple |
COV.computeAll(DataBag first,
DataBag second)
Deprecated.
compute sum(XY), sum(X), sum(Y) from given data sets
|
protected static Tuple |
COR.computeAll(DataBag first,
DataBag second)
Deprecated.
compute sum(XY), sum(X), sum(Y), sum(XX), sum(YY) from given data sets
|
Tuple |
COV.Initial.exec(Tuple input) |
Tuple |
COV.Intermed.exec(Tuple input) |
Tuple |
COR.Initial.exec(Tuple input) |
Tuple |
COR.Intermed.exec(Tuple input) |
Modifier and Type | Method and Description |
---|---|
DataBag |
COV.exec(Tuple input)
Deprecated.
Function to compute covariance between data sets.
|
Tuple |
COV.Initial.exec(Tuple input) |
Tuple |
COV.Intermed.exec(Tuple input) |
DataBag |
COV.Final.exec(Tuple input) |
DataBag |
COR.exec(Tuple input)
Deprecated.
Function to compute correlation between data sets.
|
Tuple |
COR.Initial.exec(Tuple input) |
Tuple |
COR.Intermed.exec(Tuple input) |
DataBag |
COR.Final.exec(Tuple input) |
Modifier and Type | Method and Description |
---|---|
Tuple |
RegexExtractAll.exec(Tuple input)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
UPPER.exec(Tuple input)
Deprecated.
Upper-cases an input string.
|
java.lang.String |
Stuff.exec(Tuple input) |
java.lang.String |
Reverse.exec(Tuple input) |
java.lang.Integer |
RegexMatch.exec(Tuple input) |
Tuple |
RegexExtractAll.exec(Tuple input)
Deprecated.
|
java.lang.String |
RegexExtract.exec(Tuple input)
Deprecated.
|
java.lang.String |
REPLACE_MULTI.exec(Tuple input)
Method invoked on every tuple during FOREACH evaluation.
|
java.lang.Integer |
LookupInFiles.exec(Tuple input) |
java.lang.Integer |
LENGTH.exec(Tuple input) |
java.lang.Long |
HashFNV2.exec(Tuple input) |
java.lang.Long |
HashFNV1.exec(Tuple input) |
java.lang.Long |
HashFNV.exec(Tuple input) |
void |
LookupInFiles.init(Tuple tuple) |
Modifier and Type | Method and Description |
---|---|
Tuple |
Top.Initial.exec(Tuple tuple) |
Tuple |
Top.Intermed.exec(Tuple input) |
Tuple |
ToTuple.exec(Tuple input)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
DataBag |
Top.exec(Tuple tuple)
Deprecated.
|
Tuple |
Top.Initial.exec(Tuple tuple) |
Tuple |
Top.Intermed.exec(Tuple input) |
DataBag |
Top.Final.exec(Tuple tuple) |
Tuple |
ToTuple.exec(Tuple input)
Deprecated.
|
DataBag |
ToBag.exec(Tuple input)
Deprecated.
|
java.lang.String |
SearchQuery.exec(Tuple tuple) |
Modifier and Type | Method and Description |
---|---|
protected static void |
Top.updateTop(java.util.PriorityQueue<Tuple> store,
int limit,
DataBag inputBag)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
SearchTermExtractor.exec(Tuple input) |
java.lang.String |
SearchEngineExtractor.exec(Tuple input) |
java.lang.String |
HostExtractor.exec(Tuple input) |
java.lang.String |
DateExtractor.exec(Tuple input) |
Modifier and Type | Method and Description |
---|---|
Tuple |
XPathAll.exec(Tuple input)
input should contain: 1) xml 2) xpath 3) optional cache xml doc flag 4)
optional ignore namespace flag
The optional fourth parameter (IGNORE_NAMESPACE), if set true will remove
the namespace from xPath For example xpath /html:body/html:div will be
considered as /body/div
Usage: 1) XPathAll(xml, xpath)
2) XPathAll(xml, xpath, false)
3) XPathAll(xml, xpath, false, false)
|
Modifier and Type | Method and Description |
---|---|
Tuple |
XPathAll.exec(Tuple input)
input should contain: 1) xml 2) xpath 3) optional cache xml doc flag 4)
optional ignore namespace flag
The optional fourth parameter (IGNORE_NAMESPACE), if set true will remove
the namespace from xPath For example xpath /html:body/html:div will be
considered as /body/div
Usage: 1) XPathAll(xml, xpath)
2) XPathAll(xml, xpath, false)
3) XPathAll(xml, xpath, false, false)
|
java.lang.String |
XPath.exec(Tuple input)
input should contain: 1) xml 2) xpath
3) optional cache xml doc flag
4) optional ignore namespace flag
Usage:
1) XPath(xml, xpath)
2) XPath(xml, xpath, false)
3) XPath(xml, xpath, false, false)
|
Modifier and Type | Method and Description |
---|---|
Tuple |
XMLLoader.createTuple(java.lang.String str)
Creates a tuple from a matched string
|
Tuple |
IndexedStorage.IndexManager.getIndexKeyTuple(Tuple indexTuple)
Extracts the index key from the index tuple
|
Tuple |
XMLLoader.getNext() |
Tuple |
SequenceFileLoader.getNext() |
Tuple |
RegExLoader.getNext() |
Tuple |
IndexedStorage.getNext() |
Tuple |
HiveColumnarLoader.getNext() |
Tuple |
FixedWidthLoader.getNext() |
Tuple |
CSVLoader.getNext() |
Tuple |
CSVExcelStorage.getNext() |
Tuple |
AllLoader.getNext() |
Tuple |
IndexedStorage.IndexManager.ReadIndex()
Reads the next index from the index file (or null if EOF) and extracts
the index fields.
|
Tuple |
IndexedStorage.IndexManager.ScanIndex(Tuple keys)
Scans the index looking for a given key.
|
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.mapreduce.RecordWriter<java.util.List<java.lang.String>,Tuple> |
MultiStorage.MultiStorageOutputFormat.getRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context) |
org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.WritableComparable,Tuple> |
IndexedStorage.IndexedStorageOutputFormat.getRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context) |
Modifier and Type | Method and Description |
---|---|
Tuple |
IndexedStorage.IndexManager.getIndexKeyTuple(Tuple indexTuple)
Extracts the index key from the index tuple
|
long |
IndexedStorage.IndexManager.getIndexKeyTupleCount(Tuple indexTuple)
Extracts the number of records that share the current key from the index tuple.
|
long |
IndexedStorage.IndexManager.getOffset(Tuple indexTuple)
Extracts the offset into the data file from the index tuple.
|
void |
MultiStorage.putNext(Tuple tuple) |
void |
HiveColumnarStorage.putNext(Tuple t) |
void |
FixedWidthStorer.putNext(Tuple t) |
void |
DBStorage.putNext(Tuple tuple)
Write the tuple to Database directly here.
|
void |
CSVExcelStorage.putNext(Tuple tupleToWrite) |
Tuple |
IndexedStorage.IndexManager.ScanIndex(Tuple keys)
Scans the index looking for a given key.
|
void |
IndexedStorage.seekNear(Tuple keys) |
boolean |
IndexedStorage.IndexedStorageInputFormat.IndexedStorageRecordReader.seekNear(Tuple keys)
Scan the index for given key and seek to appropriate offset in the data
|
void |
IndexedStorage.IndexedStorageOutputFormat.IndexedStorageRecordWriter.write(org.apache.hadoop.io.WritableComparable key,
Tuple value) |
Modifier and Type | Method and Description |
---|---|
Tuple |
AvroStorage.getNext() |
protected Tuple |
PigAvroRecordReader.wrapAsTuple(java.lang.Object in)
Wrap non-tuple value as a tuple
|
Modifier and Type | Method and Description |
---|---|
void |
AvroStorage.putNext(Tuple t) |
Modifier and Type | Method and Description |
---|---|
static Tuple |
HiveRCSchemaUtil.parseLazyArrayToPigArray(org.apache.hadoop.hive.serde2.lazy.LazyArray arr)
Converts the LazyArray to a Tuple.
|
Modifier and Type | Method and Description |
---|---|
void |
GroovyAccumulatorEvalFunc.accumulate(Tuple b) |
T |
GroovyEvalFunc.exec(Tuple input) |
Constructor and Description |
---|
DataBagGroovyIterator(java.util.Iterator<Tuple> iter) |
Modifier and Type | Method and Description |
---|---|
Tuple |
JrubyAlgebraicEvalFunc.Initial.exec(Tuple input) |
Tuple |
JrubyAlgebraicEvalFunc.Intermed.exec(Tuple input) |
static Tuple |
PigJrubyLibrary.rubyToPig(org.jruby.RubyArray rbObject)
A type specific conversion routine.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<Tuple> |
RubyDataBag.iterator() |
Modifier and Type | Method and Description |
---|---|
void |
JrubyAccumulatorEvalFunc.accumulate(Tuple b)
This uses the "exec" method required of AccumulatorPigUdf Ruby classes.
|
java.lang.Object |
JrubyEvalFunc.exec(Tuple tuple)
The exec method passes the tuple argument to the Ruby function, and converts the result back to Pig.
|
Tuple |
JrubyAlgebraicEvalFunc.Initial.exec(Tuple input) |
Tuple |
JrubyAlgebraicEvalFunc.Intermed.exec(Tuple input) |
T |
JrubyAlgebraicEvalFunc.Final.exec(Tuple input) |
abstract T |
JrubyAlgebraicEvalFunc.AlgebraicFunctionWrapper.exec(Tuple input) |
static org.jruby.RubyArray |
PigJrubyLibrary.pigToRuby(org.jruby.Ruby ruby,
Tuple object)
A type specific conversion routine.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
JsFunction.exec(Tuple tuple) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
JythonFunction.exec(Tuple tuple) |
static org.python.core.PyTuple |
JythonUtils.pigTupleToPyTuple(Tuple tuple) |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<Tuple> |
OutputStats.iterator() |
Copyright © 2007-2017 The Apache Software Foundation