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(com.datastax.oss.driver.api.core.CqlIdentifier paramName,
com.datastax.oss.driver.api.core.type.DataType paramType)
Adds a parameter definition in the CREATE FUNCTION statement.
|
default CreateDseFunctionStart |
withParameter(String paramName,
com.datastax.oss.driver.api.core.type.DataType paramType)
Shortcut for
withParameter(CqlIdentifier.asCql(paramName), dataType) . |
@NonNull CreateDseFunctionStart ifNotExists()
@NonNull CreateDseFunctionStart orReplace()
@NonNull CreateDseFunctionStart withParameter(@NonNull com.datastax.oss.driver.api.core.CqlIdentifier paramName, @NonNull com.datastax.oss.driver.api.core.type.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 com.datastax.oss.driver.api.core.type.DataType paramType)
withParameter(CqlIdentifier.asCql(paramName), dataType)
.@NonNull CreateDseFunctionWithNullOption returnsNullOnNull()
@NonNull CreateDseFunctionWithNullOption calledOnNull()
Copyright © 2017–2019. All rights reserved.