DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Static Public Member Functions | List of all members
Deveel.Data.Sql.Query.QueryPlanNodeExtensions Class Reference

Static Public Member Functions

static IList< ObjectNameDiscoverTableNames (this IQueryPlanNode node)
 
static IList< QueryReferenceDiscoverQueryReferences (this IQueryPlanNode node, int level)
 
static IList< QueryReferenceDiscoverQueryReferences (this IQueryPlanNode node, int level, IList< QueryReference > references)
 
static SqlBinary AsBinary (this IQueryPlanNode planNode, ISystemContext context)
 

Detailed Description

Definition at line 24 of file QueryPlanNodeExtensions.cs.

Member Function Documentation

static SqlBinary Deveel.Data.Sql.Query.QueryPlanNodeExtensions.AsBinary ( this IQueryPlanNode  planNode,
ISystemContext  context 
)
inlinestatic

Definition at line 39 of file QueryPlanNodeExtensions.cs.

39  {
40  using (var memoryStream = new MemoryStream()) {
41  context.SerializeQueryPlan(planNode, memoryStream);
42  memoryStream.Flush();
43  return new SqlBinary(memoryStream.ToArray());
44  }
45  }
Implements a BINARY object that handles a limited number of bytes, not exceding MaxLength.
Definition: SqlBinary.cs:27
static IList<QueryReference> Deveel.Data.Sql.Query.QueryPlanNodeExtensions.DiscoverQueryReferences ( this IQueryPlanNode  node,
int  level 
)
inlinestatic

Definition at line 30 of file QueryPlanNodeExtensions.cs.

30  {
31  return DiscoverQueryReferences(node, level, new List<QueryReference>());
32  }
static IList< QueryReference > DiscoverQueryReferences(this IQueryPlanNode node, int level)
static IList<QueryReference> Deveel.Data.Sql.Query.QueryPlanNodeExtensions.DiscoverQueryReferences ( this IQueryPlanNode  node,
int  level,
IList< QueryReference references 
)
inlinestatic

Definition at line 34 of file QueryPlanNodeExtensions.cs.

34  {
35  // TODO:
36  return references;
37  }
static IList<ObjectName> Deveel.Data.Sql.Query.QueryPlanNodeExtensions.DiscoverTableNames ( this IQueryPlanNode  node)
inlinestatic

Definition at line 25 of file QueryPlanNodeExtensions.cs.

25  {
26  var visitor = new QueryNodeTableNameVisitor();
27  return visitor.Discover(node);
28  }

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