Exemplo n.º 1
0
 public void Deserialize(Common.Serialization.IO.CompactReader reader)
 {
     _database           = reader.ReadString();
     _shard              = reader.ReadString();
     _lastOperationID    = reader.ReadObject() as OperationId;
     _lastFullBackupDate = reader.ReadDateTime();
 }
Exemplo n.º 2
0
 public override void Deserialize(Common.Serialization.IO.CompactReader reader)
 {
     base.Deserialize(reader);
     Database   = reader.ReadString();
     Collection = reader.ReadString();
     OpCode     = reader.ReadObjectAs <OpCode>();
 }
Exemplo n.º 3
0
 public void Deserialize(Common.Serialization.IO.CompactReader reader)
 {
     this.Type             = (StateTransferType)reader.ReadByte();
     this.DBName           = reader.ReadString();
     this.ColName          = reader.ReadString();
     this.NodeInfo         = (NodeIdentity)reader.ReadObject();
     this.DistributionType = (DistributionMethod)reader.ReadByte();
 }
Exemplo n.º 4
0
 public void Deserialize(Common.Serialization.IO.CompactReader reader)
 {
     _id           = reader.ReadInt64();
     Database      = reader.ReadString();
     Collection    = reader.ReadString();
     DataCount     = reader.ReadInt64();
     OverFlow      = reader.ReadBoolean();
     NextSegmentId = reader.ReadInt64();
     _crc          = reader.ReadInt64();
     _mappedData   = reader.ReadInt64();
     _dataType     = (DataSliceType)reader.ReadInt32();
     _totalSize    = reader.ReadInt64();
 }
Exemplo n.º 5
0
 public void Deserialize(Common.Serialization.IO.CompactReader reader)
 {
     _id             = reader.ReadInt64();
     NumberOfSlices  = reader.ReadInt64();
     Database        = reader.ReadString();
     DatabaseCluster = reader.ReadString();
     _crc            = reader.ReadInt64();
     Version         = reader.ReadString();
     _creationDate   = reader.ReadDateTime();
     SegmentMap      = Common.Util.SerializationUtility.DeserializeDictionary <long, long>(reader);
     _recoveryType   = (RecoveryJobType)reader.ReadInt32();
     _fullBackupDate = reader.ReadDateTime();
     _state          = (RecoveryFileState)reader.ReadInt32();
 }
Exemplo n.º 6
0
 public virtual void Deserialize(Common.Serialization.IO.CompactReader reader)
 {
     _operationId = reader.ReadInt64();
     _rowId       = reader.ReadInt64();
     _collection  = reader.ReadString();
     _context     = new OperationContext();
 }
Exemplo n.º 7
0
 public void Deserialize(Common.Serialization.IO.CompactReader reader)
 {
     _id                    = reader.ReadString();
     _chunkId               = reader.ReadInt32();
     _isDisposable          = reader.ReadBoolean();
     _nodeIpAddress         = reader.ReadObject() as Address;
     _isSocketServerDispose = reader.ReadBoolean();
 }
Exemplo n.º 8
0
 void ICompactSerializable.Deserialize(Common.Serialization.IO.CompactReader reader)
 {
     base.Deserialize(reader);
     _group    = reader.ReadString();
     _subGroup = reader.ReadString();
 }
Exemplo n.º 9
0
 public void Deserialize(Common.Serialization.IO.CompactReader reader)
 {
     ReplicationType         = reader.ReadString();
     ReplicationTimeInterval = (int)reader.ReadInt32();
     ReplicationBulkSize     = (int)reader.ReadInt32();
 }
Exemplo n.º 10
0
 public void Deserialize(Common.Serialization.IO.CompactReader reader)
 {
     this.shardName = reader.ReadString();
     //this.address = (Address) reader.ReadObject();
 }
Exemplo n.º 11
0
 public void Deserialize(Common.Serialization.IO.CompactReader reader)
 {
     Name = reader.ReadString();
     Type = reader.ReadString();
 }