Exemple #1
0
 public override void Write(IRowOutputInterface output, IntLookup lookup)
 {
     output.WriteSize(this.storageSize);
     for (NodeAVL eavl = base.NPrimaryNode; eavl != null; eavl = eavl.nNext)
     {
         ((NodeAVLDisk)eavl).Write(output, lookup);
     }
     output.WriteData(base.RowData, base.table.ColTypes);
     output.WriteEnd();
 }
Exemple #2
0
 public void Write(IRowOutputInterface o, ResultMetaData meta)
 {
     base.BeforeFirst();
     o.WriteLong(base.Id);
     o.WriteInt(base.Size);
     o.WriteInt(0);
     o.WriteInt(base.Size);
     while (base.HasNext())
     {
         object[] next = base.GetNext();
         o.WriteData(meta.GetColumnCount(), meta.ColumnTypes, next, null, null);
     }
     base.BeforeFirst();
 }
Exemple #3
0
 public override void Write(IRowOutputInterface output)
 {
     try
     {
         this.WriteNodes(output);
         if (this.hasDataChanged)
         {
             output.WriteData(base.RowData, base.table.ColTypes);
             output.WriteEnd();
             this.hasDataChanged = false;
         }
     }
     catch (IOException)
     {
     }
 }