Package | Description |
---|---|
org.apache.giraph.block_app.reducers.map |
Reducers for collecting map of objects.
|
org.apache.giraph.object |
Object handling related utilities.
|
org.apache.giraph.types.ops |
Type coercion, inference, and reflection.
|
org.apache.giraph.types.ops.collections |
Collection interfaces and implementations provided by TypeOps classes.
|
Modifier and Type | Method and Description |
---|---|
static <K extends org.apache.hadoop.io.WritableComparable,S,R extends org.apache.hadoop.io.Writable> |
BasicMapReduce.createLocalMapHandles(PrimitiveIdTypeOps<K> keyTypeOps,
PrimitiveTypeOps<R> typeOps,
ReduceOperation<S,R> elementReduceOp,
CreateReducersApi reduceApi)
Registers one new local reducer, that will reduce BasicMap,
by reducing individual elements corresponding to the same key
using
elementReduceOp . |
static <K extends org.apache.hadoop.io.WritableComparable,S,R extends org.apache.hadoop.io.Writable> |
BasicMapReduce.createMapHandles(PrimitiveIdTypeOps<K> keyTypeOps,
PrimitiveTypeOps<R> typeOps,
ReduceOperation<S,R> elementReduceOp,
CreateReducersApi.CreateReducerFunctionApi createFunction)
Registers one new reducer, that will reduce BasicMap,
by reducing individual elements corresponding to the same key
using
elementReduceOp . |
Constructor and Description |
---|
BasicMapReduce(PrimitiveIdTypeOps<K> keyTypeOps,
PrimitiveTypeOps<R> typeOps,
ReduceOperation<S,R> elementReduceOp)
Create ReduceOperation that reduces BasicMaps by reducing individual
elements corresponding to the same key.
|
Modifier and Type | Method and Description |
---|---|
static <K,V> MultiSizedReusable<Basic2ObjectMap<K,V>> |
MultiSizedReusable.createForBasic2ObjectMap(PrimitiveIdTypeOps<K> idTypeOps) |
static <I> MultiSizedReusable<BasicSet<I>> |
MultiSizedReusable.createForBasicSet(PrimitiveIdTypeOps<I> idTypeOps) |
Modifier and Type | Class and Description |
---|---|
class |
IntTypeOps
TypeOps implementation for working with IntWritable type
|
class |
LongTypeOps
TypeOps implementation for working with LongWritable type
|
Modifier and Type | Method and Description |
---|---|
static <T> PrimitiveIdTypeOps<T> |
TypeOpsUtils.getPrimitiveIdTypeOps(Class<T> type)
Get PrimitiveIdTypeOps for given type.
|
static <T> PrimitiveIdTypeOps<T> |
TypeOpsUtils.getPrimitiveIdTypeOpsOrNull(Class<T> type)
Get PrimitiveIdTypeOps for given type, or null if there is none.
|
Modifier and Type | Method and Description |
---|---|
PrimitiveIdTypeOps<T> |
BasicSet.getElementTypeOps()
TypeOps for type of elements this object holds
|
PrimitiveIdTypeOps<org.apache.hadoop.io.IntWritable> |
BasicSet.BasicIntOpenHashSet.getElementTypeOps() |
PrimitiveIdTypeOps<org.apache.hadoop.io.LongWritable> |
BasicSet.BasicLongOpenHashSet.getElementTypeOps() |
abstract PrimitiveIdTypeOps<K> |
Basic2ObjectMap.getKeyTypeOps()
TypeOps for type of keys this object holds
|
PrimitiveIdTypeOps<org.apache.hadoop.io.IntWritable> |
Basic2ObjectMap.BasicInt2ObjectOpenHashMap.getKeyTypeOps() |
PrimitiveIdTypeOps<org.apache.hadoop.io.LongWritable> |
Basic2ObjectMap.BasicLong2ObjectOpenHashMap.getKeyTypeOps() |
PrimitiveIdTypeOps<K> |
Basic2ObjectMap.BasicObject2ObjectOpenHashMap.getKeyTypeOps() |
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.