Modifier and Type | Method and Description |
---|---|
static Function |
Compiler.compiled(ClassLoader cl,
String lambda_name)
load the Java class of the anonymous function with name lambda_name
|
static Function |
Interpreter.evalF(Tree fnc,
Environment env)
evaluate an MRQL function in memory
|
(package private) static Function |
Plan.functional_argument(org.apache.hadoop.conf.Configuration conf,
Tree code)
retrieve the compiled functional argument of code
|
Function |
Lambda.lambda() |
Modifier and Type | Method and Description |
---|---|
static MRData |
MapReduceAlgebra.aggregate(Function accumulator,
MRData zero,
Bag s)
aggregate the Bag elements
|
static MRData |
MapReduceAlgebra.BSP(int[] source,
Function superstep,
MRData init_state,
boolean order,
Bag[] inputs)
The BSP operation
|
static Bag |
MapReduceAlgebra.closure(Function loop,
Bag init,
int max_num)
transitive closure: repeat the loop until the new set is equal to the previous set
or until we reach the max num of steps
|
static Bag |
MapReduceAlgebra.cmap(Function f,
Bag s)
lazy concat-map (stream-based)
|
static Bag |
MapReduceAlgebra.crossProduct(Function mx,
Function my,
Function r,
Bag X,
Bag Y)
A cross-product
|
static Bag |
MapReduceAlgebra.filter(Function p,
Function f,
Bag s)
lazy filter combined with a map
|
static Bag |
MapReduceAlgebra.groupByJoin(Function kx,
Function ky,
Function gx,
Function gy,
Function acc,
MRData zero,
Function r,
Bag X,
Bag Y)
An equi-join combined with a group-by (see GroupByJoinPlan)
|
static Bag |
MapReduceAlgebra.hash_join(Function kx,
Function ky,
Function f,
Bag X,
Bag Y)
A hash-based equi-join
|
static Tuple |
MapReduceAlgebra.loop(Function loop,
Tuple init,
int num)
repetition: repeat the loop until we reach the num of steps
|
static Bag |
MapReduceAlgebra.map(Function f,
Bag s)
lazy map
|
static Bag |
MapReduceAlgebra.mapJoin(Function kx,
Function ky,
Function r,
Bag X,
Bag Y)
The fragment-replicate join (map-side join)
|
static Bag |
MapReduceAlgebra.mapReduce(Function m,
Function r,
Bag s)
the MapReduce operation
|
static Bag |
MapReduceAlgebra.mapReduce2(Function mx,
Function my,
Function r,
Bag X,
Bag Y)
A map-reduce operation with two mappers (a join)
|
static Bag |
MapReduceAlgebra.mergeGroupByJoin(Function kx,
Function ky,
Function gx,
Function gy,
Function acc,
MRData zero,
Function r,
Bag X,
Bag Y)
An equi-join combined with a group-by implemented using a sort-merge join
combined with hash-based groupby/aggregation
|
static Bag |
MapReduceAlgebra.mergeGroupByJoin2(Function kx,
Function ky,
Function gx,
Function gy,
Function acc,
MRData zero,
Function r,
Bag X,
Bag Y)
An equi-join combined with a group-by implemented using hashing
|
MRData |
DataSet.reduce(MRData zero,
Function acc)
accumulate all dataset values
|
MRData |
DataSource.reduce(MRData zero,
Function acc)
accumulate all datasource values
|
static Bag |
MapReduceAlgebra.repeat(Function loop,
Bag init,
int max_num)
repeat the loop until all termination conditions are true or until we reach the max num of steps
|
Constructor and Description |
---|
Lambda(Function f) |
Copyright © 2013-2015 The Apache Software Foundation. All Rights Reserved.