org.apache.cassandra.cql3.functions
Class AbstractFunction
java.lang.Object
org.apache.cassandra.cql3.functions.AbstractFunction
- All Implemented Interfaces:
- Function
- Direct Known Subclasses:
- TokenFct
public abstract class AbstractFunction
- extends java.lang.Object
- implements Function
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.cassandra.cql3.functions.Function |
execute |
name
public final java.lang.String name
argsType
public final java.util.List<AbstractType<?>> argsType
returnType
public final AbstractType<?> returnType
AbstractFunction
protected AbstractFunction(java.lang.String name,
AbstractType<?> returnType,
AbstractType<?>... argsType)
name
public java.lang.String name()
- Specified by:
name
in interface Function
argsType
public java.util.List<AbstractType<?>> argsType()
- Specified by:
argsType
in interface Function
returnType
public AbstractType<?> returnType()
- Specified by:
returnType
in interface Function
factory
public static Function.Factory factory(Function fun)
- Creates a trivial factory that always return the provided function.
Copyright © 2013 The Apache Software Foundation