public interface SetType extends DataType
| Modifier and Type | Method and Description |
|---|---|
default String |
asCql(boolean includeFrozen,
boolean pretty)
Builds an appropriate representation for use in a CQL query.
|
DataType |
getElementType() |
default int |
getProtocolCode()
The code of the data type in the native protocol specification.
|
boolean |
isFrozen() |
attach, isDetached@NonNull DataType getElementType()
boolean isFrozen()
@NonNull default String asCql(boolean includeFrozen, boolean pretty)
DataTypeasCql in interface DataTypeincludeFrozen - whether to include the frozen<...> keyword if applicable. This
will need to be set depending on where the result is used: for example, CREATE
TABLE statements use the frozen keyword, whereas it should never appear in CREATE
FUNCTION.pretty - whether to pretty-print UDT names (as described in CqlIdentifier.asCql(boolean).default int getProtocolCode()
DataTypegetProtocolCode in interface DataTypeCopyright © 2017–2025. All rights reserved.