public class FieldModel extends Object
| Modifier and Type | Method and Description |
|---|---|
FieldModel |
asPartitionKey() |
Optional<Column.Order> |
getClusteringOrder() |
String |
getCqlName() |
Column.ColumnType |
getCqlType()
Note that if this type references any UDTs (either directly or through subtypes), they might be
"shallow", as defined by
Column.Type#fromCqlDefinitionOf(io.stargate.db.schema.Keyspace,
java.lang.String, boolean). |
String |
getGraphqlName() |
graphql.language.Type<?> |
getGraphqlType() |
Optional<IndexModel> |
getIndex() |
boolean |
isClusteringColumn() |
boolean |
isPartitionKey() |
boolean |
isPrimaryKey() |
public String getGraphqlName()
public graphql.language.Type<?> getGraphqlType()
public String getCqlName()
public Column.ColumnType getCqlType()
Column.Type#fromCqlDefinitionOf(io.stargate.db.schema.Keyspace,
java.lang.String, boolean).public boolean isPartitionKey()
public FieldModel asPartitionKey()
public Optional<Column.Order> getClusteringOrder()
public boolean isClusteringColumn()
public boolean isPrimaryKey()
public Optional<IndexModel> getIndex()
Copyright © 2022. All rights reserved.