Modifier and Type | Method and Description |
---|---|
static Bucket |
SelectPlan.constantRangeBucket(Bucket bkt,
ConstantRange cRange)
Creates a new bucket by keeping the statistics of records and values in
the specified bucket falling within the specified search range.
|
Modifier and Type | Method and Description |
---|---|
static Histogram |
SelectPlan.constantRangeHistogram(Histogram hist,
Map<String,ConstantRange> cRanges)
Returns a histogram that, for each field, approximates the distribution
of values from the specified histogram falling within the specified
search range.
|
Constructor and Description |
---|
IndexSelectPlan(TablePlan tp,
IndexInfo ii,
Map<String,ConstantRange> searchRanges,
Transaction tx)
Creates a new index-select node in the query tree for the specified index
and search range.
|
Modifier and Type | Class and Description |
---|---|
class |
DoubleConstantRange |
class |
VarcharConstantRange |
Modifier and Type | Method and Description |
---|---|
abstract ConstantRange |
ConstantRange.applyConstant(Constant c) |
ConstantRange |
DoubleConstantRange.applyConstant(Constant c) |
ConstantRange |
VarcharConstantRange.applyConstant(Constant c) |
abstract ConstantRange |
ConstantRange.applyHigh(Constant c,
boolean incl)
Returns a new range with high set to the specified constant if doing so
makes the upper bound more strict.
|
ConstantRange |
DoubleConstantRange.applyHigh(Constant c,
boolean incl) |
ConstantRange |
VarcharConstantRange.applyHigh(Constant c,
boolean incl) |
abstract ConstantRange |
ConstantRange.applyLow(Constant c,
boolean inclusive)
Returns a new range with low set to the specified constant if doing so
makes the lower bound more strict.
|
ConstantRange |
DoubleConstantRange.applyLow(Constant c,
boolean incl) |
ConstantRange |
VarcharConstantRange.applyLow(Constant c,
boolean incl) |
ConstantRange |
RangeRecord.getVal(String fldName)
Returns the
value range of the specified field. |
abstract ConstantRange |
ConstantRange.intersect(ConstantRange r) |
ConstantRange |
DoubleConstantRange.intersect(ConstantRange r) |
ConstantRange |
VarcharConstantRange.intersect(ConstantRange r) |
static ConstantRange |
ConstantRange.newInstance(Constant c) |
static ConstantRange |
ConstantRange.newInstance(Constant low,
boolean lowIncl,
Constant high,
boolean highIncl)
Constructs a new instance.
|
abstract ConstantRange |
ConstantRange.union(ConstantRange r) |
ConstantRange |
DoubleConstantRange.union(ConstantRange r) |
ConstantRange |
VarcharConstantRange.union(ConstantRange r) |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
ConstantRange.contains(ConstantRange r) |
boolean |
DoubleConstantRange.contains(ConstantRange r) |
boolean |
VarcharConstantRange.contains(ConstantRange r) |
abstract ConstantRange |
ConstantRange.intersect(ConstantRange r) |
ConstantRange |
DoubleConstantRange.intersect(ConstantRange r) |
ConstantRange |
VarcharConstantRange.intersect(ConstantRange r) |
abstract boolean |
ConstantRange.isOverlapping(ConstantRange r) |
boolean |
DoubleConstantRange.isOverlapping(ConstantRange r) |
boolean |
VarcharConstantRange.isOverlapping(ConstantRange r) |
abstract ConstantRange |
ConstantRange.union(ConstantRange r) |
ConstantRange |
DoubleConstantRange.union(ConstantRange r) |
ConstantRange |
VarcharConstantRange.union(ConstantRange r) |
Modifier and Type | Method and Description |
---|---|
ConstantRange |
Predicate.constantRange(String fldName)
Determines if the specified field is constrained by a constant range in
this predicate.
|
Modifier and Type | Method and Description |
---|---|
ConstantRange |
SearchRange.get(int index) |
Constructor and Description |
---|
SearchRange(ConstantRange... constantRanges) |
Constructor and Description |
---|
SearchRange(List<String> indexedFields,
Schema tblSch,
Map<String,ConstantRange> specifiedRanges) |
SearchRange(List<String> indexedFields,
SearchKeyType keyType,
Map<String,ConstantRange> specifiedRanges) |
Modifier and Type | Method and Description |
---|---|
ConstantRange |
Bucket.valueRange() |
Modifier and Type | Method and Description |
---|---|
double |
Bucket.distinctValues(ConstantRange range)
Returns the estimated number of distinct values within the overlap of
this instance's range and the specified range.
|
double |
Percentiles.percentage(ConstantRange range)
Gets the percent of values within the specified value range.
|
Percentiles |
Percentiles.percentiles(ConstantRange range)
Returns a new instance that keeps only the percentiles with values
falling within the specified range.
|
Constructor and Description |
---|
Bucket(ConstantRange valRange,
double freq,
double distVals) |
Bucket(ConstantRange valRange,
double freq,
double distVals,
Percentiles pcts) |
Copyright © 2022 VanillaDB Organization. All rights reserved.