Package | Description |
---|---|
org.apache.cassandra.cql3.functions | |
org.apache.cassandra.cql3.functions.types |
Contains pieces of the Java Driver that are needed to handle data types
in C* User-Defined-Functions/Aggregates.
|
Modifier and Type | Method and Description |
---|---|
TupleValue |
UDFContext.newArgTupleValue(int argNum)
Creates a new
TupleValue instance for an argument. |
TupleValue |
UDFContextImpl.newArgTupleValue(int argNum) |
TupleValue |
UDFContext.newArgTupleValue(java.lang.String argName)
Creates a new
TupleValue instance for an argument. |
TupleValue |
UDFContextImpl.newArgTupleValue(java.lang.String argName) |
TupleValue |
UDFContext.newReturnTupleValue()
Creates a new
TupleValue instance for the return value. |
TupleValue |
UDFContextImpl.newReturnTupleValue() |
TupleValue |
UDFContext.newTupleValue(java.lang.String cqlDefinition)
Creates a new
TupleValue instance for the CQL type definition. |
TupleValue |
UDFContextImpl.newTupleValue(java.lang.String cqlDefinition) |
Modifier and Type | Method and Description |
---|---|
TupleValue |
GettableByIndexData.getTupleValue(int i)
Return the
i th value as a tuple value. |
TupleValue |
AbstractGettableData.getTupleValue(java.lang.String name)
Return the value for
name as a tuple value. |
TupleValue |
GettableByNameData.getTupleValue(java.lang.String name)
Return the value for
name as a tuple value. |
TupleValue |
TupleType.newValue()
Returns a new empty value for this tuple type.
|
TupleValue |
TupleType.newValue(java.lang.Object... values)
Returns a new value for this tuple type that uses the provided values for the components.
|
Modifier and Type | Method and Description |
---|---|
static TypeCodec<TupleValue> |
TypeCodec.tuple(TupleType type)
Return a newly-created codec for the given CQL tuple type.
|
Modifier and Type | Method and Description |
---|---|
T |
SettableByIndexData.setTupleValue(int i,
TupleValue v)
Sets the
i th value to the provided tuple value. |
T |
SettableByNameData.setTupleValue(java.lang.String name,
TupleValue v)
Sets the value for (all occurrences of) variable
name to the provided tuple value. |
Copyright © 2009-2020 The Apache Software Foundation