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

Public Member Functions

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

Detailed Description

Definition at line 635 of file QueryPlanSerializers.cs.

Member Function Documentation

override LimitNode Deveel.Data.Sql.Query.QueryPlanSerializers.LimitNodeSerializer.Deserialize ( BinaryReader  reader)
inline

Definition at line 642 of file QueryPlanSerializers.cs.

642  {
643  var child = ReadChildNode(reader);
644  var offset = reader.ReadInt64();
645  var count = reader.ReadInt64();
646 
647  return new LimitNode(child, offset, count);
648  }
static IQueryPlanNode ReadChildNode(BinaryReader reader)
override void Deveel.Data.Sql.Query.QueryPlanSerializers.LimitNodeSerializer.Serialize ( LimitNode  obj,
BinaryWriter  writer 
)
inline

Definition at line 636 of file QueryPlanSerializers.cs.

636  {
637  WriteChildNode(writer, obj.Child);
638  writer.Write(obj.Offset);
639  writer.Write(obj.Count);
640  }
static void WriteChildNode(BinaryWriter writer, IQueryPlanNode node)

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