public class Orcs extends Object
Constructor and Description |
---|
Orcs() |
Modifier and Type | Method and Description |
---|---|
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 <T> PType<T> |
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.
|
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
- Copyright © 2015 The Apache Software Foundation. All Rights Reserved.