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

Public Member Functions

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

Detailed Description

Definition at line 238 of file QueryPlanSerializers.cs.

Member Function Documentation

override ConstantSelectNode Deveel.Data.Sql.Query.QueryPlanSerializers.ConstantSelectNodeSerializer.Deserialize ( BinaryReader  reader)
inline

Definition at line 244 of file QueryPlanSerializers.cs.

244  {
245  var child = ReadChildNode(reader);
246  var expression = SqlExpression.Deserialize(reader);
247 
248  return new ConstantSelectNode(child, expression);
249  }
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.ConstantSelectNodeSerializer.Serialize ( ConstantSelectNode  node,
BinaryWriter  writer 
)
inline

Definition at line 239 of file QueryPlanSerializers.cs.

239  {
240  WriteChildNode(writer, node.Child);
241  SqlExpression.Serialize(node.Expression, writer);
242  }
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: