public CassandraTableImpl WithClusterKey(Models.ClusterKey clusterKey)
        {
            if (this.createUpdateParameters.Resource.Schema == null)
            {
                this.createUpdateParameters.Resource.Schema = new CassandraSchema();
            }
            if (this.createUpdateParameters.Resource.Schema.ClusterKeys == null)
            {
                this.createUpdateParameters.Resource.Schema.ClusterKeys = new List <ClusterKey>();
            }

            this.createUpdateParameters.Resource.Schema.ClusterKeys.Add(clusterKey);
            return(this);
        }
Пример #2
0
 CassandraTable.Definition.IWithAttach <UpdateParentT> CassandraTable.Definition.IWithClusterKey <UpdateParentT> .WithClusterKey(Models.ClusterKey clusterKey)
 {
     return(this.WithClusterKey(clusterKey));
 }
Пример #3
0
 CassandraTable.Update.IUpdate CassandraTable.Update.IWithClusterKey.WithClusterKey(Models.ClusterKey clusterKey)
 {
     return(this.WithClusterKey(clusterKey));
 }