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)
UDFContextUDTValue instance for an argument.newArgUDTValue in interface UDFContextargName - name of the argument as declared in the CREATE FUNCTION statementUDTValue instancepublic com.datastax.driver.core.UDTValue newArgUDTValue(int argNum)
UDFContextUDTValue instance for an argument.newArgUDTValue in interface UDFContextargNum - zero-based index of the argument as declared in the CREATE FUNCTION statementUDTValue instancepublic com.datastax.driver.core.UDTValue newReturnUDTValue()
UDFContextUDTValue instance for the return value.newReturnUDTValue in interface UDFContextUDTValue instancepublic com.datastax.driver.core.UDTValue newUDTValue(java.lang.String udtName)
UDFContextUDTValue instance by name in the same keyspace.newUDTValue in interface UDFContextudtName - name of the user defined type in the same keyspace as the functionUDTValue instancepublic com.datastax.driver.core.TupleValue newArgTupleValue(java.lang.String argName)
UDFContextTupleValue instance for an argument.newArgTupleValue in interface UDFContextargName - name of the argument as declared in the CREATE FUNCTION statementTupleValue instancepublic com.datastax.driver.core.TupleValue newArgTupleValue(int argNum)
UDFContextTupleValue instance for an argument.newArgTupleValue in interface UDFContextargNum - zero-based index of the argument as declared in the CREATE FUNCTION statementTupleValue instancepublic com.datastax.driver.core.TupleValue newReturnTupleValue()
UDFContextTupleValue instance for the return value.newReturnTupleValue in interface UDFContextTupleValue instancepublic com.datastax.driver.core.TupleValue newTupleValue(java.lang.String cqlDefinition)
UDFContextTupleValue instance for the CQL type definition.newTupleValue in interface UDFContextcqlDefinition - CQL tuple type definition like tuple<int, text, bigint>TupleValue instanceCopyright © 2018 The Apache Software Foundation