@Immutable public class FunctionSignature extends Object implements Serializable
It's composed of a name and a list of parameter types. Overloads (such as sum(int)
and
sum(int, int)
are not equal.
Constructor and Description |
---|
FunctionSignature(CqlIdentifier name,
DataType... parameterTypes) |
FunctionSignature(CqlIdentifier name,
Iterable<DataType> parameterTypes) |
FunctionSignature(String name,
DataType... parameterTypes)
Shortcut for
FunctionSignature(CqlIdentifier, DataType...) new
FunctionSignature(CqlIdentifier.fromCql(name), parameterTypes)}. |
FunctionSignature(String name,
Iterable<DataType> parameterTypes)
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
CqlIdentifier |
getName() |
List<DataType> |
getParameterTypes() |
int |
hashCode() |
String |
toString() |
public FunctionSignature(@NonNull CqlIdentifier name, @NonNull Iterable<DataType> parameterTypes)
public FunctionSignature(@NonNull CqlIdentifier name, @NonNull DataType... parameterTypes)
parameterTypes
- neither the individual types, nor the vararg array itself, can be null.public FunctionSignature(@NonNull String name, @NonNull Iterable<DataType> parameterTypes)
public FunctionSignature(@NonNull String name, @NonNull DataType... parameterTypes)
FunctionSignature(CqlIdentifier, DataType...)
new
FunctionSignature(CqlIdentifier.fromCql(name), parameterTypes)}.parameterTypes
- neither the individual types, nor the vararg array itself, can be null.@NonNull public CqlIdentifier getName()
Copyright © 2017–2024. All rights reserved.