|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.crunch.types.orc.Orcs
public class Orcs
Utilities to create PTypes for ORC serialization / deserialization
| Constructor Summary | |
|---|---|
Orcs()
|
|
| Method Summary | ||
|---|---|---|
static PType<org.apache.hadoop.hive.ql.io.orc.OrcStruct> |
orcs(org.apache.hadoop.hive.serde2.typeinfo.TypeInfo typeInfo)
Create a PType to directly use OrcStruct as the deserialized format. |
|
static
|
reflects(Class<T> clazz)
Create a PType which uses reflection to serialize/deserialize java POJOs to/from ORC. |
|
static PType<TupleN> |
tuples(PType... ptypes)
Create a tuple-based PType. |
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Orcs()
| Method Detail |
|---|
public static final PType<org.apache.hadoop.hive.ql.io.orc.OrcStruct> orcs(org.apache.hadoop.hive.serde2.typeinfo.TypeInfo typeInfo)
typeInfo -
public static final <T> PType<T> reflects(Class<T> clazz)
clazz -
public static final PType<TupleN> tuples(PType... ptypes)
ptypes -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||