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