public class PTFPartition extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
PTFPartition.PTFPartitionIterator<T> |
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
LOG |
| Modifier | Constructor and Description |
|---|---|
protected |
PTFPartition(org.apache.hadoop.conf.Configuration cfg,
SerDe serDe,
StructObjectInspector inputOI,
StructObjectInspector outputOI) |
protected |
PTFPartition(org.apache.hadoop.conf.Configuration cfg,
SerDe serDe,
StructObjectInspector inputOI,
StructObjectInspector outputOI,
boolean createElemContainer) |
| Modifier and Type | Method and Description |
|---|---|
void |
append(Object o) |
void |
close() |
static PTFPartition |
create(org.apache.hadoop.conf.Configuration cfg,
SerDe serDe,
StructObjectInspector inputOI,
StructObjectInspector outputOI) |
static PTFRollingPartition |
createRolling(org.apache.hadoop.conf.Configuration cfg,
SerDe serDe,
StructObjectInspector inputOI,
StructObjectInspector outputOI,
int precedingSpan,
int followingSpan) |
Object |
getAt(int i) |
StructObjectInspector |
getInputOI() |
StructObjectInspector |
getOutputOI() |
SerDe |
getSerDe() |
PTFPartition.PTFPartitionIterator<Object> |
iterator() |
PTFPartition.PTFPartitionIterator<Object> |
range(int start,
int end) |
void |
reset() |
static StructObjectInspector |
setupPartitionOutputOI(SerDe serDe,
StructObjectInspector tblFnOI) |
int |
size() |
protected PTFPartition(org.apache.hadoop.conf.Configuration cfg,
SerDe serDe,
StructObjectInspector inputOI,
StructObjectInspector outputOI)
throws HiveException
HiveExceptionprotected PTFPartition(org.apache.hadoop.conf.Configuration cfg,
SerDe serDe,
StructObjectInspector inputOI,
StructObjectInspector outputOI,
boolean createElemContainer)
throws HiveException
HiveExceptionpublic void reset()
throws HiveException
HiveExceptionpublic SerDe getSerDe()
public StructObjectInspector getInputOI()
public StructObjectInspector getOutputOI()
public Object getAt(int i) throws HiveException
HiveExceptionpublic void append(Object o) throws HiveException
HiveExceptionpublic int size()
public PTFPartition.PTFPartitionIterator<Object> iterator() throws HiveException
HiveExceptionpublic PTFPartition.PTFPartitionIterator<Object> range(int start, int end)
public void close()
public static PTFPartition create(org.apache.hadoop.conf.Configuration cfg, SerDe serDe, StructObjectInspector inputOI, StructObjectInspector outputOI) throws HiveException
HiveExceptionpublic static PTFRollingPartition createRolling(org.apache.hadoop.conf.Configuration cfg, SerDe serDe, StructObjectInspector inputOI, StructObjectInspector outputOI, int precedingSpan, int followingSpan) throws HiveException
HiveExceptionpublic static StructObjectInspector setupPartitionOutputOI(SerDe serDe, StructObjectInspector tblFnOI) throws SerDeException
SerDeExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.