public abstract class AbstractFunction extends java.lang.Object implements Function
AssignmentTestable.TestResult| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<AbstractType<?>> |
argTypes |
protected FunctionName |
name |
protected AbstractType<?> |
returnType |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractFunction(FunctionName name,
java.util.List<AbstractType<?>> argTypes,
AbstractType<?> returnType) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFunctionsTo(java.util.List<Function> functions) |
java.util.List<AbstractType<?>> |
argTypes() |
java.lang.String |
columnName(java.util.List<java.lang.String> columnNames)
Returns the name of the function to use within a ResultSet.
|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
boolean |
hasReferenceTo(Function function) |
FunctionName |
name() |
AbstractType<?> |
returnType() |
AssignmentTestable.TestResult |
testAssignment(java.lang.String keyspace,
ColumnSpecification receiver) |
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitisAggregate, isNativeprotected final FunctionName name
protected final java.util.List<AbstractType<?>> argTypes
protected final AbstractType<?> returnType
protected AbstractFunction(FunctionName name, java.util.List<AbstractType<?>> argTypes, AbstractType<?> returnType)
public FunctionName name()
public java.util.List<AbstractType<?>> argTypes()
public AbstractType<?> returnType()
returnType in interface Functionpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic void addFunctionsTo(java.util.List<Function> functions)
addFunctionsTo in interface Functionpublic boolean hasReferenceTo(Function function)
hasReferenceTo in interface Functionpublic int hashCode()
hashCode in class java.lang.Objectpublic final AssignmentTestable.TestResult testAssignment(java.lang.String keyspace, ColumnSpecification receiver)
testAssignment in interface AssignmentTestablepublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String columnName(java.util.List<java.lang.String> columnNames)
FunctioncolumnName in interface FunctioncolumnNames - the names of the columns used to call the functionCopyright © 2018 The Apache Software Foundation