Uses of Class
dev.frostlake.types.NumericType
Packages that use NumericType
-
Uses of NumericType in dev.frostlake.executor.expressions
Fields in dev.frostlake.executor.expressions declared as NumericTypeModifier and TypeFieldDescriptionstatic final NumericTypeImpliedTextNumber.COLUMN_READINGThe number a text column reads as in exact arithmetic.Methods in dev.frostlake.executor.expressions that return NumericTypeModifier and TypeMethodDescriptionstatic NumericTypeImpliedTextNumber.literalOwnWidth(String text) The number a text literal reads as under the remainder operator and MOD: its own digits, as a numeric literal of the same spelling would —'5'NUMBER(1,0),'12345'NUMBER(5,0),'2.5'NUMBER(2,1) — or null when the text spells no number.static NumericTypeImpliedTextNumber.literalReading(String text) The number a text LITERAL reads as: eighteen digits at the literal's own scale, or null when the text spells no number (the row-time refusal is then the operation's own). -
Uses of NumericType in dev.frostlake.types
Fields in dev.frostlake.types declared as NumericTypeModifier and TypeFieldDescriptionstatic NumericTypeNumericType.BIGINTstatic final NumericTypeIntegerResultWidths.COUNTERA length, a count, a row number — the widest of the ordinary counters.static final NumericTypeIntegerResultWidths.DATE_PART_SMALLA date part that cannot exceed two digits: a month, a day, an hour, a week, a quarter.static NumericTypeNumericType.DECIMALstatic NumericTypeNumericType.DOUBLEstatic final NumericTypeIntegerResultWidths.FACTORIALA factorial, which stops one digit short of the widest NUMBER.static NumericTypeNumericType.FLOATstatic NumericTypeNumericType.INTEGERstatic NumericTypeNumericType.NUMBERstatic final NumericTypeIntegerResultWidths.POSITIONA position within a string or array, and the difference between two temporals.static NumericTypeNumericType.SMALLINTstatic NumericTypeNumericType.TINYINTstatic final NumericTypeIntegerResultWidths.WIDE_COUNTERA bit length or a hash, which need the extra digit a signed 64-bit value can reach.static final NumericTypeIntegerResultWidths.WIDESTThe widest NUMBER, which a difference counted in fractions of a second needs.static final NumericTypeIntegerResultWidths.YEAR_PARTA year, a day of the year, a year-of-week.Methods in dev.frostlake.types that return NumericTypeModifier and TypeMethodDescriptionstatic NumericTypeNumericLiteralTypes.forDecimal(BigDecimal value) The NUMBER type of an exact decimal value.static NumericTypeDeclaredTypeFold.numericSupertype(NumericType left, NumericType right) Snowflake's numeric supertype: the widest INTEGER PART meets the widest SCALE.static NumericTypeThe NUMBER type of a numeric literal value, or null when it is not one we can measure.Methods in dev.frostlake.types with parameters of type NumericTypeModifier and TypeMethodDescriptionstatic NumericTypeDeclaredTypeFold.numericSupertype(NumericType left, NumericType right) Snowflake's numeric supertype: the widest INTEGER PART meets the widest SCALE. -
Uses of NumericType in dev.frostlake.values
Methods in dev.frostlake.values with parameters of type NumericTypeModifier and TypeMethodDescriptionstatic booleanExactValues.isCarrier(Object value, NumericType type) Whether a cell already is the carrier its column holds — the check every write makes before touching a row.static ObjectExactValues.written(Object value, NumericType type) The value as its column stores it.