Uses of Class
dev.frostlake.values.VariantValue
Packages that use VariantValue
Package
Description
-
Uses of VariantValue in dev.frostlake.executor.expressions
Methods in dev.frostlake.executor.expressions with parameters of type VariantValueModifier and TypeMethodDescriptionstatic NumberVariantNumbers.numberOf(VariantValue variant, String target) The number a VARIANT member converts to, or null for a JSON null. -
Uses of VariantValue in dev.frostlake.functions.aggregate
Methods in dev.frostlake.functions.aggregate that return VariantValueModifier and TypeMethodDescriptionstatic VariantValueTopKSummary.pairsOf(List<TopKCounter> ranked) The [value, count] pairs of some counters as an ARRAY value.static VariantValueTopKSummary.stateOf(int counters, String datatype, int precision, int scale, List<TopKCounter> ranked) The serialised state of a summary.PercentileDigest.toState()The state as an OBJECT value, centroids sorted by mean. -
Uses of VariantValue in dev.frostlake.functions.scalar
Methods in dev.frostlake.functions.scalar that return VariantValueModifier and TypeMethodDescriptionstatic VariantValueArrayFunctionHelper.toCanonicalVariant(tools.jackson.databind.JsonNode node) Canonical semi-structured runtime value for a node — the typed counterpart ofArrayFunctionHelper.toCanonicalJson(JsonNode), carrying exactly that canonical text. -
Uses of VariantValue in dev.frostlake.functions.scalar.conversion
Methods in dev.frostlake.functions.scalar.conversion with parameters of type VariantValueModifier and TypeMethodDescriptionstatic ObjectTimestampFlavourConversion.castVariant(String flavour, VariantValue variant) A VARIANT cast to a timestamp flavour, which reads it exactly as the flavour's conversion function does: a number is an epoch in seconds, the instant in the session's zone, and a boolean or a container fails the cast (live-verified). -
Uses of VariantValue in dev.frostlake.functions.scalar.file
Methods in dev.frostlake.functions.scalar.file that return VariantValueModifier and TypeMethodDescriptionstatic VariantValueToFile.convert(List<Object> args, StageFileLocator locator, boolean tryMode) The shared body ofTO_FILEandTRY_TO_FILE.static VariantValueFileDescriptor.fromLocation(String location, StageFileLocator locator) Resolve a stage reference and read the real file's metadata.static VariantValueFileDescriptor.fromMetadataObject(Object value, boolean tryMode) Validate a caller-supplied metadata object, asTO_FILE(OBJECT)does. -
Uses of VariantValue in dev.frostlake.values
Methods in dev.frostlake.values that return VariantValueModifier and TypeMethodDescriptionstatic VariantValueWraps canonical JSON text; the caller guarantees it is valid, canonical JSON.static VariantValueVariantValue.ofNode(tools.jackson.databind.JsonNode node) Wraps a parsed tree, rendering its (compact) JSON text once.Methods in dev.frostlake.values with parameters of type VariantValueModifier and TypeMethodDescriptionstatic StringVariantJsonText.clientTextOf(VariantValue value) The JSON text a client reads for a semi-structured value:VariantJsonText.displayTextOf(dev.frostlake.values.VariantValue), or the canonical text when there is no DOUBLE in it.intVariantValue.compareTo(VariantValue other) The account's VARIANT order — by kind, then within the kind; seeVariantOrder.static BooleanVariantBooleans.convert(VariantValue value) static StringVariantJsonText.displayTextOf(VariantValue value) The JSON text a client reads for a semi-structured value, or null when it holds no DOUBLE and the canonical text already is that text.