Uses of Class
dev.frostlake.values.VectorValue
Packages that use VectorValue
-
Uses of VectorValue in dev.frostlake.functions.scalar.vector
Methods in dev.frostlake.functions.scalar.vector that return VectorValueModifier and TypeMethodDescriptionstatic VectorValueVectorFunctionHelper.vectorArgument(String funcName, List<Object> args, int index) The argument as a vector, or null when the value is SQL NULL (every one of these functions is NULL-in / NULL-out: live,VECTOR_NORMALIZE(NULL::VECTOR(FLOAT,3))andVECTOR_L2_DISTANCE(NULL::VECTOR(FLOAT,3), v)are both NULL).Methods in dev.frostlake.functions.scalar.vector with parameters of type VectorValueModifier and TypeMethodDescriptionstatic voidVectorFunctionHelper.requireSameType(String funcName, List<Object> args, VectorValue left, VectorValue right) Both operands of a two-vector function must have the SAME element type and dimension — live,VECTOR_L2_DISTANCE(<VECTOR(FLOAT,3)>, <VECTOR(INT,3)>)and a 2-vs-3 dimension pair are both "Invalid argument types for function 'VECTOR_L2_DISTANCE': (…)". -
Uses of VectorValue in dev.frostlake.values
Methods in dev.frostlake.values that return VectorValueModifier and TypeMethodDescriptionstatic VectorValueVectorValue.cast(Object value, VectorType target) expr::VECTOR(t, n)— the value converted to the declared vector type, with Snowflake's live conversion errors.static VectorValueVectorValue.of(VectorElementType elementType, double[] computed) A vector ofcomputedfloat64 values NARROWED toelementType— the one way a function builds a vector result, so the 32-bit element rule is applied in a single place.static VectorValueTypedVectorNode.vectorValueOf(tools.jackson.databind.JsonNode node) The vector this member was built from, or null when the node is not one.Methods in dev.frostlake.values with parameters of type VectorValueModifier and TypeMethodDescriptionintVectorValue.compareTo(VectorValue other) Element-wise ordering, shorter-first on a common prefix — the ordering the display text implies.Constructors in dev.frostlake.values with parameters of type VectorValue