Uses of Class
dev.frostlake.executor.expressions.CollationSpec
Packages that use CollationSpec
Package
Description
-
Uses of CollationSpec in dev.frostlake.executor
Methods in dev.frostlake.executor that return CollationSpecModifier and TypeMethodDescriptionExpressionEvaluator.keyCollation(Expression expression) The collation an ORDER BY, GROUP BY, DISTINCT, PARTITION BY or set-operation key compares under.static CollationSpec[]KeyCollations.resolve(List<String> keys, ExpressionEvaluator evaluator) The collation each key compares under.Methods in dev.frostlake.executor with parameters of type CollationSpecModifier and TypeMethodDescriptionSetOperations.applyDistinct(List<Row> rows, CollationSpec[] collations) Apply DISTINCT where some columns compare under a collation: values that differ only below the collation's strength are ONE row, and the row reports the smallest of them by raw text. -
Uses of CollationSpec in dev.frostlake.executor.expressions
Methods in dev.frostlake.executor.expressions that return CollationSpecModifier and TypeMethodDescriptionstatic CollationSpecThe rulesspecnames, refusing a specification live refuses.CollatedKey.rulesOf()The collation this key compares under.ExpressionCollation.toRules()The rules a comparison under this collation runs by, or null for a binary comparison.Methods in dev.frostlake.executor.expressions with parameters of type CollationSpecModifier and TypeMethodDescriptionstatic ObjectCollatedKey.of(Object value, CollationSpec rules) The key for a value under a collation: the value itself when there is no collation, or when it is not text (a collation orders strings; everything else keeps its own order). -
Uses of CollationSpec in dev.frostlake.executor.operators
Method parameters in dev.frostlake.executor.operators with type arguments of type CollationSpecModifier and TypeMethodDescriptionvoidGroupByOperator.collateKeys(List<CollationSpec> collations) The collation each group key compares under. -
Uses of CollationSpec in dev.frostlake.functions
Methods in dev.frostlake.functions with parameters of type CollationSpecModifier and TypeMethodDescriptionstatic booleanCollationMatching.containsUnder(CollationSpec rules, String haystack, String needle) Whetherhaystackholds a substring the collation calls equal toneedle.static booleanCollationMatching.endsWithUnder(CollationSpec rules, String haystack, String suffix) Whether some suffix ofhaystackis equal tosuffixunder the collation.static booleanCollationMatching.equalUnder(CollationSpec rules, Object left, Object right) Whether two values are equal under a collation, or by ordinary equality when there is none or either side is not text.BuiltInFunction.evaluate(List<Object> args, CollationSpec collation) The same, for a call whose arguments settled on a collation.static int[]CollationMatching.findUnder(CollationSpec rules, String haystack, String needle, int from) The first substring ofhaystackat or afterfromthat the collation calls equal toneedle.static StringCollationMatching.replaceUnder(CollationSpec rules, String haystack, String needle, String replacement) Every occurrence ofneedleinhaystackreplaced, matching under the collation.CollationMatching.splitUnder(CollationSpec rules, String haystack, String separator) haystacksplit on every occurrence ofseparator, matching under the collation.static booleanCollationMatching.startsWithUnder(CollationSpec rules, String haystack, String prefix) Whether some prefix ofhaystackis equal toprefixunder the collation. -
Uses of CollationSpec in dev.frostlake.functions.scalar.conditional
Methods in dev.frostlake.functions.scalar.conditional with parameters of type CollationSpecModifier and TypeMethodDescriptionDecode.evaluate(List<Object> args, CollationSpec collation) Under a collation a search value matches what the collation calls equal to the subject.Greatest.evaluate(List<Object> args, CollationSpec collation) Under a collation the arguments are ordered by its rules, so 'a' outranks 'B' where it should.GreatestIgnoreNulls.evaluate(List<Object> args, CollationSpec collation) Under a collation the arguments are ordered by its rules, so 'a' outranks 'B' where it should.Least.evaluate(List<Object> args, CollationSpec collation) Under a collation the arguments are ordered by its rules, so 'a' outranks 'B' where it should.LeastIgnoreNulls.evaluate(List<Object> args, CollationSpec collation) Under a collation the arguments are ordered by its rules, so 'a' outranks 'B' where it should.NullIf.evaluate(List<Object> args, CollationSpec collation) Under a collation the two are compared by its rules, so a case-blind pair answers NULL. -
Uses of CollationSpec in dev.frostlake.functions.scalar.string
Methods in dev.frostlake.functions.scalar.string with parameters of type CollationSpecModifier and TypeMethodDescriptionCharIndex.evaluate(List<Object> args, CollationSpec collation) Under a collation the needle is found where the collation matches it, not byte for byte.Contains.evaluate(List<Object> args, CollationSpec collation) Under a collation the needle is looked for as the collation matches it, not byte for byte.EndsWith.evaluate(List<Object> args, CollationSpec collation) Under a collation the suffix is the one the collation matches, not the byte-for-byte one.Position.evaluate(List<Object> args, CollationSpec collation) Under a collation the needle is found where the collation matches it, not byte for byte.Replace.evaluate(List<Object> args, CollationSpec collation) Under a collation every substring the collation calls equal to the search text is replaced.Split.evaluate(List<Object> args, CollationSpec collation) Under a collation the text splits on every separator the collation matches.SplitPart.evaluate(List<Object> args, CollationSpec collation) Under a collation the text splits on every separator the collation matches.StartsWith.evaluate(List<Object> args, CollationSpec collation) Under a collation the prefix is the one the collation matches, not the byte-for-byte one.