Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AllureBuilder - Class in net.bugreaper.modules.db.allurereporter
- AllureReporter - Class in net.bugreaper.modules.db.allurereporter
- arrayCondition2Mapper(Object[]) - Method in class net.bugreaper.modules.db.jdbc.builders.QueryConditionsBuilder
- arrayCondition3Mapper(Object[]) - Method in class net.bugreaper.modules.db.jdbc.builders.QueryConditionsBuilder
- arrayCondition3Mapper(Object[]) - Method in class net.bugreaper.modules.db.jdbc.builders.QueryConditionsBuilderMariaDb
- arrayCondition3Mapper(Object[]) - Method in class net.bugreaper.modules.db.jdbc.builders.QueryConditionsBuilderMysql
- arrayCondition4Mapper(Object[]) - Method in class net.bugreaper.modules.db.jdbc.builders.QueryConditionsBuilder
- arrayCondition4Mapper(Object[]) - Method in class net.bugreaper.modules.db.jdbc.builders.QueryConditionsBuilderOracle
-
Used for Oracle Date\DateTime select conditions
- assertCountInTableBuilder(String, String, Object[][], String, int) - Method in class net.bugreaper.modules.db.jdbc.JdbcExecutor
- attachTableForDb(String, Object[][]) - Static method in class net.bugreaper.modules.db.allurereporter.AllureReporter
-
Method to create attach with table by:
B
- BASIC_CONDITIONS - Static variable in class net.bugreaper.modules.db.jdbc.builders.QueryConditionsBuilder
- basicConditionBuild(Object[]) - Static method in class net.bugreaper.modules.db.jdbc.builders.QueryConditionsBuilder
C
- COUNT - Static variable in class net.bugreaper.modules.db.jdbc.JdbcExecutor
- CUSTOM_DB - Enum constant in enum class net.bugreaper.modules.db.enums.DbTypes
- CustomDb - Class in net.bugreaper.modules.db
-
CustomDb helper that provides a common API for operating with SQL-database that is not yet fully supported.
- CustomDb() - Constructor for class net.bugreaper.modules.db.CustomDb
-
Constructs a CustomDb client for a database that is not yet fully supported, using YAML configuration.
- CustomDb(String, String, String) - Constructor for class net.bugreaper.modules.db.CustomDb
-
Creates a new Custom database helper instance with the specified connection parameters.
D
- DataSource - Class in net.bugreaper.modules.db.jdbc.connection
- dbTypeKey - Variable in class net.bugreaper.modules.db.jdbc.builders.QueryConditionsBuilder
- DbTypes - Enum Class in net.bugreaper.modules.db.enums
-
Enumeration of supported database types.
- deleteFromTable(String) - Method in interface net.bugreaper.modules.db.jdbc.interfaces.SqlPost
-
Deletes all records from the table.
- deleteFromTable(String) - Method in class net.bugreaper.modules.db.jdbc.JdbcExecutor
- deleteFromTable(String, Object[][]) - Method in interface net.bugreaper.modules.db.jdbc.interfaces.SqlPost
-
Deletes all records from the table matching the specified conditions (in an Object[][] array).
- deleteFromTable(String, Object[][]) - Method in class net.bugreaper.modules.db.jdbc.JdbcExecutor
- deleteFromTable(String, String) - Method in interface net.bugreaper.modules.db.jdbc.interfaces.SqlPost
-
Deletes all records from the table matching the specified conditions (hardcoded SQL condition string).
- deleteFromTable(String, String) - Method in class net.bugreaper.modules.db.jdbc.JdbcExecutor
E
- executeQueryReporter(String) - Static method in class net.bugreaper.modules.db.allurereporter.AllureReporter
-
Method to create attachment with executed query
G
- getColumnsQuery - Variable in class net.bugreaper.modules.db.jdbc.JdbcExecutor
- getConfigSummary() - Method in interface net.bugreaper.modules.db.jdbc.interfaces.SqlConfig
-
Returns a human-readable summary of the current SQL configuration.
- getConfigSummary() - Method in class net.bugreaper.modules.db.jdbc.JdbcExecutor
- getConnection() - Method in class net.bugreaper.modules.db.jdbc.connection.DataSource
- getInstance() - Static method in class net.bugreaper.modules.db.CustomDb
-
Returns the instance of
CustomDbwith config builderCustomDb(). - getInstance() - Static method in class net.bugreaper.modules.db.MariaDb
- getInstance() - Static method in class net.bugreaper.modules.db.MsSQL
- getInstance() - Static method in class net.bugreaper.modules.db.MySQL
- getInstance() - Static method in class net.bugreaper.modules.db.OracleDb
-
Returns the instance of
OracleDbwith config builderOracleDb(). - getInstance() - Static method in class net.bugreaper.modules.db.PostgreSQL
-
Returns the instance of
PostgreSQLwith config builderPostgreSQL(). - getSqlResultForCount(String, String) - Method in class net.bugreaper.modules.db.jdbc.connection.JdbcDirectivesHikari
- getSqlResultList(String, String...) - Method in class net.bugreaper.modules.db.jdbc.connection.JdbcDirectivesHikari
- getTableColumns(String) - Method in class net.bugreaper.modules.db.jdbc.JdbcExecutor
-
Returns the list of columns in the table.
I
- insertIntoTable(String, Object[][]) - Method in interface net.bugreaper.modules.db.jdbc.interfaces.SqlPost
-
Merge arrays with template data
- insertIntoTable(String, Object[][]) - Method in class net.bugreaper.modules.db.jdbc.JdbcExecutor
- insertIntoTable(String, Object[][], Object[][]) - Method in interface net.bugreaper.modules.db.jdbc.interfaces.SqlPost
-
Merge arrays with data for insert into table
- insertIntoTable(String, Object[][], Object[][]) - Method in class net.bugreaper.modules.db.jdbc.JdbcExecutor
- insertIntoTable(String, String) - Method in interface net.bugreaper.modules.db.jdbc.interfaces.SqlPost
-
Merge arrays with template data
- insertIntoTable(String, String) - Method in class net.bugreaper.modules.db.jdbc.JdbcExecutor
J
- jdbc - Variable in class net.bugreaper.modules.db.jdbc.JdbcExecutor
- JdbcDirectivesHikari - Class in net.bugreaper.modules.db.jdbc.connection
- JdbcDirectivesHikari(String, String, String, String) - Constructor for class net.bugreaper.modules.db.jdbc.connection.JdbcDirectivesHikari
- JdbcExecutor<T extends JdbcExecutor<T>> - Class in net.bugreaper.modules.db.jdbc
-
Parent class for interacting with Databases
- JdbcExecutor(String, String, String, String, DbTypes) - Constructor for class net.bugreaper.modules.db.jdbc.JdbcExecutor
- JdbcExecutor(DbTypes, String) - Constructor for class net.bugreaper.modules.db.jdbc.JdbcExecutor
-
Constructs db client configuration.
- JdbcExecutorException - Exception in net.bugreaper.modules.db.exceptions
-
Exceptions that can be thrown during JdbcExecutor use
- JdbcExecutorException(String) - Constructor for exception net.bugreaper.modules.db.exceptions.JdbcExecutorException
-
Constructs a new exception with the specified detail message
- JsonToArrayMapper - Class in net.bugreaper.modules.db.mapper
-
Utility class for converting a flat JSON object into a two-dimensional
Object[][]array. - jsonToObjectArray(String, boolean) - Static method in class net.bugreaper.modules.db.mapper.JsonToArrayMapper
-
Converts a flat JSON object into a two-dimensional
Object[][]array.
L
- Log - Class in net.bugreaper.modules.db.logger
-
Utility class that provides a centralized application logger.
- LOGGER - Static variable in class net.bugreaper.modules.db.logger.Log
-
Shared logger instance for the application.
M
- MARIA_DB - Enum constant in enum class net.bugreaper.modules.db.enums.DbTypes
- MariaDb - Class in net.bugreaper.modules.db
-
MariaDb helper that provides a common API for operating with MariaDb.
- MariaDb() - Constructor for class net.bugreaper.modules.db.MariaDb
-
Constructs a MariaDB client using YAML configuration.
- MariaDb(String, String, String) - Constructor for class net.bugreaper.modules.db.MariaDb
-
Creates a new MariaDb database helper instance with the specified connection parameters.
- MS_SQL - Enum constant in enum class net.bugreaper.modules.db.enums.DbTypes
- MsSQL - Class in net.bugreaper.modules.db
-
MsSQL helper that provides a common API for operating with MsSQL.
- MsSQL() - Constructor for class net.bugreaper.modules.db.MsSQL
-
Constructs a MsSQL client using YAML configuration.
- MsSQL(String, String, String) - Constructor for class net.bugreaper.modules.db.MsSQL
-
Creates a new MsSQL database helper instance with the specified connection parameters.
- MY_SQL - Enum constant in enum class net.bugreaper.modules.db.enums.DbTypes
- MySQL - Class in net.bugreaper.modules.db
-
MySQL helper that provides a common API for operating with MySQL.
- MySQL() - Constructor for class net.bugreaper.modules.db.MySQL
-
Constructs MySQL client configuration.
- MySQL(String, String, String) - Constructor for class net.bugreaper.modules.db.MySQL
-
Creates a new MySQL database helper instance with the specified connection parameters.
N
- net.bugreaper.modules.db - package net.bugreaper.modules.db
- net.bugreaper.modules.db.allurereporter - package net.bugreaper.modules.db.allurereporter
- net.bugreaper.modules.db.enums - package net.bugreaper.modules.db.enums
- net.bugreaper.modules.db.exceptions - package net.bugreaper.modules.db.exceptions
- net.bugreaper.modules.db.jdbc - package net.bugreaper.modules.db.jdbc
- net.bugreaper.modules.db.jdbc.builders - package net.bugreaper.modules.db.jdbc.builders
- net.bugreaper.modules.db.jdbc.connection - package net.bugreaper.modules.db.jdbc.connection
- net.bugreaper.modules.db.jdbc.interfaces - package net.bugreaper.modules.db.jdbc.interfaces
- net.bugreaper.modules.db.logger - package net.bugreaper.modules.db.logger
- net.bugreaper.modules.db.mapper - package net.bugreaper.modules.db.mapper
O
- ORACLE_DB - Enum constant in enum class net.bugreaper.modules.db.enums.DbTypes
- OracleDb - Class in net.bugreaper.modules.db
-
OracleDb helper that provides a common API for operating with OracleDb.
- OracleDb() - Constructor for class net.bugreaper.modules.db.OracleDb
-
Constructs an OracleDb client using YAML configuration.
- OracleDb(String, String, String) - Constructor for class net.bugreaper.modules.db.OracleDb
-
Creates a new Oracle database helper instance with the specified connection parameters.
P
- password - Variable in class net.bugreaper.modules.db.jdbc.JdbcExecutor
- POSTGRE_SQL - Enum constant in enum class net.bugreaper.modules.db.enums.DbTypes
- PostgreSQL - Class in net.bugreaper.modules.db
-
PostgreSQL helper that provides a common API for operating with PostgreSQL.
- PostgreSQL() - Constructor for class net.bugreaper.modules.db.PostgreSQL
-
Constructs a PostgreSQL client using YAML configuration.
- PostgreSQL(String, String, String) - Constructor for class net.bugreaper.modules.db.PostgreSQL
-
Creates a new PostgreSQL database helper instance with the specified connection parameters.
Q
- QueryBuilder - Class in net.bugreaper.modules.db.jdbc.builders
-
Class with builders from arrays (Object[][]) to sql scripts
- QueryBuilder(DbTypes) - Constructor for class net.bugreaper.modules.db.jdbc.builders.QueryBuilder
-
Creates a new
QueryBuilderinstance for the specified database type. - QueryBuilderException - Exception in net.bugreaper.modules.db.exceptions
-
Exceptions that can be thrown during QueryBuilder use
- QueryBuilderException(String) - Constructor for exception net.bugreaper.modules.db.exceptions.QueryBuilderException
-
Constructs a new exception with the specified detail message
- QueryBuilderException(String, Throwable) - Constructor for exception net.bugreaper.modules.db.exceptions.QueryBuilderException
-
Constructs a new exception with the specified detail message and cause.
- QueryConditionsBuilder - Class in net.bugreaper.modules.db.jdbc.builders
- QueryConditionsBuilder(DbTypes) - Constructor for class net.bugreaper.modules.db.jdbc.builders.QueryConditionsBuilder
- QueryConditionsBuilderMariaDb - Class in net.bugreaper.modules.db.jdbc.builders
- QueryConditionsBuilderMariaDb(DbTypes) - Constructor for class net.bugreaper.modules.db.jdbc.builders.QueryConditionsBuilderMariaDb
- QueryConditionsBuilderMysql - Class in net.bugreaper.modules.db.jdbc.builders
- QueryConditionsBuilderMysql(DbTypes) - Constructor for class net.bugreaper.modules.db.jdbc.builders.QueryConditionsBuilderMysql
- QueryConditionsBuilderOracle - Class in net.bugreaper.modules.db.jdbc.builders
- QueryConditionsBuilderOracle(DbTypes) - Constructor for class net.bugreaper.modules.db.jdbc.builders.QueryConditionsBuilderOracle
R
- recordExistsBuilder(String, String, Object[][], int) - Method in class net.bugreaper.modules.db.jdbc.JdbcExecutor
- renameTable(String) - Method in interface net.bugreaper.modules.db.jdbc.interfaces.SqlPost
-
Renames the specified table by adding the
"_X_"suffix. - renameTable(String) - Method in class net.bugreaper.modules.db.jdbc.JdbcExecutor
- renameTable(String) - Method in class net.bugreaper.modules.db.MsSQL
- renameTable(String) - Method in class net.bugreaper.modules.db.OracleDb
- renameTable(String) - Method in class net.bugreaper.modules.db.PostgreSQL
- reportHtmlIWantToSeeBuilder(String, Object[][]) - Static method in class net.bugreaper.modules.db.allurereporter.AllureBuilder
- reportHtmlTableAllBuilder(String, String[], Object[]) - Static method in class net.bugreaper.modules.db.allurereporter.AllureBuilder
- rollbackTable(String) - Method in interface net.bugreaper.modules.db.jdbc.interfaces.SqlPost
-
Rolls back the table name by removing the
"_X_"suffix added byrenameTable(java.lang.String). - rollbackTable(String) - Method in class net.bugreaper.modules.db.jdbc.JdbcExecutor
- rollbackTable(String) - Method in class net.bugreaper.modules.db.MsSQL
- rollbackTable(String) - Method in class net.bugreaper.modules.db.OracleDb
- rollbackTable(String) - Method in class net.bugreaper.modules.db.PostgreSQL
- runScript(String) - Method in interface net.bugreaper.modules.db.jdbc.interfaces.SqlPost
-
Executes the specified SQL script manually.
- runScript(String) - Method in class net.bugreaper.modules.db.jdbc.JdbcExecutor
- runScriptFromFile(String) - Method in interface net.bugreaper.modules.db.jdbc.interfaces.SqlPost
-
Executes an SQL script from a file.
- runScriptFromFile(String) - Method in class net.bugreaper.modules.db.jdbc.JdbcExecutor
S
- seeInDbByCondMethod(String, String) - Method in class net.bugreaper.modules.db.jdbc.JdbcExecutor
- seeRecordExistsInTable(String, Object[][]) - Method in interface net.bugreaper.modules.db.jdbc.interfaces.SqlGet
-
Asserts that the table has at least one record by conditions (in an Object[][] array).
- seeRecordExistsInTable(String, Object[][]) - Method in class net.bugreaper.modules.db.jdbc.JdbcExecutor
- seeRecordExistsInTable(String, String) - Method in interface net.bugreaper.modules.db.jdbc.interfaces.SqlGet
-
Asserts that the table has at least one record by conditions (in a JSON string).
- seeRecordExistsInTable(String, String) - Method in class net.bugreaper.modules.db.jdbc.JdbcExecutor
- seeRecordExistsInTableCustom(String, String) - Method in interface net.bugreaper.modules.db.jdbc.interfaces.SqlGet
-
Asserts that the table has at least one record by conditions (hardcoded SQL condition string).
- seeRecordExistsInTableCustom(String, String) - Method in class net.bugreaper.modules.db.jdbc.JdbcExecutor
- seeRowsCountInTableExactly(String, int) - Method in interface net.bugreaper.modules.db.jdbc.interfaces.SqlGet
-
Asserts that the table contains exactly the expected number of records.
- seeRowsCountInTableExactly(String, int) - Method in class net.bugreaper.modules.db.jdbc.JdbcExecutor
- seeRowsCountInTableExactly(String, Object[][], int) - Method in interface net.bugreaper.modules.db.jdbc.interfaces.SqlGet
-
Asserts that the table contains exactly the expected number of records matching the specified conditions (in an Object[][] array).
- seeRowsCountInTableExactly(String, Object[][], int) - Method in class net.bugreaper.modules.db.jdbc.JdbcExecutor
- seeRowsCountInTableExactly(String, String, int) - Method in interface net.bugreaper.modules.db.jdbc.interfaces.SqlGet
-
Asserts that the table contains exactly the expected number of records matching the specified conditions (in a JSON string).
- seeRowsCountInTableExactly(String, String, int) - Method in class net.bugreaper.modules.db.jdbc.JdbcExecutor
- seeRowsCountInTableExactlyCustom(String, String, int) - Method in interface net.bugreaper.modules.db.jdbc.interfaces.SqlGet
-
Asserts that the table contains exactly the expected number of records matching the specified conditions (hardcoded SQL conditions string).
- seeRowsCountInTableExactlyCustom(String, String, int) - Method in class net.bugreaper.modules.db.jdbc.JdbcExecutor
- seeTableIsEmpty(String) - Method in interface net.bugreaper.modules.db.jdbc.interfaces.SqlGet
-
Asserts that the table has no records.
- seeTableIsEmpty(String) - Method in class net.bugreaper.modules.db.jdbc.JdbcExecutor
- seeTableIsNotEmpty(String) - Method in interface net.bugreaper.modules.db.jdbc.interfaces.SqlGet
-
Asserts that the table is not empty.
- seeTableIsNotEmpty(String) - Method in class net.bugreaper.modules.db.jdbc.JdbcExecutor
- SELECT_ALL - Static variable in class net.bugreaper.modules.db.jdbc.JdbcExecutor
- self() - Method in class net.bugreaper.modules.db.jdbc.JdbcExecutor
- setAwaitMs(int) - Method in interface net.bugreaper.modules.db.jdbc.interfaces.SqlConfig
-
Configures the global await timeout for assertions that use await.
- setAwaitMs(int) - Method in class net.bugreaper.modules.db.jdbc.JdbcExecutor
- setTemplatesDirectory(String) - Method in interface net.bugreaper.modules.db.jdbc.interfaces.SqlConfig
-
Configures the directory in resources containing tables templates.
- setTemplatesDirectory(String) - Method in class net.bugreaper.modules.db.jdbc.JdbcExecutor
- showDataByCondition(String, Object[][]) - Method in interface net.bugreaper.modules.db.jdbc.interfaces.SqlGet
-
Creates an attachment containing all records matching the specified conditions.
- showDataByCondition(String, Object[][]) - Method in class net.bugreaper.modules.db.jdbc.JdbcExecutor
- showDataFromTable(String) - Method in interface net.bugreaper.modules.db.jdbc.interfaces.SqlGet
-
/** Creates an attachment containing all records and columns from the table.
- showDataFromTable(String) - Method in class net.bugreaper.modules.db.jdbc.JdbcExecutor
- showDataFromTableMethod(String) - Method in class net.bugreaper.modules.db.jdbc.JdbcExecutor
- sqlConditionBuilder(Object[][]) - Method in class net.bugreaper.modules.db.jdbc.builders.QueryBuilder
-
Create sql script from array (Object[][]) for conditions
- SqlConfig<T extends SqlConfig<T>> - Interface in net.bugreaper.modules.db.jdbc.interfaces
-
Defines configuration accessors for SQL execution components.
- sqlExecute(String) - Method in class net.bugreaper.modules.db.jdbc.connection.JdbcDirectivesHikari
- SqlExecuteException - Exception in net.bugreaper.modules.db.exceptions
-
Exceptions that can be thrown during SqlExecute use
- SqlExecuteException(Throwable) - Constructor for exception net.bugreaper.modules.db.exceptions.SqlExecuteException
-
Constructs a new exception with the specified cause
- SqlGet - Interface in net.bugreaper.modules.db.jdbc.interfaces
-
Defines operations for executing SQL SELECT queries.
- sqlInsertBuilder(String, Object[][], Object[][]) - Method in class net.bugreaper.modules.db.jdbc.builders.QueryBuilder
-
Create sql script from arrays for Insert
- sqlNoAttachExecute(String) - Method in class net.bugreaper.modules.db.jdbc.connection.JdbcDirectivesHikari
- SqlPost - Interface in net.bugreaper.modules.db.jdbc.interfaces
-
Defines operations for executing SQL data-modifying queries.
- sqlSetBuilder(Object[][]) - Method in class net.bugreaper.modules.db.jdbc.builders.QueryBuilder
-
Create sql script from array (Object[][]) for conditions
T
- toSqlValue(Object) - Static method in class net.bugreaper.modules.db.jdbc.builders.QueryConditionsBuilder
- toString() - Method in class net.bugreaper.modules.db.jdbc.builders.QueryConditionsBuilder
- truncateTable(String) - Method in interface net.bugreaper.modules.db.jdbc.interfaces.SqlPost
-
Truncates the table.
- truncateTable(String) - Method in class net.bugreaper.modules.db.jdbc.JdbcExecutor
- truncateTableCascade(String) - Method in class net.bugreaper.modules.db.PostgreSQL
-
Truncate(clean) table and all connected by foreign keys tables
- truncateTables(String...) - Method in interface net.bugreaper.modules.db.jdbc.interfaces.SqlPost
-
Truncates the tables.
- truncateTables(String...) - Method in class net.bugreaper.modules.db.jdbc.JdbcExecutor
U
- updateTable(String, Object[][]) - Method in interface net.bugreaper.modules.db.jdbc.interfaces.SqlPost
-
Updates all records in the table.
- updateTable(String, Object[][]) - Method in class net.bugreaper.modules.db.jdbc.JdbcExecutor
- updateTable(String, Object[][], Object[][]) - Method in interface net.bugreaper.modules.db.jdbc.interfaces.SqlPost
-
Updates all records in the table matching the specified conditions (in an Object[][] array).
- updateTable(String, Object[][], Object[][]) - Method in class net.bugreaper.modules.db.jdbc.JdbcExecutor
- updateTable(String, String) - Method in interface net.bugreaper.modules.db.jdbc.interfaces.SqlPost
-
Updates all records in the table matching the specified conditions (hardcoded SQL condition string).
- updateTable(String, String) - Method in class net.bugreaper.modules.db.jdbc.JdbcExecutor
- url - Variable in class net.bugreaper.modules.db.jdbc.JdbcExecutor
- username - Variable in class net.bugreaper.modules.db.jdbc.JdbcExecutor
V
- value() - Method in enum class net.bugreaper.modules.db.enums.DbTypes
-
Returns the string representation of the database type.
- valueOf(String) - Static method in enum class net.bugreaper.modules.db.enums.DbTypes
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class net.bugreaper.modules.db.enums.DbTypes
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- withAwaitMs(int) - Method in interface net.bugreaper.modules.db.jdbc.interfaces.SqlConfig
-
Sets a custom await timeout for the next assertion.
- withAwaitMs(int) - Method in class net.bugreaper.modules.db.jdbc.JdbcExecutor
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form