Skip to main content

Namespace Workspace.XBR.Xperiflow.Parsing.SQL

Classes​

AdminOnlyTablesSqlQueryBehavior​

BadWhereClauseSqlQueryBehavior​

Interface for determining if a SQL query is safe or not based on the presence of a tautological WHERE clause

DestructiveSqlQueryBehavior​

Class for determining if a SQL query is safe or not based on the presence of destructive statements (DROP, DELETE, TRUNCATE)

DynamicSqlQueryBehavior​

Class for determining if a SQL query is safe or not based on the presence of dynamic execution (EXEC)

ExpressionEvaluator​

Class for evaluating TSQL boolean expressions

GrantRevokeSqlQueryBehavior​

Class for determining if a SQL query is safe or not based on the presence of permission-altering statements (GRANT, REVOKE)

InfiniteLoopSqlQueryBehavior​

Class for determining if a SQL query is safe or not based on the presence of infinite loops

PostgreSqlParserBaseSafetyListener​

Encapsulates the TSqlParserBaseListener class with additional reused parameters

QueryBehaviorResponse​

Encapsulates information about query behavior

QueryEvaluator​

Utility class that encapsulates the query evaluation process

SqlParseManager​

Manager for parsing SQL queries. Implements one method: CheckAllBehaviors.

SqlParseTreeBuilder​

Utility class for creating a parse tree from a query string

SqlParseTreeSafetyListenerBuilder​

Utility class for creating a parse tree safety listener from a query string

TSqlParserBaseSafetyListener​

Encapsulates the TSqlParserBaseListener class with additional reused parameters

WriteSqlQueryBehavior​

Class for determining if a SQL query is safe or not based on the presence of write-level statements (INSERT, UPDATE, ALTER, CREATE)

Interfaces​

IParseTreeSafetyListener​

Encapsulates the TSqlParserBaseListener class with additional reused parameters

ISqlParseManager​

Interface for the SqlParseManager used to manage parsing a SQL query to determine if it's safe and its permission level

ISqlQueryBehavior​

Interface for determining if a SQL query is safe or not according to criteria implemented in child class

ISqlQueryBehaviorFactory​

Interface that represents a factory for generating ISqlQueryBehavior instances

Enums​

ParseTreeSafetyListenerType​

Enum for the type of listener to use for parsing SQL queries

PermissionLevel​

Permission levels for executing a query

Was this page helpful?