public final class UDFContextImpl extends java.lang.Object implements UDFContext
UDFContext
Modifier and Type | Method and Description |
---|---|
com.datastax.driver.core.TupleValue |
newArgTupleValue(int argNum)
Creates a new
TupleValue instance for an argument. |
com.datastax.driver.core.TupleValue |
newArgTupleValue(java.lang.String argName)
Creates a new
TupleValue instance for an argument. |
com.datastax.driver.core.UDTValue |
newArgUDTValue(int argNum)
Creates a new
UDTValue instance for an argument. |
com.datastax.driver.core.UDTValue |
newArgUDTValue(java.lang.String argName)
Creates a new
UDTValue instance for an argument. |
com.datastax.driver.core.TupleValue |
newReturnTupleValue()
Creates a new
TupleValue instance for the return value. |
com.datastax.driver.core.UDTValue |
newReturnUDTValue()
Creates a new
UDTValue instance for the return value. |
com.datastax.driver.core.TupleValue |
newTupleValue(java.lang.String cqlDefinition)
Creates a new
TupleValue instance for the CQL type definition. |
com.datastax.driver.core.UDTValue |
newUDTValue(java.lang.String udtName)
Creates a new
UDTValue instance by name in the same keyspace. |
public com.datastax.driver.core.UDTValue newArgUDTValue(java.lang.String argName)
UDFContext
UDTValue
instance for an argument.newArgUDTValue
in interface UDFContext
argName
- name of the argument as declared in the CREATE FUNCTION
statementUDTValue
instancepublic com.datastax.driver.core.UDTValue newArgUDTValue(int argNum)
UDFContext
UDTValue
instance for an argument.newArgUDTValue
in interface UDFContext
argNum
- zero-based index of the argument as declared in the CREATE FUNCTION
statementUDTValue
instancepublic com.datastax.driver.core.UDTValue newReturnUDTValue()
UDFContext
UDTValue
instance for the return value.newReturnUDTValue
in interface UDFContext
UDTValue
instancepublic com.datastax.driver.core.UDTValue newUDTValue(java.lang.String udtName)
UDFContext
UDTValue
instance by name in the same keyspace.newUDTValue
in interface UDFContext
udtName
- name of the user defined type in the same keyspace as the functionUDTValue
instancepublic com.datastax.driver.core.TupleValue newArgTupleValue(java.lang.String argName)
UDFContext
TupleValue
instance for an argument.newArgTupleValue
in interface UDFContext
argName
- name of the argument as declared in the CREATE FUNCTION
statementTupleValue
instancepublic com.datastax.driver.core.TupleValue newArgTupleValue(int argNum)
UDFContext
TupleValue
instance for an argument.newArgTupleValue
in interface UDFContext
argNum
- zero-based index of the argument as declared in the CREATE FUNCTION
statementTupleValue
instancepublic com.datastax.driver.core.TupleValue newReturnTupleValue()
UDFContext
TupleValue
instance for the return value.newReturnTupleValue
in interface UDFContext
TupleValue
instancepublic com.datastax.driver.core.TupleValue newTupleValue(java.lang.String cqlDefinition)
UDFContext
TupleValue
instance for the CQL type definition.newTupleValue
in interface UDFContext
cqlDefinition
- CQL tuple type definition like tuple<int, text, bigint>
TupleValue
instanceCopyright © 2017 The Apache Software Foundation