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

Public Member Functions

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

Detailed Description

Definition at line 542 of file QueryPlanSerializers.cs.

Member Function Documentation

override SimplePatternSelectNode Deveel.Data.Sql.Query.QueryPlanSerializers.SimplePatternSelectNodeSerializer.Deserialize ( BinaryReader  reader)
inline

Definition at line 548 of file QueryPlanSerializers.cs.

548  {
549  var child = ReadChildNode(reader);
550  var expression = SqlExpression.Deserialize(reader);
551 
552  return new SimplePatternSelectNode(child, expression);
553  }
static IQueryPlanNode ReadChildNode(BinaryReader reader)
static SqlExpression Deserialize(BinaryReader reader)
Defines the base class for instances that represent SQL expression tree nodes.
override void Deveel.Data.Sql.Query.QueryPlanSerializers.SimplePatternSelectNodeSerializer.Serialize ( SimplePatternSelectNode  node,
BinaryWriter  writer 
)
inline

Definition at line 543 of file QueryPlanSerializers.cs.

543  {
544  WriteChildNode(writer, node.Child);
545  SqlExpression.Serialize(node.Expression, writer);
546  }
static void Serialize(SqlExpression expression, BinaryWriter writer)
Defines the base class for instances that represent SQL expression tree nodes.
static void WriteChildNode(BinaryWriter writer, IQueryPlanNode node)

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