Class CollectionFcts

java.lang.Object
org.apache.cassandra.cql3.functions.CollectionFcts

public class CollectionFcts extends Object
Native CQL functions for collections (sets, list and maps).

All the functions provided here are NativeScalarFunction, and they are meant to be applied to single collection values to perform some kind of aggregation with the elements of the collection argument. When possible, the implementation of these aggregation functions is based on the accross-rows aggregation functions available on AggregateFcts, so both across-rows and within-collection aggregations have the same behaviour.

  • Constructor Details

    • CollectionFcts

      public CollectionFcts()
  • Method Details

    • addFunctionsTo

      public static void addFunctionsTo(NativeFunctions functions)