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.dse.driver.api.querybuilder.schema |
This package effectively mirrors the Cassandra OSS Schema interfaces to allow extended schema and
query building for the DSE driver.
|
Modifier and Type | Method and Description |
---|---|
static CreateDseFunctionStart |
DseSchemaBuilder.createDseFunction(CqlIdentifier functionId)
Starts a CREATE FUNCTION query with the given function name.
|
static CreateDseFunctionStart |
DseSchemaBuilder.createDseFunction(CqlIdentifier keyspaceId,
CqlIdentifier functionId)
Starts a CREATE FUNCTION query with the given function name for the given keyspace name.
|
static CreateDseFunctionStart |
DseSchemaBuilder.createDseFunction(String functionName)
Shortcut for
createFunction(CqlIdentifier.fromCql(functionName) |
static CreateDseFunctionStart |
DseSchemaBuilder.createDseFunction(String keyspaceName,
String functionName)
|
Modifier and Type | Method and Description |
---|---|
CreateDseFunctionStart |
CreateDseFunctionStart.ifNotExists()
Adds IF NOT EXISTS to the create function specification.
|
CreateDseFunctionStart |
CreateDseFunctionStart.orReplace()
Adds OR REPLACE to the create function specification.
|
CreateDseFunctionStart |
CreateDseFunctionStart.withParameter(CqlIdentifier paramName,
DataType paramType)
Adds a parameter definition in the CREATE FUNCTION statement.
|
default CreateDseFunctionStart |
CreateDseFunctionStart.withParameter(String paramName,
DataType paramType)
Shortcut for
withParameter(CqlIdentifier.asCql(paramName), dataType) . |
Copyright © 2017–2021. All rights reserved.