Esempio n. 1
0
 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(),
     });
 }
Esempio n. 2
0
 public ColumnOrSuperColumn(Column column, SuperColumn superColumn)
 {
     Column      = column;
     SuperColumn = superColumn;
 }
Esempio n. 3
0
 public ColumnOrSuperColumn(SuperColumn superColumn) :
     this(null, superColumn)
 {
 }
Esempio n. 4
0
 public BatchMutation AddSuperColumn(string key, IList <string> columnFamilies, SuperColumn superColumn)
 {
     AddMutation(key, columnFamilies, new Mutation(new ColumnOrSuperColumn(superColumn)));
     return(this);
 }