Class AggregateFcts.CountRowsFunction
java.lang.Object
org.apache.cassandra.cql3.functions.AbstractFunction
org.apache.cassandra.cql3.functions.NativeFunction
org.apache.cassandra.cql3.functions.NativeAggregateFunction
org.apache.cassandra.cql3.functions.AggregateFcts.CountRowsFunction
- All Implemented Interfaces:
AssignmentTestable,AggregateFunction,Function
- Enclosing class:
- AggregateFcts
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.cassandra.cql3.functions.AggregateFunction
AggregateFunction.AggregateNested classes/interfaces inherited from interface org.apache.cassandra.cql3.AssignmentTestable
AssignmentTestable.TestResult -
Field Summary
Fields inherited from class org.apache.cassandra.cql3.functions.AbstractFunction
argTypes, name, returnTypeFields inherited from interface org.apache.cassandra.cql3.functions.Function
UNRESOLVED -
Method Summary
Modifier and TypeMethodDescriptioncolumnName(List<String> columnNames) Returns the name of the function to use within a ResultSet.Creates a newAggregateinstance.Returns a copy of this function using its old pre-5.0 name before the adoption of snake-cased function names.Methods inherited from class org.apache.cassandra.cql3.functions.NativeAggregateFunction
isAggregateMethods inherited from class org.apache.cassandra.cql3.functions.NativeFunction
isNative, isPure, newArgumentsMethods inherited from class org.apache.cassandra.cql3.functions.AbstractFunction
addFunctionsTo, argTypes, argumentsList, elementKeyspace, elementName, equals, getCompatibleTypeIfKnown, hashCode, name, referencesUserType, returnType, testAssignment, toCqlString, toString, typesMatchMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.cassandra.cql3.AssignmentTestable
getCompatibleTypeIfKnown, testAssignmentMethods inherited from interface org.apache.cassandra.cql3.functions.Function
addFunctionsTo, argTypes, compare, isNative, isPure, name, newArguments, referencesUserType, returnType
-
Method Details
-
newAggregate
Description copied from interface:AggregateFunctionCreates a newAggregateinstance.- Returns:
- a new
Aggregateinstance.
-
columnName
Description copied from interface:FunctionReturns the name of the function to use within a ResultSet.- Specified by:
columnNamein interfaceFunction- Overrides:
columnNamein classAbstractFunction- Parameters:
columnNames- the names of the columns used to call the function- Returns:
- the name of the function to use within a ResultSet
-
withLegacyName
Description copied from class:NativeFunctionReturns 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:
withLegacyNamein classNativeFunction- Returns:
- a copy of this function using its old pre-5.0 deprecated name, or
nullif the pre-5.0 function name already satisfied the naming conventions.
-