Modifier and Type | Method and Description |
---|---|
java.util.Optional<Function> |
Schema.findFunction(FunctionName name,
java.util.List<AbstractType<?>> argTypes)
Find the function with the specified name
|
java.util.Collection<Function> |
Schema.getFunctions(FunctionName name)
Get all function overloads with the specified name
|
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<Function> |
AbstractMarker.getFunctions() |
java.lang.Iterable<Function> |
Attributes.getFunctions() |
java.lang.Iterable<Function> |
CQLStatement.getFunctions()
Return an Iterable over all of the functions (both native and user-defined) used by any component
of the statement
|
java.lang.Iterable<Function> |
ColumnCondition.getFunctions() |
java.lang.Iterable<Function> |
ColumnConditions.getFunctions() |
java.lang.Iterable<Function> |
Conditions.getFunctions()
Returns the functions used by the conditions.
|
java.lang.Iterable<Function> |
Lists.DelayedValue.getFunctions() |
java.lang.Iterable<Function> |
Maps.DelayedValue.getFunctions() |
java.lang.Iterable<Function> |
Operation.getFunctions() |
java.lang.Iterable<? extends Function> |
Operations.getFunctions() |
java.lang.Iterable<Function> |
Sets.DelayedValue.getFunctions() |
java.lang.Iterable<Function> |
Term.getFunctions() |
java.util.Set<Function> |
Term.Terminal.getFunctions() |
java.lang.Iterable<Function> |
Tuples.DelayedValue.getFunctions() |
java.lang.Iterable<Function> |
UserTypes.DelayedValue.getFunctions() |
static java.lang.Iterable<Function> |
Terms.getFunctions(java.lang.Iterable<Term> terms) |
Modifier and Type | Interface and Description |
---|---|
interface |
AggregateFunction
Performs a calculation on a set of values and return a single value.
|
interface |
ScalarFunction
Determines a single output value based on a single input value.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractFunction
Base class for our native/hardcoded functions.
|
class |
FromJsonFct |
class |
NativeAggregateFunction
Base class for the
AggregateFunction native classes. |
class |
NativeFunction
Base class for our native/hardcoded functions.
|
class |
NativeScalarFunction
Base class for the
ScalarFunction native classes. |
class |
ToJsonFct |
class |
TokenFct |
class |
UDAggregate
Base class for user-defined-aggregates.
|
class |
UDFunction
Base class for User Defined Functions.
|
Modifier and Type | Field and Description |
---|---|
static Function |
BytesConversionFcts.BlobAsVarcharFct |
static Function |
TimeFcts.dateOfFct
Deprecated.
Replaced by the
TimeFcts.timeUuidToTimestamp function |
static Function |
TimeFcts.dateToTimestamp
Function that convert a value of type
TIMESTAMP into a DATE . |
static Function |
TimeFcts.dateToUnixTimestamp
Function that convert a value of type
DATE into an UNIX timestamp. |
static Function |
TimeFcts.maxTimeuuidFct |
static Function |
TimeFcts.minTimeuuidFct |
static Function |
TimeFcts.nowFct |
static Function |
TimeFcts.timestampToDate
Function that convert a value of type
TIMESTAMP into a DATE . |
static Function |
TimeFcts.timestampToUnixTimestamp
Function that convert a value of type
TIMESTAMP into an UNIX timestamp. |
static Function |
TimeFcts.timeUuidtoDate
Function that convert a value of
TIMEUUID into a value of type DATE . |
static Function |
TimeFcts.timeUuidToTimestamp
Function that convert a value of type
TIMEUUID into a value of type TIMESTAMP . |
static Function |
TimeFcts.timeUuidToUnixTimestamp
Function that convert a value of type
TIMEUUID into an UNIX timestamp. |
static Function |
TimeFcts.unixTimestampOfFct
Deprecated.
Replaced by the
TimeFcts.timeUuidToUnixTimestamp function |
static Function |
UuidFcts.uuidFct |
static Function |
BytesConversionFcts.VarcharAsBlobFct |
Modifier and Type | Method and Description |
---|---|
static Function |
FunctionResolver.get(java.lang.String keyspace,
FunctionName name,
java.util.List<? extends AssignmentTestable> providedArgs,
java.lang.String receiverKs,
java.lang.String receiverCf,
AbstractType<?> receiverType) |
static Function |
BytesConversionFcts.makeFromBlobFunction(AbstractType<?> toType) |
static Function |
BytesConversionFcts.makeToBlobFunction(AbstractType<?> fromType) |
Modifier and Type | Method and Description |
---|---|
static java.util.Collection<Function> |
BytesConversionFcts.all() |
static java.util.Collection<Function> |
TimeFcts.all() |
static java.util.Collection<Function> |
UuidFcts.all() |
java.lang.Iterable<Function> |
AbstractFunction.getFunctions() |
java.lang.Iterable<Function> |
Function.getFunctions() |
java.lang.Iterable<Function> |
FunctionCall.getFunctions() |
java.lang.Iterable<Function> |
UDAggregate.getFunctions() |
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractFunction.hasReferenceTo(Function function) |
boolean |
Function.hasReferenceTo(Function function) |
boolean |
UDAggregate.hasReferenceTo(Function function) |
static boolean |
AggregateFcts.isCountRows(Function function)
Checks if the specified function is the count rows (e.g.
|
static ColumnSpecification |
FunctionResolver.makeArgSpec(java.lang.String receiverKs,
java.lang.String receiverCf,
Function fun,
int i) |
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<Function> |
MultiColumnRestriction.EQRestriction.getFunctions() |
java.lang.Iterable<Function> |
MultiColumnRestriction.InRestrictionWithValues.getFunctions() |
java.lang.Iterable<Function> |
MultiColumnRestriction.InRestrictionWithMarker.getFunctions() |
java.lang.Iterable<Function> |
MultiColumnRestriction.SliceRestriction.getFunctions() |
java.lang.Iterable<Function> |
MultiColumnRestriction.NotNullRestriction.getFunctions() |
java.lang.Iterable<Function> |
Restriction.getFunctions()
Return an Iterable over all of the functions (both native and user-defined) used by any component
of the restriction
|
java.lang.Iterable<Function> |
SingleColumnRestriction.EQRestriction.getFunctions() |
java.lang.Iterable<Function> |
SingleColumnRestriction.InRestrictionWithValues.getFunctions() |
java.lang.Iterable<Function> |
SingleColumnRestriction.InRestrictionWithMarker.getFunctions() |
java.lang.Iterable<Function> |
SingleColumnRestriction.SliceRestriction.getFunctions() |
java.lang.Iterable<Function> |
SingleColumnRestriction.ContainsRestriction.getFunctions() |
java.lang.Iterable<Function> |
SingleColumnRestriction.IsNotNullRestriction.getFunctions() |
java.lang.Iterable<Function> |
StatementRestrictions.getFunctions() |
java.lang.Iterable<Function> |
TokenRestriction.EQRestriction.getFunctions() |
java.lang.Iterable<Function> |
TokenRestriction.SliceRestriction.getFunctions() |
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<Function> |
Selection.getFunctions() |
java.lang.Iterable<Function> |
Selector.Factory.getFunctions() |
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<Function> |
BatchStatement.getFunctions() |
java.lang.Iterable<Function> |
ModificationStatement.getFunctions() |
java.lang.Iterable<Function> |
ParsedStatement.getFunctions() |
java.lang.Iterable<Function> |
SelectStatement.getFunctions() |
Modifier and Type | Method and Description |
---|---|
static FunctionExecutionException |
FunctionExecutionException.create(Function function,
java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<Function> |
Functions.find(FunctionName name,
java.util.List<AbstractType<?>> argTypes)
Find the function with the specified name
|
java.util.Collection<Function> |
Functions.get(FunctionName name)
Get all function overloads with the specified name
|
java.util.Iterator<Function> |
Functions.iterator() |
java.util.stream.Stream<Function> |
Functions.stream() |
Modifier and Type | Method and Description |
---|---|
Functions.Builder |
Functions.Builder.add(Function... funs) |
Functions.Builder |
Functions.Builder.add(Function fun) |
java.util.Collection<UDAggregate> |
Functions.aggregatesUsingFunction(Function function) |
static Functions |
Functions.of(Function... funs) |
Functions |
Functions.with(Function fun)
Create a Functions instance with the provided function added
|
Modifier and Type | Method and Description |
---|---|
Functions.Builder |
Functions.Builder.add(java.lang.Iterable<? extends Function> funs) |
Modifier and Type | Method and Description |
---|---|
void |
ClientState.ensureHasPermission(Permission permission,
Function function) |
Copyright © 2015 The Apache Software Foundation