public interface CreateDseFunctionStart
Modifier and Type | Method and Description |
---|---|
CreateDseFunctionWithNullOption |
calledOnNull()
Adds CALLED ON NULL to the create function specification.
|
CreateDseFunctionStart |
ifNotExists()
Adds IF NOT EXISTS to the create function specification.
|
CreateDseFunctionStart |
orReplace()
Adds OR REPLACE to the create function specification.
|
CreateDseFunctionWithNullOption |
returnsNullOnNull()
Adds RETURNS NULL ON NULL to the create function specification.
|
CreateDseFunctionStart |
withParameter(CqlIdentifier paramName,
DataType paramType)
Adds a parameter definition in the CREATE FUNCTION statement.
|
default CreateDseFunctionStart |
withParameter(String paramName,
DataType paramType)
Shortcut for
withParameter(CqlIdentifier.asCql(paramName), dataType) . |
@NonNull CreateDseFunctionStart ifNotExists()
@NonNull CreateDseFunctionStart orReplace()
@NonNull CreateDseFunctionStart 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 CreateDseFunctionStart withParameter(@NonNull String paramName, @NonNull DataType paramType)
withParameter(CqlIdentifier.asCql(paramName), dataType)
.@NonNull CreateDseFunctionWithNullOption returnsNullOnNull()
@NonNull CreateDseFunctionWithNullOption calledOnNull()
Copyright © 2017–2022. All rights reserved.