public interface CreateFunctionStart
| Modifier and Type | Method and Description | 
|---|---|
CreateFunctionWithNullOption | 
calledOnNull()
Adds CALLED ON NULL to the create function specification. 
 | 
CreateFunctionStart | 
ifNotExists()
Adds IF NOT EXISTS to the create function specification. 
 | 
CreateFunctionStart | 
orReplace()
Adds OR REPLACE to the create function specification. 
 | 
CreateFunctionWithNullOption | 
returnsNullOnNull()
Adds RETURNS NULL ON NULL to the create function specification. 
 | 
CreateFunctionStart | 
withParameter(CqlIdentifier paramName,
             DataType paramType)
Adds a parameter definition in the CREATE FUNCTION statement. 
 | 
default CreateFunctionStart | 
withParameter(String paramName,
             DataType paramType)
Shortcut for  
withParameter(CqlIdentifier.asCql(paramName), dataType). | 
@NonNull CreateFunctionStart ifNotExists()
@NonNull CreateFunctionStart orReplace()
@NonNull CreateFunctionStart withParameter(@NonNull CqlIdentifier paramName, @NonNull DataType paramType)
Parameter keys are added in the order of their declaration.
To create the data type, use the constants and static methods in DataTypes, or
 SchemaBuilder.udt(CqlIdentifier, boolean).
@NonNull default CreateFunctionStart withParameter(@NonNull String paramName, @NonNull DataType paramType)
withParameter(CqlIdentifier.asCql(paramName), dataType).@NonNull CreateFunctionWithNullOption returnsNullOnNull()
@NonNull CreateFunctionWithNullOption calledOnNull()
Copyright © 2017–2021. All rights reserved.