C# Class Neo4jClient.Gremlin.GremlinQueryExtensions

Show file Open project: albumprinter/Neo4jClient

Public Methods

Method Description
AddBlock ( this baseQuery, string text ) : IGremlinQuery
AddCopySplitBlock ( this baseQuery, string text, IGremlinQuery queries ) : IGremlinQuery
AddFilterBlock ( this baseQuery, string text, IEnumerable filters, System.StringComparison comparison ) : IGremlinQuery
AddIfThenElseBlock ( this baseQuery, string ifThenElseText, IGremlinQuery ifExpression, IGremlinQuery ifThen, IGremlinQuery ifElse ) : IGremlinQuery
PrependVariablesToBlock ( this baseQuery, IGremlinQuery query ) : IGremlinQuery
ToDebugQueryText ( this query ) : string

Private Methods

Method Description
RebuildParametersAndDeclarations ( IGremlinQuery query, object>.Dictionary paramsDictionary, List declarations, int &nextParamaterIndex, string &rootQuery ) : string

Method Details

AddBlock() public static method

public static AddBlock ( this baseQuery, string text ) : IGremlinQuery
baseQuery this
text string
return IGremlinQuery

AddCopySplitBlock() public static method

public static AddCopySplitBlock ( this baseQuery, string text, IGremlinQuery queries ) : IGremlinQuery
baseQuery this
text string
queries IGremlinQuery
return IGremlinQuery

AddFilterBlock() public static method

public static AddFilterBlock ( this baseQuery, string text, IEnumerable filters, System.StringComparison comparison ) : IGremlinQuery
baseQuery this
text string
filters IEnumerable
comparison System.StringComparison
return IGremlinQuery

AddIfThenElseBlock() public static method

public static AddIfThenElseBlock ( this baseQuery, string ifThenElseText, IGremlinQuery ifExpression, IGremlinQuery ifThen, IGremlinQuery ifElse ) : IGremlinQuery
baseQuery this
ifThenElseText string
ifExpression IGremlinQuery
ifThen IGremlinQuery
ifElse IGremlinQuery
return IGremlinQuery

PrependVariablesToBlock() public static method

public static PrependVariablesToBlock ( this baseQuery, IGremlinQuery query ) : IGremlinQuery
baseQuery this
query IGremlinQuery
return IGremlinQuery

ToDebugQueryText() public static method

public static ToDebugQueryText ( this query ) : string
query this
return string