public interface CreateDseAggregateStart
Modifier and Type | Method and Description |
---|---|
CreateDseAggregateStart |
ifNotExists()
Adds IF NOT EXISTS to the create aggregate specification.
|
CreateDseAggregateStart |
orReplace()
Adds OR REPLACE to the create aggregate specification.
|
CreateDseAggregateStart |
withParameter(DataType paramType)
Adds a parameter definition in the CREATE AGGREGATE statement.
|
CreateDseAggregateStateFunc |
withSFunc(CqlIdentifier sfuncName)
Adds SFUNC to the create aggregate specification.
|
default CreateDseAggregateStateFunc |
withSFunc(String sfuncName)
Shortcut for
withSFunc(CqlIdentifier.fromCql(sfuncName)) . |
@NonNull CreateDseAggregateStart ifNotExists()
@NonNull CreateDseAggregateStart orReplace()
@NonNull CreateDseAggregateStart withParameter(@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 CreateDseAggregateStateFunc withSFunc(@NonNull CqlIdentifier sfuncName)
@NonNull default CreateDseAggregateStateFunc withSFunc(@NonNull String sfuncName)
withSFunc(CqlIdentifier.fromCql(sfuncName))
.Copyright © 2017–2020. All rights reserved.