Uses of Class
dev.frostlake.values.ValueRange
Packages that use ValueRange
Package
Description
-
Uses of ValueRange in dev.frostlake.executor
Methods in dev.frostlake.executor that return ValueRangeModifier and TypeMethodDescriptionQueryExecutor.columnValueRange(Table owner, String columnName) A catalog column's statistics: the interval between the least and the greatest value in the WHOLE table — every row, whatever the query's WHERE keeps — which is what the account tags the column by, and whether any row holds a NULL, which decides whether the column may answer one.ExpressionEvaluator.inferStaticRange(Expression expression) The intervalexpression's values lie in, as the account's statistics would bound it, or null when none can be known.Methods in dev.frostlake.executor with parameters of type ValueRangeModifier and TypeMethodDescriptionstatic StringSystemTypeOfDescription.of(DataType declared, String typeText, ValueRange range, boolean predicate) The description for an argument ofdeclaredtype whose values lie inrange.static StringSignedStorageWidth.tagOfRange(ValueRange range, int scale) The tag for every value of an interval once shifted toscale: the wider of its two ends, which is how the account tags a column — by its statistics, never by the row in hand. -
Uses of ValueRange in dev.frostlake.executor.expressions
Methods in dev.frostlake.executor.expressions that return ValueRangeModifier and TypeMethodDescriptionExpressionEvaluatorVisitor.inferStaticRange(Expression expr) The intervalexpr's values lie in, or null when none can be known. -
Uses of ValueRange in dev.frostlake.metastore.model
Methods in dev.frostlake.metastore.model that return ValueRangeMethods in dev.frostlake.metastore.model with parameters of type ValueRange -
Uses of ValueRange in dev.frostlake.storage
Methods in dev.frostlake.storage that return ValueRangeModifier and TypeMethodDescriptionResultSetColumn.getValueRange()The interval this column's values lie in, or null when none is known.Constructors in dev.frostlake.storage with parameters of type ValueRangeModifierConstructorDescriptionResultSetColumn(String name, DataType dataType, String tableName, DataType staticType, boolean nullable, boolean nullabilityKnown, ValueRange valueRange) ResultSetColumn(String name, DataType dataType, String tableName, DataType staticType, boolean nullable, boolean nullabilityKnown, ValueRange valueRange, DataType spelledNumber) -
Uses of ValueRange in dev.frostlake.values
Fields in dev.frostlake.values declared as ValueRangeModifier and TypeFieldDescriptionstatic final ValueRangeValueRange.EMPTYNo value at all: a NULL, or a column that holds nothing.static final ValueRangeValueRange.WIDESTWider than any tag tells apart, for a plan that always accumulates in sixteen bytes.Methods in dev.frostlake.values that return ValueRangeModifier and TypeMethodDescriptionValueRange.abs()ValueRange.add(ValueRange other) static ValueRangeValueRange.between(BigDecimal a, BigDecimal b) The interval between two bounds, in either order, holding no NULL.ValueRange.including(BigDecimal value) This interval widened to holdvalue; a null value widens nothing.ValueRange.multiply(ValueRange other) The interval of every product of one value from each side: the four corners bound it.ValueRange.negate()static ValueRangeValueRange.of(BigDecimal value) The interval of one known value, which is never NULL, orEMPTYfor null.ValueRange.opaqueToConditions()This interval, as one no condition is settled by;EMPTYstays itself.ValueRange.scaledBy(BigDecimal factor) Both bounds multiplied by a non-negative factor.ValueRange.subtract(ValueRange other) ValueRange.symmetric()The interval mirrored about zero, so it holds every value of either sign this one can reach.ValueRange.union(ValueRange other) The smallest interval holding both, NULL-able where either side is and opaque to conditions where either side is.ValueRange.withConditionOpacityOf(ValueRange source) This interval, opaque to conditions wheresourceis: for a value derived from it.ValueRange.withNullable(boolean mayBeNull) This interval, saying whether the expression may also answer NULL;EMPTYstays itself.Methods in dev.frostlake.values with parameters of type ValueRangeModifier and TypeMethodDescriptionValueRange.add(ValueRange other) ValueRange.below(ValueRange other, boolean orEqual) Whether every value of this interval lies below every value ofother— or at most, withorEqual: TRUE when every pair does, FALSE when none does, null when the intervals leave it open or either is empty.ValueRange.equalTo(ValueRange other) Whether this interval's values equalother's: TRUE for one shared point, FALSE when the two are disjoint, null when they leave it open or either is empty.ValueRange.multiply(ValueRange other) The interval of every product of one value from each side: the four corners bound it.ValueRange.subtract(ValueRange other) ValueRange.union(ValueRange other) The smallest interval holding both, NULL-able where either side is and opaque to conditions where either side is.ValueRange.withConditionOpacityOf(ValueRange source) This interval, opaque to conditions wheresourceis: for a value derived from it.