|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.crunch.types.TupleFactory<T>
public abstract class TupleFactory<T extends Tuple>
Field Summary | |
---|---|
static TupleFactory<Pair> |
PAIR
|
static TupleFactory<Tuple3> |
TUPLE3
|
static TupleFactory<Tuple4> |
TUPLE4
|
static TupleFactory<TupleN> |
TUPLEN
|
Constructor Summary | |
---|---|
TupleFactory()
|
Method Summary | ||
---|---|---|
static
|
create(Class<T> clazz,
Class... typeArgs)
|
|
static
|
getTupleFactory(Class<T> tupleClass)
Get the TupleFactory for a given Tuple implementation. |
|
void |
initialize()
|
|
abstract T |
makeTuple(Object... values)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final TupleFactory<Pair> PAIR
public static final TupleFactory<Tuple3> TUPLE3
public static final TupleFactory<Tuple4> TUPLE4
public static final TupleFactory<TupleN> TUPLEN
Constructor Detail |
---|
public TupleFactory()
Method Detail |
---|
public void initialize()
public abstract T makeTuple(Object... values)
public static <T extends Tuple> TupleFactory<T> getTupleFactory(Class<T> tupleClass)
TupleFactory
for a given Tuple implementation.
tupleClass
- The class for which the factory is to be retrieved
public static <T extends Tuple> TupleFactory<T> create(Class<T> clazz, Class... typeArgs)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |