Class AggregateFcts.CountRowsFunction

All Implemented Interfaces:
AssignmentTestable, AggregateFunction, Function
Enclosing class:
AggregateFcts

public static class AggregateFcts.CountRowsFunction extends NativeAggregateFunction
  • Method Details

    • newAggregate

      public AggregateFunction.Aggregate newAggregate()
      Description copied from interface: AggregateFunction
      Creates a new Aggregate instance.
      Returns:
      a new Aggregate instance.
    • columnName

      public String columnName(List<String> columnNames)
      Description copied from interface: Function
      Returns the name of the function to use within a ResultSet.
      Specified by:
      columnName in interface Function
      Overrides:
      columnName in class AbstractFunction
      Parameters:
      columnNames - the names of the columns used to call the function
      Returns:
      the name of the function to use within a ResultSet
    • withLegacyName

      public NativeFunction withLegacyName()
      Description copied from class: NativeFunction
      Returns a copy of this function using its old pre-5.0 name before the adoption of snake-cased function names. Those naming conventions were adopted in 5.0, but we still need to support the old names for compatibility. See CASSANDRA-18037 for further details.
      Overrides:
      withLegacyName in class NativeFunction
      Returns:
      a copy of this function using its old pre-5.0 deprecated name, or null if the pre-5.0 function name already satisfied the naming conventions.