|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hive.ql.optimizer.SamplePruner
public class SamplePruner
The transformation step that does sample pruning.
Nested Class Summary | |
---|---|
static class |
SamplePruner.DefaultPPR
DefaultPPR default processor which does nothing. |
static class |
SamplePruner.FilterPPR
FilterPPR filter processor. |
static class |
SamplePruner.SamplePrunerCtx
SamplePrunerCtx. |
Constructor Summary | |
---|---|
SamplePruner()
|
Method Summary | |
---|---|
static NodeProcessor |
getDefaultProc()
|
static NodeProcessor |
getFilterProc()
|
static org.apache.hadoop.fs.Path[] |
prune(Partition part,
FilterDesc.sampleDesc sampleDescr)
Prunes to get all the files in the partition that satisfy the TABLESAMPLE clause. |
ParseContext |
transform(ParseContext pctx)
All transformation steps implement this interface. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SamplePruner()
Method Detail |
---|
public ParseContext transform(ParseContext pctx) throws SemanticException
Transform
transform
in interface Transform
pctx
- input parse context
SemanticException
public static NodeProcessor getFilterProc()
public static NodeProcessor getDefaultProc()
public static org.apache.hadoop.fs.Path[] prune(Partition part, FilterDesc.sampleDesc sampleDescr) throws SemanticException
part
- The partition to prune
SemanticException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |