Пример #1
0
        public override Void Execute()
        {
            var path = new CassandraColumnPath {
                ColumnFamily = ColumnFamily.FamilyName
            };

            if (SuperColumnName != null)
            {
                path.SuperColumn = SuperColumnName;
            }

            if (ColumnName != null)
            {
                path.Column = ColumnName;
            }

            Session.GetClient().remove(
                Key,
                path,
                TimestampHelper.UtcNow().ToCassandraTimestamp(),
                Session.WriteConsistency
                );

            return(new Void());
        }