public static Apache.Cassandra.SuperColumn ToThrift(this SuperColumn sc) { return(new Apache.Cassandra.SuperColumn { Name = sc.Name.UTF(), Columns = sc.Columns.Transform(c => c.ToThrift()).ToList(), }); }
public ColumnOrSuperColumn(Column column, SuperColumn superColumn) { Column = column; SuperColumn = superColumn; }
public ColumnOrSuperColumn(SuperColumn superColumn) : this(null, superColumn) { }
public BatchMutation AddSuperColumn(string key, IList <string> columnFamilies, SuperColumn superColumn) { AddMutation(key, columnFamilies, new Mutation(new ColumnOrSuperColumn(superColumn))); return(this); }