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

Public Member Functions

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

Detailed Description

Definition at line 256 of file QueryPlanSerializers.cs.

Member Function Documentation

override CreateFunctionsNode Deveel.Data.Sql.Query.QueryPlanSerializers.CreateFunctionNodeSerializer.Deserialize ( BinaryReader  reader)
inline

Definition at line 263 of file QueryPlanSerializers.cs.

263  {
264  var child = ReadChildNode(reader);
265 
266  var functions = ReadExpressions(reader);
267  var names = ReadStrings(reader);
268 
269  return new CreateFunctionsNode(child, functions, names);
270  }
static IQueryPlanNode ReadChildNode(BinaryReader reader)
static string[] ReadStrings(BinaryReader reader)
static SqlExpression[] ReadExpressions(BinaryReader reader)
override void Deveel.Data.Sql.Query.QueryPlanSerializers.CreateFunctionNodeSerializer.Serialize ( CreateFunctionsNode  node,
BinaryWriter  writer 
)
inline

Definition at line 257 of file QueryPlanSerializers.cs.

257  {
258  WriteChildNode(writer, node.Child);
259  WriteExpressions(node.Functions, writer);
260  WriteStrings(node.Names, writer);
261  }
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: