public class TableSample extends Object
Constructor and Description |
---|
TableSample(int num,
int den) |
TableSample(String num,
String den,
ArrayList<ASTNode> exprs)
Constructs the TableSample given the numerator, denominator and the list of
ON clause expressions.
|
Modifier and Type | Method and Description |
---|---|
int |
getDenominator()
Gets the denominator.
|
ArrayList<ASTNode> |
getExprs()
Gets the ON part's expression list.
|
boolean |
getInputPruning()
Gets the flag that indicates whether input pruning is possible.
|
int |
getNumerator()
Gets the numerator.
|
void |
setDenominator(int den)
Sets the denominator.
|
void |
setExprs(ArrayList<ASTNode> exprs)
Sets the expression list.
|
void |
setInputPruning(boolean inputPruning)
Sets the flag that indicates whether input pruning is possible or not.
|
void |
setNumerator(int num)
Sets the numerator.
|
public TableSample(String num, String den, ArrayList<ASTNode> exprs)
num
- The numeratorden
- The denominatorexprs
- The list of expressions in the ON part of the TABLESAMPLE clausepublic TableSample(int num, int den)
public int getNumerator()
public void setNumerator(int num)
num
- The numeratorpublic int getDenominator()
public void setDenominator(int den)
den
- The denominatorpublic void setExprs(ArrayList<ASTNode> exprs)
exprs
- The expression listpublic boolean getInputPruning()
public void setInputPruning(boolean inputPruning)
inputPruning
- true if input pruning is possibleCopyright © 2017 The Apache Software Foundation. All rights reserved.