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

Public Member Functions

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

Detailed Description

Definition at line 615 of file QueryPlanSerializers.cs.

Member Function Documentation

override SubsetNode Deveel.Data.Sql.Query.QueryPlanSerializers.SubsetNodeSerializer.Deserialize ( BinaryReader  reader)
inline

Definition at line 622 of file QueryPlanSerializers.cs.

622  {
623  var child = ReadChildNode(reader);
624  var columnNames = ReadObjectNames(reader);
625  var aliasNames = ReadObjectNames(reader);
626 
627  return new SubsetNode(child, columnNames, aliasNames);
628  }
static IQueryPlanNode ReadChildNode(BinaryReader reader)
static ObjectName[] ReadObjectNames(BinaryReader reader)
override void Deveel.Data.Sql.Query.QueryPlanSerializers.SubsetNodeSerializer.Serialize ( SubsetNode  node,
BinaryWriter  writer 
)
inline

Definition at line 616 of file QueryPlanSerializers.cs.

616  {
617  WriteChildNode(writer, node.Child);
618  WriteObjectNames(node.OriginalColumnNames, writer);
619  WriteObjectNames(node.AliasColumnNames, writer);
620  }
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: