Package | Description |
---|---|
com.datastax.dse.driver.api.querybuilder |
This package effectively mirrors the Cassandra OSS Query Builder package to allow DSE extended
schema and query building for the DSE driver.
|
com.datastax.oss.driver.api.querybuilder | |
com.datastax.oss.driver.api.querybuilder.schema |
Modifier and Type | Method and Description |
---|---|
static CreateFunctionStart |
DseSchemaBuilder.createFunction(CqlIdentifier functionName)
Starts a CREATE FUNCTION query with the given function name.
|
static CreateFunctionStart |
DseSchemaBuilder.createFunction(CqlIdentifier keyspace,
CqlIdentifier functionName)
Starts a CREATE FUNCTION query with the given function name for the given keyspace name.
|
static CreateFunctionStart |
DseSchemaBuilder.createFunction(String functionName)
|
static CreateFunctionStart |
DseSchemaBuilder.createFunction(String keyspace,
String functionName)
|
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–2022. All rights reserved.