LookupTableSchema
data class LookupTableSchema(val tableName: String, val indexColumn: ColumnSchema, val partitionKeyColumns: List<ColumnSchema>, val consistency: LookupConsistency, val clusteringKeyColumns: List<ColumnSchema> = emptyList())
Constructors
Link copied to clipboard
constructor(tableName: String, indexColumn: ColumnSchema, partitionKeyColumns: List<ColumnSchema>, consistency: LookupConsistency, clusteringKeyColumns: List<ColumnSchema> = emptyList())
Properties
Link copied to clipboard
All clustering key columns of the primary table, stored alongside the partition key columns so a lookup resolution can reconstruct the primary table's full key (partition + clustering), not just its partition key. Empty for a primary table with no clustering key. See ISS-029: before this field existed, lookup resolution could only ever supply selectById with the partition key, which stopped being sufficient once ISS-025 made selectById require the full key on any clustering-keyed entity.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
All partition key columns of the primary table — needed to reconstruct the primary key.