Package | Description |
---|---|
com.datastax.oss.driver.api.querybuilder | |
com.datastax.oss.driver.api.querybuilder.schema |
Modifier and Type | Method and Description |
---|---|
static CreateFunctionStart |
SchemaBuilder.createFunction(CqlIdentifier functionName)
Starts a CREATE FUNCTION query with the given function name.
|
static CreateFunctionStart |
SchemaBuilder.createFunction(CqlIdentifier keyspace,
CqlIdentifier functionName)
Starts a CREATE FUNCTION query with the given function name for the given keyspace name.
|
static CreateFunctionStart |
SchemaBuilder.createFunction(String functionName)
|
static CreateFunctionStart |
SchemaBuilder.createFunction(String keyspace,
String functionName)
|
Modifier and Type | Method and Description |
---|---|
CreateFunctionStart |
CreateFunctionStart.ifNotExists()
Adds IF NOT EXISTS to the create function specification.
|
CreateFunctionStart |
CreateFunctionStart.orReplace()
Adds OR REPLACE to the create function specification.
|
CreateFunctionStart |
CreateFunctionStart.withParameter(CqlIdentifier paramName,
DataType paramType)
Adds a parameter definition in the CREATE FUNCTION statement.
|
default CreateFunctionStart |
CreateFunctionStart.withParameter(String paramName,
DataType paramType)
Shortcut for
withParameter(CqlIdentifier.asCql(paramName), dataType) . |
Copyright © 2017–2019. All rights reserved.