Package | Description |
---|---|
org.apache.crunch |
Client-facing API and core abstractions.
|
org.apache.crunch.contrib.text | |
org.apache.crunch.types |
Common functionality for business object serialization.
|
org.apache.crunch.types.avro |
Business object serialization using Apache Avro.
|
org.apache.crunch.types.writable |
Business object serialization using Hadoop's Writables framework.
|
Modifier and Type | Class and Description |
---|---|
class |
Pair<K,V>
A convenience class for two-element
Tuple s. |
class |
Tuple3<V1,V2,V3>
A convenience class for three-element
Tuple s. |
class |
Tuple4<V1,V2,V3,V4>
A convenience class for four-element
Tuple s. |
class |
TupleN
A
Tuple instance for an arbitrary number of values. |
Modifier and Type | Method and Description |
---|---|
static <T extends Tuple> |
Extractors.xcustom(Class<T> clazz,
TokenizerFactory scannerFactory,
Extractor... extractors)
Returns an Extractor for a subclass of
Tuple with a constructor that
has the given extractor types that uses the given TokenizerFactory
for parsing the sub-fields. |
Modifier and Type | Class and Description |
---|---|
class |
TupleDeepCopier<T extends Tuple>
Performs deep copies (based on underlying PType deep copying) of Tuple-based objects.
|
class |
TupleFactory<T extends Tuple> |
Modifier and Type | Method and Description |
---|---|
static <T extends Tuple> |
TupleFactory.create(Class<T> clazz,
Class... typeArgs) |
static <T extends Tuple> |
TupleFactory.getTupleFactory(Class<T> tupleClass)
Get the
TupleFactory for a given Tuple implementation. |
<T extends Tuple> |
PTypeFamily.tuples(Class<T> clazz,
PType<?>... ptypes) |
Modifier and Type | Method and Description |
---|---|
static <T extends Tuple> |
Avros.tuples(Class<T> clazz,
PType... ptypes) |
<T extends Tuple> |
AvroTypeFamily.tuples(Class<T> clazz,
PType<?>... ptypes) |
Modifier and Type | Method and Description |
---|---|
static <T extends Tuple> |
Writables.tuples(Class<T> clazz,
PType... ptypes) |
<T extends Tuple> |
WritableTypeFamily.tuples(Class<T> clazz,
PType<?>... ptypes) |
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.