- CannotBeNullException - Exception in com.github.sergdelft.sqlcorgi.exceptions
-
Exception that can be used to alert users that an item cannot be null.
- CannotBeNullException() - Constructor for exception com.github.sergdelft.sqlcorgi.exceptions.CannotBeNullException
-
Parameterless Constructor for the CannotBeNullException class.
- CannotBeNullException(String) - Constructor for exception com.github.sergdelft.sqlcorgi.exceptions.CannotBeNullException
-
Constructor that accepts a message.
- CannotBeParsedException - Exception in com.github.sergdelft.sqlcorgi.exceptions
-
Exception that can be used to alert users that a certain input cannot be parsed by our parser.
- CannotBeParsedException() - Constructor for exception com.github.sergdelft.sqlcorgi.exceptions.CannotBeParsedException
-
Parameterless Constructor for the CannotBeParsedException class.
- CannotBeParsedException(String) - Constructor for exception com.github.sergdelft.sqlcorgi.exceptions.CannotBeParsedException
-
Constructor that accepts a message.
- Column - Class in com.github.sergdelft.sqlcorgi.schema
-
Column contains all relevant database column data.
- Column(String, boolean, boolean, Column.DataType) - Constructor for class com.github.sergdelft.sqlcorgi.schema.Column
-
Constructor to instantiate a column.
- Column.DataType - Enum in com.github.sergdelft.sqlcorgi.schema
-
Data type enum.
- com.github.sergdelft.sqlcorgi - package com.github.sergdelft.sqlcorgi
-
The root of the project.
- com.github.sergdelft.sqlcorgi.exceptions - package com.github.sergdelft.sqlcorgi.exceptions
-
Package with custom exceptions to throw when things go awry.
- com.github.sergdelft.sqlcorgi.query - package com.github.sergdelft.sqlcorgi.query
-
This package contains functionality that facilitates the manipulation of queries.
- com.github.sergdelft.sqlcorgi.schema - package com.github.sergdelft.sqlcorgi.schema
-
This package contains the data structure used to represent database schemas.
- com.github.sergdelft.sqlcorgi.util - package com.github.sergdelft.sqlcorgi.util
-
This package contains all the utility classes for the project.
- com.github.sergdelft.sqlcorgi.util.cloner - package com.github.sergdelft.sqlcorgi.util.cloner
-
Classes in this package can be used to create deep copies of JSQLParser objects.
- com.github.sergdelft.sqlcorgi.visitors - package com.github.sergdelft.sqlcorgi.visitors
-
This package contains all of the visitors used by the rule generator.
- com.github.sergdelft.sqlcorgi.visitors.join - package com.github.sergdelft.sqlcorgi.visitors.join
-
This package contains visitors used for traversing and mutating join operators (JOIN).
- com.github.sergdelft.sqlcorgi.visitors.select - package com.github.sergdelft.sqlcorgi.visitors.select
-
This package contains visitors used for traversing and mutating select operators (WHERE and HAVING).
- com.github.sergdelft.sqlcorgi.visitors.subqueries - package com.github.sergdelft.sqlcorgi.visitors.subqueries
-
This package contains visitors used when generating coverage targets for subqueries.
- copy(Expression) - Static method in class com.github.sergdelft.sqlcorgi.util.cloner.ExpressionCloner
-
Creates a deep copy of an Expression.
- copy(ItemsList) - Static method in class com.github.sergdelft.sqlcorgi.util.cloner.ExpressionCloner
-
Creates a deep copy of an ItemsList.
- copy(FromItem) - Static method in class com.github.sergdelft.sqlcorgi.util.cloner.SelectCloner
-
Creates a deep copy of a FromItem.
- copy(SelectBody) - Static method in class com.github.sergdelft.sqlcorgi.util.cloner.SelectCloner
-
Creates a deep copy of a SelectBody.
- copy(SelectItem) - Static method in class com.github.sergdelft.sqlcorgi.util.cloner.SelectCloner
-
Creates a deep copy of a SelectItem.
- COUNT_STRING - Static variable in class com.github.sergdelft.sqlcorgi.util.AggregateComponentFactory
-
- coverSubqueries(PlainSelect) - Static method in class com.github.sergdelft.sqlcorgi.SubqueryGenerator
-
Generates coverage rules for subqueries in the given PlainSelect.
- createCountAllColumns() - Static method in class com.github.sergdelft.sqlcorgi.util.AggregateComponentFactory
-
Generates a COUNT(*) object.
- createCountColumn(Expression, boolean) - Static method in class com.github.sergdelft.sqlcorgi.util.AggregateComponentFactory
-
Generates a COUNT(DISTINCT __) object.
- createEqualsTo(Expression, Expression) - Static method in class com.github.sergdelft.sqlcorgi.util.Expressions
-
Creates an EqualsTo instance.
- createGreaterThanOne(Expression) - Static method in class com.github.sergdelft.sqlcorgi.util.AggregateComponentFactory
-
Generates a `__ GREATER THAN 1` expression.
- Schema - Class in com.github.sergdelft.sqlcorgi.schema
-
The schema data structure allows for storing the database schema in a systematic manner.
- Schema(String, List<Table>) - Constructor for class com.github.sergdelft.sqlcorgi.schema.Schema
-
Creates an instance of a Schema.
- SelectCloner - Class in com.github.sergdelft.sqlcorgi.util.cloner
-
This visitor can be used to create a deep copy of a SelectBody.
- SelectExpressionVisitor - Class in com.github.sergdelft.sqlcorgi.visitors.select
-
A visitor for select expressions, i.e.
- SelectExpressionVisitor(List<Expression>) - Constructor for class com.github.sergdelft.sqlcorgi.visitors.select.SelectExpressionVisitor
-
Creates a new visitor which can be used to generate mutations of select operators.
- SelectStatementVisitor - Class in com.github.sergdelft.sqlcorgi.visitors
-
A visitor used for generating coverage targets of a SELECT statement.
- SelectStatementVisitor(Set<String>) - Constructor for class com.github.sergdelft.sqlcorgi.visitors.SelectStatementVisitor
-
Creates a new visitor which can be used to generate coverage rules for queries.
- SelectValueVisitor - Class in com.github.sergdelft.sqlcorgi.visitors.select
-
A visitor for values used in equality operators in SELECT expressions.
- SelectValueVisitor(Column, List<Expression>) - Constructor for class com.github.sergdelft.sqlcorgi.visitors.select.SelectValueVisitor
-
Creates a new visitor which can be used to generate mutations of values in select operators.
- setJoinToInner(Join) - Static method in class com.github.sergdelft.sqlcorgi.util.Expressions
-
Changes the given Join to an inner join.
- setNullColumns(List<Column>) - Method in class com.github.sergdelft.sqlcorgi.visitors.ExpressionTraverserVisitor
-
- setOnColumns(List<Column>) - Method in class com.github.sergdelft.sqlcorgi.visitors.ExpressionTraverserVisitor
-
- setTables(Set<String>) - Method in class com.github.sergdelft.sqlcorgi.visitors.ExpressionTraverserVisitor
-
Set the tables of this instance.
- SQLCorgi - Class in com.github.sergdelft.sqlcorgi
-
The entry point of the coverage rule generator.
- STRING - com.github.sergdelft.sqlcorgi.schema.Column.DataType
-
- SubqueryFinder - Class in com.github.sergdelft.sqlcorgi.visitors.subqueries
-
Finds all subqueries in an Expression and collects their string representations and references.
- SubqueryFinder() - Constructor for class com.github.sergdelft.sqlcorgi.visitors.subqueries.SubqueryFinder
-
- SubqueryGenerator - Class in com.github.sergdelft.sqlcorgi
-
This class contains functionality needed to generate coverage rules for subqueries.
- SubqueryRemover - Class in com.github.sergdelft.sqlcorgi.visitors.subqueries
-
This visitor removes subqueries from an Expression and repairs it.
- SubqueryRemover(String) - Constructor for class com.github.sergdelft.sqlcorgi.visitors.subqueries.SubqueryRemover
-
Creates a new instance that will remove the provided subquery from the Expressions it visits.