Class ColumnSpecification

java.lang.Object
org.springframework.data.cassandra.core.cql.keyspace.ColumnSpecification

public class ColumnSpecification extends Object
Object to configure a CQL column specification.

Use name(String) and type(DataType) to set the name and type of the column, respectively. To specify a clustered PRIMARY KEY column, use clustered() or clustered(Ordering). To specify that the PRIMARY KEY column is or is part of the partition key, use partitioned() instead of clustered() or clustered(Ordering). To specify STATIC column, use staticColumn().

Author:
Matthew T. Adams, Alex Shvid, Mark Paluch, Aleksei Zotov