Class NativeAggregateFunction
- java.lang.Object
-
- org.apache.cassandra.cql3.functions.AbstractFunction
-
- org.apache.cassandra.cql3.functions.NativeFunction
-
- org.apache.cassandra.cql3.functions.NativeAggregateFunction
-
- All Implemented Interfaces:
AssignmentTestable
,AggregateFunction
,Function
- Direct Known Subclasses:
AggregateFcts.CountRowsFunction
public abstract class NativeAggregateFunction extends NativeFunction implements AggregateFunction
Base class for theAggregateFunction
native classes.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.cassandra.cql3.functions.AggregateFunction
AggregateFunction.Aggregate
-
Nested 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, returnType
-
Fields inherited from interface org.apache.cassandra.cql3.functions.Function
UNRESOLVED
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
NativeAggregateFunction(java.lang.String name, AbstractType<?> returnType, AbstractType<?>... argTypes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isAggregate()
Checks whether the function is an aggregate function or not.-
Methods inherited from class org.apache.cassandra.cql3.functions.NativeFunction
isNative, isPure, newArguments, withLegacyName
-
Methods inherited from class org.apache.cassandra.cql3.functions.AbstractFunction
addFunctionsTo, argTypes, argumentsList, columnName, elementKeyspace, elementName, equals, getCompatibleTypeIfKnown, hashCode, name, referencesUserType, returnType, testAssignment, toCqlString, toString, typesMatch
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.cassandra.cql3.functions.AggregateFunction
newAggregate
-
Methods inherited from interface org.apache.cassandra.cql3.AssignmentTestable
getCompatibleTypeIfKnown, testAssignment
-
Methods inherited from interface org.apache.cassandra.cql3.functions.Function
addFunctionsTo, argTypes, columnName, compare, isNative, isPure, name, newArguments, referencesUserType, returnType
-
-
-
-
Constructor Detail
-
NativeAggregateFunction
protected NativeAggregateFunction(java.lang.String name, AbstractType<?> returnType, AbstractType<?>... argTypes)
-
-
Method Detail
-
isAggregate
public final boolean isAggregate()
Description copied from interface:Function
Checks whether the function is an aggregate function or not.- Specified by:
isAggregate
in interfaceFunction
- Returns:
true
if the function is an aggregate function,false
otherwise.
-
-