Package io.stargate.sdk.rest.domain
Class CreateIndex
java.lang.Object
io.stargate.sdk.rest.domain.CreateIndex
- All Implemented Interfaces:
Serializable
Creation request for an INDEX.
- Author:
- Cedrick LUNVEN (@clunven)
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Access to builder.Getter accessor for attribute 'column'.io.stargate.sdk.rest.domain.CreateIndex.IndexKindgetKind()Getter accessor for attribute 'kind'.getName()Getter accessor for attribute 'name'.Getter accessor for attribute 'options'.getType()Getter accessor for attribute 'type'.booleanGetter accessor for attribute 'ifNotExists'.voidSetter accessor for attribute 'name'.
-
Field Details
-
TYPE_SASI
Constant for a SASI index.- See Also:
-
TYPE_SAI
Constant for a SAI index.- See Also:
-
-
Method Details
-
builder
Access to builder.- Returns:
- create index builder
-
getName
Getter accessor for attribute 'name'.- Returns:
- current value of 'name'
-
getColumn
Getter accessor for attribute 'column'.- Returns:
- current value of 'column'
-
isIfNotExists
public boolean isIfNotExists()Getter accessor for attribute 'ifNotExists'.- Returns:
- current value of 'ifNotExists'
-
getType
Getter accessor for attribute 'type'.- Returns:
- current value of 'type'
-
getKind
public io.stargate.sdk.rest.domain.CreateIndex.IndexKind getKind()Getter accessor for attribute 'kind'.- Returns:
- current value of 'kind'
-
getOptions
Getter accessor for attribute 'options'.- Returns:
- current value of 'options'
-
setName
Setter accessor for attribute 'name'.- Parameters:
name- new value for 'name '
-