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

Public Member Functions

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

Detailed Description

Definition at line 374 of file QueryPlanSerializers.cs.

Member Function Documentation

override GroupNode Deveel.Data.Sql.Query.QueryPlanSerializers.GroupNodeSerializer.Deserialize ( BinaryReader  reader)
inline

Definition at line 385 of file QueryPlanSerializers.cs.

385  {
386  var child = ReadChildNode(reader);
387  var colNames = ReadObjectNames(reader);
388  var groupMax = ObjectName.Deserialize(reader);
389  var functions = ReadExpressions(reader);
390  var names = ReadStrings(reader);
391 
392  return new GroupNode(child, colNames, groupMax, functions, names);
393  }
static IQueryPlanNode ReadChildNode(BinaryReader reader)
static ObjectName[] ReadObjectNames(BinaryReader reader)
static string[] ReadStrings(BinaryReader reader)
static SqlExpression[] ReadExpressions(BinaryReader reader)
override void Deveel.Data.Sql.Query.QueryPlanSerializers.GroupNodeSerializer.Serialize ( GroupNode  node,
BinaryWriter  writer 
)
inline

Definition at line 375 of file QueryPlanSerializers.cs.

375  {
376  WriteChildNode(writer, node.Child);
377  WriteObjectNames(node.ColumnNames, writer);
378 
379  ObjectName.Serialize(node.GroupMaxColumn, writer);
380 
381  WriteExpressions(node.Functions, writer);
382  WriteStrings(node.Names, writer);
383  }
static void WriteObjectNames(ObjectName[] names, BinaryWriter writer)
static void WriteExpressions(SqlExpression[] expressions, BinaryWriter writer)
static void WriteStrings(string[] array, BinaryWriter writer)
static void WriteChildNode(BinaryWriter writer, IQueryPlanNode node)

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