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 |
---|---|
UDTValue |
UDFContext.newArgUDTValue(int argNum)
Creates a new
UDTValue instance for an argument. |
UDTValue |
UDFContextImpl.newArgUDTValue(int argNum) |
UDTValue |
UDFContext.newArgUDTValue(java.lang.String argName)
Creates a new
UDTValue instance for an argument. |
UDTValue |
UDFContextImpl.newArgUDTValue(java.lang.String argName) |
UDTValue |
UDFContext.newReturnUDTValue()
Creates a new
UDTValue instance for the return value. |
UDTValue |
UDFContextImpl.newReturnUDTValue() |
UDTValue |
UDFContext.newUDTValue(java.lang.String udtName)
Creates a new
UDTValue instance by name in the same keyspace. |
UDTValue |
UDFContextImpl.newUDTValue(java.lang.String udtName) |
Modifier and Type | Method and Description |
---|---|
UDTValue |
GettableByIndexData.getUDTValue(int i)
Return the
i th value as a UDT value. |
UDTValue |
AbstractGettableData.getUDTValue(java.lang.String name)
Return the value for
name as a UDT value. |
UDTValue |
GettableByNameData.getUDTValue(java.lang.String name)
Return the value for
name as a UDT value. |
UDTValue |
UserType.newValue()
Returns a new empty value for this user type definition.
|
Modifier and Type | Method and Description |
---|---|
static TypeCodec<UDTValue> |
TypeCodec.userType(UserType type)
Return a newly-created codec for the given user-defined CQL type.
|
Modifier and Type | Method and Description |
---|---|
T |
SettableByIndexData.setUDTValue(int i,
UDTValue v)
Sets the
i th value to the provided UDT value. |
T |
SettableByNameData.setUDTValue(java.lang.String name,
UDTValue v)
Sets the value for (all occurrences of) variable
name to the provided UDT value. |
Copyright © 2009-2022 The Apache Software Foundation