public class PTFPartition extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
PTFPartition.PTFPartitionIterator<T> |
| Modifier and Type | Field and Description |
|---|---|
protected BoundaryCache |
boundaryCache |
protected static org.slf4j.Logger |
LOG |
protected PTFValueCache |
valueCache |
| Modifier | Constructor and Description |
|---|---|
protected |
PTFPartition() |
protected |
PTFPartition(org.apache.hadoop.conf.Configuration cfg,
AbstractSerDe serDe,
StructObjectInspector inputOI,
StructObjectInspector outputOI) |
protected |
PTFPartition(org.apache.hadoop.conf.Configuration cfg,
AbstractSerDe serDe,
StructObjectInspector inputOI,
StructObjectInspector outputOI,
boolean createElemContainer) |
protected static org.slf4j.Logger LOG
protected BoundaryCache boundaryCache
protected PTFValueCache valueCache
protected PTFPartition()
protected PTFPartition(org.apache.hadoop.conf.Configuration cfg,
AbstractSerDe serDe,
StructObjectInspector inputOI,
StructObjectInspector outputOI)
throws HiveException
HiveExceptionprotected PTFPartition(org.apache.hadoop.conf.Configuration cfg,
AbstractSerDe serDe,
StructObjectInspector inputOI,
StructObjectInspector outputOI,
boolean createElemContainer)
throws HiveException
HiveExceptionprotected void initBoundaryCache(org.apache.hadoop.conf.Configuration cfg)
protected void initValueCache(org.apache.hadoop.conf.Configuration cfg)
public void reset()
throws HiveException
HiveExceptionpublic AbstractSerDe 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 PTFPartition.PTFPartitionIterator<Object> range(int start, int end, boolean optimisedIteration)
public void close()
public static PTFPartition create(org.apache.hadoop.conf.Configuration cfg, AbstractSerDe serDe, StructObjectInspector inputOI, StructObjectInspector outputOI) throws HiveException
HiveExceptionpublic static PTFRollingPartition createRolling(org.apache.hadoop.conf.Configuration cfg, AbstractSerDe serDe, StructObjectInspector inputOI, StructObjectInspector outputOI, int precedingSpan, int followingSpan) throws HiveException
HiveExceptionpublic static StructObjectInspector setupPartitionOutputOI(AbstractSerDe serDe, StructObjectInspector tblFnOI) throws SerDeException
SerDeExceptionpublic BoundaryCache getBoundaryCache()
Copyright © 2022 The Apache Software Foundation. All rights reserved.