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

Public Member Functions

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

Detailed Description

Definition at line 277 of file QueryPlanSerializers.cs.

Member Function Documentation

override DistinctNode Deveel.Data.Sql.Query.QueryPlanSerializers.DistinctNodeSerializer.Deserialize ( BinaryReader  reader)
inline

Definition at line 283 of file QueryPlanSerializers.cs.

283  {
284  var child = ReadChildNode(reader);
285  var names = ReadObjectNames(reader);
286 
287  return new DistinctNode(child, names);
288  }
static IQueryPlanNode ReadChildNode(BinaryReader reader)
static ObjectName[] ReadObjectNames(BinaryReader reader)
override void Deveel.Data.Sql.Query.QueryPlanSerializers.DistinctNodeSerializer.Serialize ( DistinctNode  node,
BinaryWriter  writer 
)
inline

Definition at line 278 of file QueryPlanSerializers.cs.

278  {
279  WriteChildNode(writer, node.Child);
280  WriteObjectNames(node.ColumnNames, writer);
281  }
static void WriteObjectNames(ObjectName[] names, BinaryWriter writer)
static void WriteChildNode(BinaryWriter writer, IQueryPlanNode node)

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