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

Public Member Functions

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

Detailed Description

Definition at line 295 of file QueryPlanSerializers.cs.

Member Function Documentation

override EquiJoinNode Deveel.Data.Sql.Query.QueryPlanSerializers.EquiJoinNodeSerializer.Deserialize ( BinaryReader  reader)
inline

Definition at line 304 of file QueryPlanSerializers.cs.

304  {
305  var leftNode = ReadChildNode(reader);
306  var rightNode = ReadChildNode(reader);
307 
308  var leftColNames = ReadObjectNames(reader);
309  var rightColNames = ReadObjectNames(reader);
310 
311  return new EquiJoinNode(leftNode, rightNode, leftColNames, rightColNames);
312  }
static IQueryPlanNode ReadChildNode(BinaryReader reader)
static ObjectName[] ReadObjectNames(BinaryReader reader)
override void Deveel.Data.Sql.Query.QueryPlanSerializers.EquiJoinNodeSerializer.Serialize ( EquiJoinNode  node,
BinaryWriter  writer 
)
inline

Definition at line 296 of file QueryPlanSerializers.cs.

296  {
297  WriteChildNode(writer, node.Left);
298  WriteChildNode(writer, node.Right);
299 
300  WriteObjectNames(node.LeftColumns, writer);
301  WriteObjectNames(node.RightColumns, writer);
302  }
static void WriteObjectNames(ObjectName[] names, BinaryWriter writer)
static void WriteChildNode(BinaryWriter writer, IQueryPlanNode node)

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