Method | Description | |
---|---|---|
GraphViewParser ( ) : System | ||
Parse ( TextReader queryInput, IList |
Parses a GraphView query into a syntax tree. The parser re-uses the T-SQL parser by masking graph-extended query constructs with comments first and then putting them back into the syntax tree.
|
|
ParseAlterTableAddNodeTableColumnStatement ( string queryStr, List |
Parses a ALTER TABLE ADD PROPERTY/EDGE statement. The parser first replaces column annotations with white space, then uses T-SQL parser to parse it, and finally interprets the column annotations.
|
|
ParseAlterTableDropNodeTableColumnStatement ( string queryStr, IList |
Parses a ALTER TABLE DROP COLUMN statement.
|
|
ParseCreateNodeEdgeViewStatement ( string query, IList |
||
ParseCreateNodeTableStatement ( string queryStr, List |
Parses a CREATE TABLE statement. The parser first replaces column annotations with white space, then uses T-SQL parser to parse it, and finally interprets the column annotations.
|
Method | Description | |
---|---|---|
ExtractMatchClause ( ) : void | ||
FindReplaceGraphModificationStatements ( IList |
Finds all graph modification statements (INSERT NODE, INSERT EDGE, DELETE NODE, DELETE EDGE), records their positions in the script as a list of annotations, and replaces them by INSERT and DELETE, so that the token list can be parsed by the T-SQL parser.
|
|
ParseDataType ( IList |
||
ParseIdentifier ( IList |
||
ParseIntegerLiteral ( IList |
||
ParseLiteralList ( IList |
||
ParseMatchClause ( IList |
||
ParseMatchPath ( IList |
||
ParseMatchPathEdge ( IList |
||
ParseMatchPathPart ( IList |
||
ParseMaxLiteral ( IList |
||
ParseMultiPartIdentifier ( IList |
||
ParseNestedObject ( List |
||
ParseNodeTableColumn ( IList |
||
ParseParameterizedDataType ( IList |
||
ParseQuotedIdentifier ( IList |
||
ParseSchemaObjectName ( IList |
||
ReadToken ( IList |
||
ReadToken ( IList |
||
ReadToken ( List |
||
ReadToken ( List |
public Parse ( TextReader queryInput, IList |
||
queryInput | TextReader | The query string |
errors | IList |
A list of parsing errors |
return |
public ParseAlterTableAddNodeTableColumnStatement ( string queryStr, List |
||
queryStr | string | The CREATE TABLE statement creating a ndoe table |
nodeTableColumns | List |
A list of columns of the node table |
errors | IList |
Parsing errors |
return |
public ParseAlterTableDropNodeTableColumnStatement ( string queryStr, IList |
||
queryStr | string | The CREATE TABLE statement creating a ndoe table |
errors | IList |
Parsing errors |
return |
public ParseCreateNodeEdgeViewStatement ( string query, IList |
||
query | string | |
errors | IList |
|
return |
public ParseCreateNodeTableStatement ( string queryStr, List |
||
queryStr | string | The CREATE TABLE statement creating a ndoe table |
nodeTableColumns | List |
A list of columns of the node table |
errors | IList |
Parsing errors |
return |