DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Public Member Functions | List of all members
Deveel.Data.Sql.Query.QueryPlanSerializers.CacheNodePointSerializer Class Reference
Inheritance diagram for Deveel.Data.Sql.Query.QueryPlanSerializers.CacheNodePointSerializer:
Deveel.Data.Sql.Query.QueryPlanSerializers.QueryPlanNodeSerializer< CachePointNode >

Public Member Functions

override void Serialize (CachePointNode node, BinaryWriter writer)
 
override CachePointNode Deserialize (BinaryReader reader)
 
- Public Member Functions inherited from Deveel.Data.Sql.Query.QueryPlanSerializers.QueryPlanNodeSerializer< CachePointNode >
bool CanSerialize (Type nodeType)
 

Detailed Description

Definition at line 198 of file QueryPlanSerializers.cs.

Member Function Documentation

override CachePointNode Deveel.Data.Sql.Query.QueryPlanSerializers.CacheNodePointSerializer.Deserialize ( BinaryReader  reader)
inline

Definition at line 204 of file QueryPlanSerializers.cs.

204  {
205  var child = ReadChildNode(reader);
206  var id = reader.ReadInt64();
207  return new CachePointNode(child, id);
208  }
static IQueryPlanNode ReadChildNode(BinaryReader reader)
override void Deveel.Data.Sql.Query.QueryPlanSerializers.CacheNodePointSerializer.Serialize ( CachePointNode  node,
BinaryWriter  writer 
)
inline

Definition at line 199 of file QueryPlanSerializers.cs.

199  {
200  WriteChildNode(writer, node.Child);
201  writer.Write(node.Id);
202  }
static void WriteChildNode(BinaryWriter writer, IQueryPlanNode node)

The documentation for this class was generated from the following file: