Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
Public Member Functions | |
boolean | isEqRange () |
boolean | isInRange (Analyzer analyzer, Expr valueExpr) throws InternalException |
Static Public Member Functions | |
static ValueRange | createEqRange (Expr valueExpr) |
Package Functions | |
Expr | getLowerBound () |
void | setLowerBound (Expr e) |
boolean | getLowerBoundInclusive () |
void | setLowerBoundInclusive (boolean b) |
Expr | getUpperBound () |
void | setUpperBound (Expr e) |
boolean | getUpperBoundInclusive () |
void | setUpperBoundInclusive (boolean b) |
Private Attributes | |
Expr | lowerBound_ |
boolean | lowerBoundInclusive_ |
Expr | upperBound_ |
boolean | upperBoundInclusive_ |
Static Private Attributes | |
static final Logger | LOG = LoggerFactory.getLogger(ValueRange.class) |
Representation of a two-sided interval of values. Either one of the sides is optional, and can be exclusive or inclusive. For a range representing a single value, both bounds are set.
Definition at line 35 of file ValueRange.java.
|
inlinestatic |
Definition at line 52 of file ValueRange.java.
|
inlinepackage |
Definition at line 43 of file ValueRange.java.
References com.cloudera.impala.planner.ValueRange.lowerBound_.
Referenced by com.cloudera.impala.planner.HBaseScanNode.setStartStopKey().
|
inlinepackage |
Definition at line 45 of file ValueRange.java.
References com.cloudera.impala.planner.ValueRange.lowerBoundInclusive_.
|
inlinepackage |
Definition at line 47 of file ValueRange.java.
References com.cloudera.impala.planner.ValueRange.upperBound_.
Referenced by com.cloudera.impala.planner.HBaseScanNode.setStartStopKey().
|
inlinepackage |
Definition at line 49 of file ValueRange.java.
References com.cloudera.impala.planner.ValueRange.upperBoundInclusive_.
|
inline |
Definition at line 61 of file ValueRange.java.
References com.cloudera.impala.planner.ValueRange.lowerBound_, com.cloudera.impala.planner.ValueRange.lowerBoundInclusive_, com.cloudera.impala.planner.ValueRange.upperBound_, and com.cloudera.impala.planner.ValueRange.upperBoundInclusive_.
Referenced by com.cloudera.impala.planner.HBaseScanNode.computeStats().
|
inline |
Determines whether a given constant expr is within the range. Does this by constructing predicate that represents the range, with the valueExpr inserted appropriately, and then calls the backend for evaluation.
Definition at line 71 of file ValueRange.java.
References com.cloudera.impala.planner.ValueRange.lowerBound_, com.cloudera.impala.planner.ValueRange.lowerBoundInclusive_, com.cloudera.impala.planner.ValueRange.upperBound_, and com.cloudera.impala.planner.ValueRange.upperBoundInclusive_.
|
inlinepackage |
Definition at line 44 of file ValueRange.java.
References com.cloudera.impala.planner.ValueRange.lowerBound_.
|
inlinepackage |
Definition at line 46 of file ValueRange.java.
References com.cloudera.impala.planner.ValueRange.lowerBoundInclusive_.
|
inlinepackage |
Definition at line 48 of file ValueRange.java.
References com.cloudera.impala.planner.ValueRange.upperBound_.
|
inlinepackage |
Definition at line 50 of file ValueRange.java.
References com.cloudera.impala.planner.ValueRange.upperBoundInclusive_.
|
staticprivate |
Definition at line 36 of file ValueRange.java.
|
private |
|
private |
|
private |
|
private |