Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AbstractDBManager - Class in io.github.mrtesz.teszcore.db.manager
-
Abstract parent class of all DatabaseManagers
- AbstractDBManager() - Constructor for class io.github.mrtesz.teszcore.db.manager.AbstractDBManager
- AbstractMariaDBManager - Class in io.github.mrtesz.teszcore.db.manager.mariadb
-
Parent class of all MariaDBManagers
- AbstractMariaDBManager() - Constructor for class io.github.mrtesz.teszcore.db.manager.mariadb.AbstractMariaDBManager
- AbstractSqliteManager - Class in io.github.mrtesz.teszcore.db.manager.sqlite
- AbstractSqliteManager(String, String, HikariDataSource, String) - Constructor for class io.github.mrtesz.teszcore.db.manager.sqlite.AbstractSqliteManager
- addBigInt(String) - Method in class io.github.mrtesz.teszcore.db.table.mariadb.MariaDBTable
- addBigInt(String, long) - Method in class io.github.mrtesz.teszcore.db.table.mariadb.MariaDBTable
- addBigInt(String) - Method in interface io.github.mrtesz.teszcore.api.db.table.DBTable
- addBigInt(String) - Method in class io.github.mrtesz.teszcore.db.table.sqlite.SqliteTable
- addBigInt(String, long) - Method in interface io.github.mrtesz.teszcore.api.db.table.DBTable
- addBigInt(String, long) - Method in class io.github.mrtesz.teszcore.db.table.sqlite.SqliteTable
- addBoolean(String) - Method in class io.github.mrtesz.teszcore.db.table.mariadb.MariaDBTable
- addBoolean(String, boolean) - Method in class io.github.mrtesz.teszcore.db.table.mariadb.MariaDBTable
- addColumn(String, String) - Method in class io.github.mrtesz.teszcore.db.table.mariadb.MariaDBTable
- addColumn(String, String) - Method in interface io.github.mrtesz.teszcore.api.db.table.DBTable
-
Add a column to the table
- addColumn(String, String) - Method in class io.github.mrtesz.teszcore.db.table.sqlite.SqliteTable
- addDate(String) - Method in class io.github.mrtesz.teszcore.db.table.mariadb.MariaDBTable
- addDateNow(String) - Method in class io.github.mrtesz.teszcore.db.table.mariadb.MariaDBTable
- addDefault(String, Object) - Method in class io.github.mrtesz.teszcore.config.YamlConfig
-
Add a new entry to the defaults map
- addDouble(String) - Method in class io.github.mrtesz.teszcore.db.table.mariadb.MariaDBTable
- addDouble(String, double) - Method in class io.github.mrtesz.teszcore.db.table.mariadb.MariaDBTable
- addDouble(String) - Method in interface io.github.mrtesz.teszcore.api.db.table.DBTable
- addDouble(String) - Method in class io.github.mrtesz.teszcore.db.table.sqlite.SqliteTable
- addDouble(String, double) - Method in interface io.github.mrtesz.teszcore.api.db.table.DBTable
- addDouble(String, double) - Method in class io.github.mrtesz.teszcore.db.table.sqlite.SqliteTable
- addFloat(String) - Method in class io.github.mrtesz.teszcore.db.table.mariadb.MariaDBTable
- addFloat(String, float) - Method in class io.github.mrtesz.teszcore.db.table.mariadb.MariaDBTable
- addFloat(String) - Method in interface io.github.mrtesz.teszcore.api.db.table.DBTable
- addFloat(String) - Method in class io.github.mrtesz.teszcore.db.table.sqlite.SqliteTable
- addFloat(String, float) - Method in interface io.github.mrtesz.teszcore.api.db.table.DBTable
- addFloat(String, float) - Method in class io.github.mrtesz.teszcore.db.table.sqlite.SqliteTable
- addIndex(String, String) - Method in interface io.github.mrtesz.teszcore.api.db.table.DBTable
-
Add an index
- addIndex(String, String) - Method in class io.github.mrtesz.teszcore.db.table.mariadb.MariaDBTable
- addIndex(String, String) - Method in class io.github.mrtesz.teszcore.db.table.sqlite.SqliteTable
- addInt(String) - Method in class io.github.mrtesz.teszcore.db.table.mariadb.MariaDBTable
- addInt(String, Integer) - Method in class io.github.mrtesz.teszcore.db.table.mariadb.MariaDBTable
- addInt(String) - Method in interface io.github.mrtesz.teszcore.api.db.table.DBTable
- addInt(String) - Method in class io.github.mrtesz.teszcore.db.table.sqlite.SqliteTable
- addInt(String, Integer) - Method in interface io.github.mrtesz.teszcore.api.db.table.DBTable
- addInt(String, Integer) - Method in class io.github.mrtesz.teszcore.db.table.sqlite.SqliteTable
- addLong(String) - Method in class io.github.mrtesz.teszcore.db.table.mariadb.MariaDBTable
- addLong(String, long) - Method in class io.github.mrtesz.teszcore.db.table.mariadb.MariaDBTable
- addLong(String) - Method in interface io.github.mrtesz.teszcore.api.db.table.DBTable
- addLong(String) - Method in class io.github.mrtesz.teszcore.db.table.sqlite.SqliteTable
- addLong(String, long) - Method in interface io.github.mrtesz.teszcore.api.db.table.DBTable
- addLong(String, long) - Method in class io.github.mrtesz.teszcore.db.table.sqlite.SqliteTable
- addLongText(String) - Method in class io.github.mrtesz.teszcore.db.table.mariadb.MariaDBTable
- addLongText(String, String) - Method in class io.github.mrtesz.teszcore.db.table.mariadb.MariaDBTable
- addMediumText(String) - Method in class io.github.mrtesz.teszcore.db.table.mariadb.MariaDBTable
- addMediumText(String, String) - Method in class io.github.mrtesz.teszcore.db.table.mariadb.MariaDBTable
- addText(String) - Method in class io.github.mrtesz.teszcore.db.table.mariadb.MariaDBTable
- addText(String, String) - Method in class io.github.mrtesz.teszcore.db.table.mariadb.MariaDBTable
- addText(String) - Method in interface io.github.mrtesz.teszcore.api.db.table.DBTable
- addText(String) - Method in class io.github.mrtesz.teszcore.db.table.sqlite.SqliteTable
- addText(String, String) - Method in interface io.github.mrtesz.teszcore.api.db.table.DBTable
- addText(String, String) - Method in class io.github.mrtesz.teszcore.db.table.sqlite.SqliteTable
- addTimestamp(String) - Method in class io.github.mrtesz.teszcore.db.table.mariadb.MariaDBTable
- addTimestampNow(String) - Method in class io.github.mrtesz.teszcore.db.table.mariadb.MariaDBTable
- addUnique(String...) - Method in interface io.github.mrtesz.teszcore.api.db.table.DBTable
-
Add a unique key constellation
- addUnique(String...) - Method in class io.github.mrtesz.teszcore.db.table.mariadb.MariaDBTable
- addUnique(String...) - Method in class io.github.mrtesz.teszcore.db.table.sqlite.SqliteTable
- addValues(List<Object>) - Method in class io.github.mrtesz.teszcore.db.batch.BatchSqlStatements
- addVarchar(String, int) - Method in class io.github.mrtesz.teszcore.db.table.mariadb.MariaDBTable
- addVarchar(String, int, String) - Method in class io.github.mrtesz.teszcore.db.table.mariadb.MariaDBTable
- AnsiConsoleAppender - Class in io.github.mrtesz.teszcore.internal.log4j
- AnsiConsoleAppender(String, Layout<? extends Serializable>, Filter, Logger) - Constructor for class io.github.mrtesz.teszcore.internal.log4j.AnsiConsoleAppender
- append(LogEvent) - Method in class io.github.mrtesz.teszcore.internal.log4j.AnsiConsoleAppender
- asList() - Method in class io.github.mrtesz.teszcore.db.selection.SelectionResults
- asMap() - Method in class io.github.mrtesz.teszcore.db.selection.SelectionResult
- asMap() - Method in class io.github.mrtesz.teszcore.db.selection.SelectionResults
- async() - Method in interface io.github.mrtesz.teszcore.api.db.manager.DBManager
-
Calls
DBManager.async(int)with timeoutSecs being 2 - async(int) - Method in interface io.github.mrtesz.teszcore.api.db.manager.DBManager
-
Creates an AsyncDBManager with same information as the current database manager
- async(int) - Method in class io.github.mrtesz.teszcore.db.manager.mariadb.AbstractMariaDBManager
- async(int) - Method in class io.github.mrtesz.teszcore.db.manager.sqlite.AbstractSqliteManager
- AsyncDBManager - Interface in io.github.mrtesz.teszcore.api.db.manager
-
Parent interface of all async database managers
- AsyncMariaDBManager - Class in io.github.mrtesz.teszcore.db.manager.mariadb
- AsyncMariaDBManager(boolean, String, String, String, String, HikariDataSource, String, int) - Constructor for class io.github.mrtesz.teszcore.db.manager.mariadb.AsyncMariaDBManager
- AsyncSqliteManager - Class in io.github.mrtesz.teszcore.db.manager.sqlite
- AsyncSqliteManager(String, String, HikariDataSource, String, int) - Constructor for class io.github.mrtesz.teszcore.db.manager.sqlite.AsyncSqliteManager
B
- BatchSqlStatement - Class in io.github.mrtesz.teszcore.db.batch
-
Deprecated.
- BatchSqlStatement(String) - Constructor for class io.github.mrtesz.teszcore.db.batch.BatchSqlStatement
-
Deprecated.
- BatchSqlStatements - Class in io.github.mrtesz.teszcore.db.batch
-
Container class for SQL statements with same structure for
SyncDBManager#executeBatchSqlandAsyncDBManager#executeBatchSql - BatchSqlStatements(String, int) - Constructor for class io.github.mrtesz.teszcore.db.batch.BatchSqlStatements
- build() - Method in class io.github.mrtesz.teszcore.config.YamlConfig.Builder
-
Build the
YamlConfiginstance - builder() - Static method in class io.github.mrtesz.teszcore.config.YamlConfig
-
Generate a YamlConfig builder
- Builder() - Constructor for class io.github.mrtesz.teszcore.config.YamlConfig.Builder
- buildSqlWithParams(String, List<Object>, boolean) - Method in interface io.github.mrtesz.teszcore.api.db.manager.DBManager
-
Creates a SQL statement by replacing question marks with the params list
C
- cause - Variable in exception class io.github.mrtesz.teszcore.exceptions.TeszCoreException
- Chance - Class in io.github.mrtesz.teszcore.util
-
Util class for generating random values
- Chance() - Constructor for class io.github.mrtesz.teszcore.util.Chance
- Chance.WeightedEntry<T> - Class in io.github.mrtesz.teszcore.util
-
A weighted entry holding a chance and a result value, used in
Chance.roll(Collection). - checkArgument(boolean) - Static method in class io.github.mrtesz.teszcore.util.Conditions
-
Throw an error if the provided argument is `false`
- checkArgument(boolean, String) - Static method in class io.github.mrtesz.teszcore.util.Conditions
-
Throw an error if the provided argument is `false`
- checkConnection() - Method in interface io.github.mrtesz.teszcore.api.db.manager.DBManager
-
Connects the manager to the database again, when it is not connected
- checkConnection() - Method in class io.github.mrtesz.teszcore.db.manager.mariadb.AbstractMariaDBManager
- checkConnection() - Method in class io.github.mrtesz.teszcore.db.manager.sqlite.AbstractSqliteManager
- checkNonNull(T) - Static method in class io.github.mrtesz.teszcore.util.Conditions
-
Check if an object is not `null` and throw an exception if it is
- checkNonNull(T, String) - Static method in class io.github.mrtesz.teszcore.util.Conditions
-
Check if an object is not `null` and throw an exception if it is
- checkNull(T) - Static method in class io.github.mrtesz.teszcore.util.Conditions
-
Check if an object is `null` and throw an exception if it is
- checkNull(T, String) - Static method in class io.github.mrtesz.teszcore.util.Conditions
-
Check if an object is `null` and throw an exception if it is
- checkRange(T, T, T) - Static method in class io.github.mrtesz.teszcore.util.Conditions
-
Check if a number is in a range and throw an exception if not
- checkRange(T, T, T, String) - Static method in class io.github.mrtesz.teszcore.util.Conditions
-
Check if a number is in a range and throw an exception if not
- checkState(boolean) - Static method in class io.github.mrtesz.teszcore.util.Conditions
-
Check a `boolean` and throw an exception if it is `false`
- checkState(boolean, String) - Static method in class io.github.mrtesz.teszcore.util.Conditions
-
Check a `boolean` and throw an exception if it is `false`
- close() - Method in interface io.github.mrtesz.teszcore.api.db.manager.DBManager
-
Close the database manager
- close() - Method in class io.github.mrtesz.teszcore.db.manager.AbstractDBManager
- columnExists(String, String) - Method in interface io.github.mrtesz.teszcore.api.db.manager.AsyncDBManager
-
Show if a column exists in a table
- columnExists(String, String) - Method in interface io.github.mrtesz.teszcore.api.db.manager.SyncDBManager
-
Show if a column exists in a table
- columnExists(String, String) - Method in class io.github.mrtesz.teszcore.db.manager.mariadb.AsyncMariaDBManager
- columnExists(String, String) - Method in class io.github.mrtesz.teszcore.db.manager.mariadb.MariaDBManager
- columnExists(String, String) - Method in class io.github.mrtesz.teszcore.db.manager.sqlite.AsyncSqliteManager
- columnExists(String, String) - Method in class io.github.mrtesz.teszcore.db.manager.sqlite.SqliteManager
- Conditions - Class in io.github.mrtesz.teszcore.util
- Conditions() - Constructor for class io.github.mrtesz.teszcore.util.Conditions
- connect() - Method in interface io.github.mrtesz.teszcore.api.db.manager.DBManager
-
Connect the database manager with the database
- connect() - Method in class io.github.mrtesz.teszcore.db.manager.mariadb.AbstractMariaDBManager
-
Connect the database manager with the database
- connect() - Method in class io.github.mrtesz.teszcore.db.manager.sqlite.AbstractSqliteManager
- contains(String) - Method in class io.github.mrtesz.teszcore.config.YamlConfig
-
See if a path contains a value
- copy() - Method in class io.github.mrtesz.teszcore.api.TeszCoreApi
- copy() - Method in class io.github.mrtesz.teszcore.config.YamlConfig.Builder
- copy() - Method in class io.github.mrtesz.teszcore.config.YamlConfig
- copy() - Method in interface io.github.mrtesz.teszcore.copyable.Copyable
-
Copy the executing class
- copy() - Method in class io.github.mrtesz.teszcore.db.manager.mariadb.AsyncMariaDBManager
- copy() - Method in class io.github.mrtesz.teszcore.db.manager.mariadb.MariaDBManager
- copy() - Method in class io.github.mrtesz.teszcore.db.manager.sqlite.AsyncSqliteManager
- copy() - Method in class io.github.mrtesz.teszcore.db.manager.sqlite.SqliteManager
- copy() - Method in class io.github.mrtesz.teszcore.db.selection.SelectionResult
- copy() - Method in class io.github.mrtesz.teszcore.db.selection.SelectionResults
- copy() - Method in class io.github.mrtesz.teszcore.db.table.mariadb.MariaDBTable
- copy() - Method in class io.github.mrtesz.teszcore.db.table.sqlite.SqliteTable
- copy() - Method in exception class io.github.mrtesz.teszcore.exceptions.DatabaseException
- copy() - Method in exception class io.github.mrtesz.teszcore.exceptions.DuplicateInitializationException
- copy() - Method in exception class io.github.mrtesz.teszcore.exceptions.IllegalNumberRangeException
- copy() - Method in exception class io.github.mrtesz.teszcore.exceptions.InitializerException
- copy() - Method in exception class io.github.mrtesz.teszcore.exceptions.NotNullException
- copy() - Method in exception class io.github.mrtesz.teszcore.exceptions.YamlConfigException
- copy() - Method in class io.github.mrtesz.teszcore.logged.Initializer
- copy() - Method in class io.github.mrtesz.teszcore.logged.Runner
- copy() - Method in class io.github.mrtesz.teszcore.logger.TeszCoreLogger
- copy() - Method in class io.github.mrtesz.teszcore.util.tuple.Pair
- copy() - Method in class io.github.mrtesz.teszcore.util.tuple.Quadruple
- copy() - Method in class io.github.mrtesz.teszcore.util.tuple.Triple
- Copyable<T> - Interface in io.github.mrtesz.teszcore.copyable
-
Interface, signalizing, the subclass can be copied with
Copyable.copy() - create(Logger, DebugLevel, String) - Method in interface io.github.mrtesz.teszcore.logger.TeszCoreLoggerFactory
-
Creates a TeszCoreLogger
- createHikariConfig() - Method in class io.github.mrtesz.teszcore.db.manager.mariadb.AbstractMariaDBManager
- createHikariConfig() - Method in class io.github.mrtesz.teszcore.db.manager.sqlite.AbstractSqliteManager
- createMariaDBManager(String, boolean, String, String, String, String) - Method in class io.github.mrtesz.teszcore.api.TeszCoreApi
-
Creates a
MariaDBManagerfor your project - createMariaDBManager(String, boolean, String, String, String) - Method in class io.github.mrtesz.teszcore.api.TeszCoreApi
-
Creates a
MariaDBManagerfor your project - createOrAlter(DBTable) - Method in interface io.github.mrtesz.teszcore.api.db.manager.AsyncDBManager
-
Create a database table using a
DBTableobject, suitable for the DBManager (AsyncMariaDBManager:MariaDBTableAsyncSqliteManager:SqliteTable) - createOrAlter(DBTable) - Method in interface io.github.mrtesz.teszcore.api.db.manager.SyncDBManager
-
Create a database table using a
DBTableobject, suitable for the DBManager (MariaDBManager:MariaDBTableSqliteManager:SqliteTable) - createOrAlter(DBTable) - Method in class io.github.mrtesz.teszcore.db.manager.mariadb.AsyncMariaDBManager
- createOrAlter(DBTable) - Method in class io.github.mrtesz.teszcore.db.manager.mariadb.MariaDBManager
- createOrAlter(DBTable) - Method in class io.github.mrtesz.teszcore.db.manager.sqlite.AsyncSqliteManager
- createOrAlter(DBTable) - Method in class io.github.mrtesz.teszcore.db.manager.sqlite.SqliteManager
- createSqliteManager(String, String, String) - Method in class io.github.mrtesz.teszcore.api.TeszCoreApi
-
Creates a
SqliteManagerfor your Project
D
- DatabaseException - Exception Class in io.github.mrtesz.teszcore.exceptions
-
Exception, used in database context
- DatabaseException(String) - Constructor for exception class io.github.mrtesz.teszcore.exceptions.DatabaseException
- dataSource - Variable in class io.github.mrtesz.teszcore.db.manager.mariadb.AbstractMariaDBManager
- dataSource - Variable in class io.github.mrtesz.teszcore.db.manager.sqlite.AbstractSqliteManager
- DBManager - Interface in io.github.mrtesz.teszcore.api.db.manager
-
Parent interface of all database managers
- DBTable - Interface in io.github.mrtesz.teszcore.api.db.table
- debug(String) - Method in class io.github.mrtesz.teszcore.logger.TeszCoreLogger
- DEBUG - Enum constant in enum class io.github.mrtesz.teszcore.logger.level.LoggerLevel
- DebugLevel - Enum Class in io.github.mrtesz.teszcore.logger.level
-
Level of logging
- deleteFrom(String, String) - Method in interface io.github.mrtesz.teszcore.api.db.manager.AsyncDBManager
-
Delete entries
e.g.:
deleteFrom("users", "userId = " + userId); - deleteFrom(String, String) - Method in interface io.github.mrtesz.teszcore.api.db.manager.SyncDBManager
-
Delete entries e.g.:
deleteFrom("users", "userId = " + userId); - deleteFrom(String, String) - Method in class io.github.mrtesz.teszcore.db.manager.mariadb.AsyncMariaDBManager
- deleteFrom(String, String) - Method in class io.github.mrtesz.teszcore.db.manager.mariadb.MariaDBManager
- deleteFrom(String, String) - Method in class io.github.mrtesz.teszcore.db.manager.sqlite.AsyncSqliteManager
- deleteFrom(String, String, List<Object>) - Method in interface io.github.mrtesz.teszcore.api.db.manager.AsyncDBManager
-
Delete entries with a
Listreplacing the question marks in thewhereClause
e.g.:
deleteFrom("users", "userId = ?" - deleteFrom(String, String, List<Object>) - Method in interface io.github.mrtesz.teszcore.api.db.manager.SyncDBManager
-
Delete entries with a
Listreplacing the question marks in thewhereClausee.g.:
deleteFrom("users", "userId = ?" - deleteFrom(String, String, List<Object>) - Method in class io.github.mrtesz.teszcore.db.manager.mariadb.AsyncMariaDBManager
- deleteFrom(String, String, List<Object>) - Method in class io.github.mrtesz.teszcore.db.manager.mariadb.MariaDBManager
- deleteFrom(String, String, List<Object>) - Method in class io.github.mrtesz.teszcore.db.manager.sqlite.AsyncSqliteManager
- deleteFrom(String, String, List<Object>) - Method in class io.github.mrtesz.teszcore.db.manager.sqlite.SqliteManager
- deleteFrom(String, String) - Method in class io.github.mrtesz.teszcore.db.manager.sqlite.SqliteManager
- deserialize(byte[]) - Static method in class io.github.mrtesz.teszcore.json.JsonSerializable
- disconnect() - Method in interface io.github.mrtesz.teszcore.api.db.manager.DBManager
-
Close the database manager
- disconnect() - Method in class io.github.mrtesz.teszcore.db.manager.mariadb.AbstractMariaDBManager
- disconnect() - Method in class io.github.mrtesz.teszcore.db.manager.sqlite.AbstractSqliteManager
- dropTable(String) - Method in interface io.github.mrtesz.teszcore.api.db.manager.AsyncDBManager
-
Drop a table from the database
e.g.:
dropTable("current-weak-save"); - dropTable(String) - Method in interface io.github.mrtesz.teszcore.api.db.manager.SyncDBManager
-
Drop a table from the database e.g.:
dropTable("current-weak-save"); - dropTable(String) - Method in class io.github.mrtesz.teszcore.db.manager.mariadb.AsyncMariaDBManager
- dropTable(String) - Method in class io.github.mrtesz.teszcore.db.manager.mariadb.MariaDBManager
- dropTable(String) - Method in class io.github.mrtesz.teszcore.db.manager.sqlite.AsyncSqliteManager
- dropTable(String) - Method in class io.github.mrtesz.teszcore.db.manager.sqlite.SqliteManager
- DuplicateInitializationException - Exception Class in io.github.mrtesz.teszcore.exceptions
-
Exception, signalizing a class is initialized two times when must only be initialized once
- DuplicateInitializationException(String) - Constructor for exception class io.github.mrtesz.teszcore.exceptions.DuplicateInitializationException
E
- entrySet() - Method in class io.github.mrtesz.teszcore.db.selection.SelectionResult
- error(String) - Method in class io.github.mrtesz.teszcore.logger.TeszCoreLogger
- ERROR - Enum constant in enum class io.github.mrtesz.teszcore.logger.level.LoggerLevel
- executeBatchSql(BatchSqlStatements, String) - Method in interface io.github.mrtesz.teszcore.api.db.manager.AsyncDBManager
-
Executes multiple SQL statements in batch mode for better performance
e.g - executeBatchSql(BatchSqlStatements, String) - Method in interface io.github.mrtesz.teszcore.api.db.manager.SyncDBManager
-
Executes multiple SQL statements with the same structure in batch mode for better performance
e.g - executeBatchSql(BatchSqlStatements, String) - Method in class io.github.mrtesz.teszcore.db.manager.mariadb.AsyncMariaDBManager
- executeBatchSql(BatchSqlStatements, String) - Method in class io.github.mrtesz.teszcore.db.manager.mariadb.MariaDBManager
- executeBatchSql(BatchSqlStatements, String) - Method in class io.github.mrtesz.teszcore.db.manager.sqlite.AsyncSqliteManager
- executeBatchSql(BatchSqlStatements, String) - Method in class io.github.mrtesz.teszcore.db.manager.sqlite.SqliteManager
- executeBatchSql(List<BatchSqlStatement>, String) - Method in interface io.github.mrtesz.teszcore.api.db.manager.AsyncDBManager
-
Deprecated.
- executeBatchSql(List<BatchSqlStatement>, String) - Method in interface io.github.mrtesz.teszcore.api.db.manager.SyncDBManager
-
Deprecated.
- executeBatchSql(List<BatchSqlStatement>, String) - Method in class io.github.mrtesz.teszcore.db.manager.mariadb.AsyncMariaDBManager
-
Deprecated.
- executeBatchSql(List<BatchSqlStatement>, String) - Method in class io.github.mrtesz.teszcore.db.manager.mariadb.MariaDBManager
-
Deprecated.
- executeBatchSql(List<BatchSqlStatement>, String) - Method in class io.github.mrtesz.teszcore.db.manager.sqlite.AsyncSqliteManager
-
Deprecated.
- executeBatchSql(List<BatchSqlStatement>, String) - Method in class io.github.mrtesz.teszcore.db.manager.sqlite.SqliteManager
-
Deprecated.
- executeRunnable(Runnable) - Static method in class io.github.mrtesz.teszcore.logged.Runner
- executeRunnable(Runnable, String) - Static method in class io.github.mrtesz.teszcore.logged.Runner
- executeRunnable(Runnable, String, String) - Static method in class io.github.mrtesz.teszcore.logged.Runner
-
Execute a
Runnablewith wrapping logging - executeRunnable(Runnable, String, String, TeszCoreLogger) - Static method in class io.github.mrtesz.teszcore.logged.Runner
-
Execute a
Runnablewith wrapping logging - executeSelect(String, String) - Method in interface io.github.mrtesz.teszcore.api.db.manager.AsyncDBManager
-
Execute a selection query
e.g. - executeSelect(String, String) - Method in interface io.github.mrtesz.teszcore.api.db.manager.SyncDBManager
-
Execute a selection query
e.g. - executeSelect(String, String) - Method in class io.github.mrtesz.teszcore.db.manager.mariadb.AsyncMariaDBManager
- executeSelect(String, String) - Method in class io.github.mrtesz.teszcore.db.manager.mariadb.MariaDBManager
- executeSelect(String, String) - Method in class io.github.mrtesz.teszcore.db.manager.sqlite.AsyncSqliteManager
- executeSelect(String, String) - Method in class io.github.mrtesz.teszcore.db.manager.sqlite.SqliteManager
- executeSelect(String, String, List<Object>) - Method in interface io.github.mrtesz.teszcore.api.db.manager.AsyncDBManager
- executeSelect(String, String, List<Object>) - Method in class io.github.mrtesz.teszcore.db.manager.mariadb.AsyncMariaDBManager
- executeSelect(String, String, List<Object>) - Method in class io.github.mrtesz.teszcore.db.manager.sqlite.AsyncSqliteManager
- executeSelect(String, List<Object>, String) - Method in interface io.github.mrtesz.teszcore.api.db.manager.SyncDBManager
- executeSelect(String, List<Object>, String) - Method in class io.github.mrtesz.teszcore.db.manager.mariadb.MariaDBManager
- executeSelect(String, List<Object>, String) - Method in class io.github.mrtesz.teszcore.db.manager.sqlite.SqliteManager
- executeSql(String, String, String) - Method in interface io.github.mrtesz.teszcore.api.db.manager.AsyncDBManager
-
Execute a SQL query
e.g.:
executeSql("UPDATE users SET name = " + username + " WHERE id = " + userId, "users", "update username"); - executeSql(String, String, String) - Method in class io.github.mrtesz.teszcore.db.manager.mariadb.AsyncMariaDBManager
- executeSql(String, String, String) - Method in class io.github.mrtesz.teszcore.db.manager.mariadb.MariaDBManager
- executeSql(String, String, String) - Method in class io.github.mrtesz.teszcore.db.manager.sqlite.AsyncSqliteManager
- executeSql(String, String, String) - Method in class io.github.mrtesz.teszcore.db.manager.sqlite.SqliteManager
- executeSql(String, String, String, List<Object>) - Method in interface io.github.mrtesz.teszcore.api.db.manager.AsyncDBManager
-
Execute a SQL query with a
Listreplacing the question marks in thesql
e.g.:
executeSql("UPDATE users SET name = ? - executeSql(String, String, String, List<Object>) - Method in class io.github.mrtesz.teszcore.db.manager.mariadb.AsyncMariaDBManager
- executeSql(String, String, String, List<Object>) - Method in class io.github.mrtesz.teszcore.db.manager.sqlite.AsyncSqliteManager
- executeSql(String, String, String) - Method in interface io.github.mrtesz.teszcore.api.db.manager.SyncDBManager
-
Execute a SQL query
e.g.:
executeSql("UPDATE users SET name = " + username + " WHERE id = " + userId, "users", "update username"); - executeSql(String, List<Object>, String, String) - Method in interface io.github.mrtesz.teszcore.api.db.manager.SyncDBManager
-
Execute a SQL query with a
Listreplacing the question marks in thesql
e.g.:
executeSql("UPDATE users SET name = ? - executeSql(String, List<Object>, String, String) - Method in class io.github.mrtesz.teszcore.db.manager.mariadb.MariaDBManager
- executeSql(String, List<Object>, String, String) - Method in class io.github.mrtesz.teszcore.db.manager.sqlite.SqliteManager
- executeSupply(Supplier<T>) - Static method in class io.github.mrtesz.teszcore.logged.Runner
- executeSupply(Supplier<T>, String) - Static method in class io.github.mrtesz.teszcore.logged.Runner
- executeSupply(Supplier<T>, String, String) - Static method in class io.github.mrtesz.teszcore.logged.Runner
-
Execute a
Supplierwith wrapping logging - executeSupply(Supplier<T>, String, String, TeszCoreLogger) - Static method in class io.github.mrtesz.teszcore.logged.Runner
-
Execute a
Supplierwith wrapping logging - exists() - Method in class io.github.mrtesz.teszcore.config.YamlConfig
-
See if the YAML file exists
F
- fromIntValue(int) - Static method in enum class io.github.mrtesz.teszcore.logger.level.DebugLevel
-
Retrieve a `DebugLevel` from an integer value
- fromJson(JsonElement, Class<T>) - Static method in class io.github.mrtesz.teszcore.json.TeszGson
- fromJson(JsonElement, Type) - Static method in class io.github.mrtesz.teszcore.json.TeszGson
- fromJson(String, Class<T>) - Static method in class io.github.mrtesz.teszcore.json.TeszGson
- fromJson(String, Type) - Static method in class io.github.mrtesz.teszcore.json.TeszGson
G
- get(String) - Method in class io.github.mrtesz.teszcore.db.selection.SelectionResult
- get(String, Object) - Method in class io.github.mrtesz.teszcore.db.selection.SelectionResult
- get(Supplier<T>) - Method in class io.github.mrtesz.teszcore.logged.Runner
- get(Supplier<T>, String) - Method in class io.github.mrtesz.teszcore.logged.Runner
-
Referencing
Runner.executeSupply(Supplier, String, String, TeszCoreLogger)with usingProject and logger being the params provided on construct - getAllPaths() - Method in class io.github.mrtesz.teszcore.config.YamlConfig
-
Collect all paths of the YAML
- getAlterColumnsCommands() - Method in interface io.github.mrtesz.teszcore.api.db.table.DBTable
-
Create the SQL queries to alter columns of the table
- getAlterColumnsCommands() - Method in class io.github.mrtesz.teszcore.db.table.mariadb.MariaDBTable
- getAlterColumnsCommands() - Method in class io.github.mrtesz.teszcore.db.table.sqlite.SqliteTable
- getAlterIndexCommands() - Method in interface io.github.mrtesz.teszcore.api.db.table.DBTable
-
Create the SQL queries to alter indexes of the table
- getAlterIndexCommands() - Method in class io.github.mrtesz.teszcore.db.table.mariadb.MariaDBTable
- getAlterIndexCommands() - Method in class io.github.mrtesz.teszcore.db.table.sqlite.SqliteTable
- getBoolean(String) - Method in class io.github.mrtesz.teszcore.config.YamlConfig
- getBoolean(String) - Method in class io.github.mrtesz.teszcore.db.selection.SelectionResult
- getBoolean(String, boolean) - Method in class io.github.mrtesz.teszcore.config.YamlConfig
- getBoolean(String, Boolean) - Method in class io.github.mrtesz.teszcore.db.selection.SelectionResult
- getBooleanOrNull(String) - Method in class io.github.mrtesz.teszcore.config.YamlConfig
- getConnection() - Method in interface io.github.mrtesz.teszcore.api.db.manager.DBManager
-
calls
DBManager.checkConnection()and returns a database connection - getConnection() - Method in class io.github.mrtesz.teszcore.db.manager.mariadb.AbstractMariaDBManager
- getConnection() - Method in class io.github.mrtesz.teszcore.db.manager.sqlite.AbstractSqliteManager
- getCreateCommand() - Method in interface io.github.mrtesz.teszcore.api.db.table.DBTable
-
Create the SQL query to create the table
- getCreateCommand() - Method in class io.github.mrtesz.teszcore.db.table.mariadb.MariaDBTable
- getCreateCommand() - Method in class io.github.mrtesz.teszcore.db.table.sqlite.SqliteTable
- getDate(String) - Method in class io.github.mrtesz.teszcore.db.selection.SelectionResult
- getDate(String, Date) - Method in class io.github.mrtesz.teszcore.db.selection.SelectionResult
- getDouble(String) - Method in class io.github.mrtesz.teszcore.config.YamlConfig
- getDouble(String) - Method in class io.github.mrtesz.teszcore.db.selection.SelectionResult
- getDouble(String, double) - Method in class io.github.mrtesz.teszcore.config.YamlConfig
- getDouble(String, Double) - Method in class io.github.mrtesz.teszcore.db.selection.SelectionResult
- getDoubleOrNull(String) - Method in class io.github.mrtesz.teszcore.config.YamlConfig
- getFirst() - Method in class io.github.mrtesz.teszcore.db.selection.SelectionResults
-
Get the first result of all results (useful when you are sure you have one result - e.g. selection with unique key selection)
- getFloat(String) - Method in class io.github.mrtesz.teszcore.config.YamlConfig
- getFloat(String) - Method in class io.github.mrtesz.teszcore.db.selection.SelectionResult
- getFloat(String, float) - Method in class io.github.mrtesz.teszcore.config.YamlConfig
- getFloat(String, Float) - Method in class io.github.mrtesz.teszcore.db.selection.SelectionResult
- getFloatOrNull(String) - Method in class io.github.mrtesz.teszcore.config.YamlConfig
- getInstance() - Static method in class io.github.mrtesz.teszcore.api.TeszCoreApi
-
Get the current instance
- getInt(String) - Method in class io.github.mrtesz.teszcore.config.YamlConfig
- getInt(String) - Method in class io.github.mrtesz.teszcore.db.selection.SelectionResult
- getInt(String, int) - Method in class io.github.mrtesz.teszcore.config.YamlConfig
- getInt(String, Integer) - Method in class io.github.mrtesz.teszcore.db.selection.SelectionResult
- getIntOrNull(String) - Method in class io.github.mrtesz.teszcore.config.YamlConfig
- getLog4jLogger() - Method in class io.github.mrtesz.teszcore.api.TeszCoreApi
-
Get the
Logger, TeszCore uses internally - getLogger(DebugLevel) - Method in class io.github.mrtesz.teszcore.api.TeszCoreApi
-
Creates a
TeszCoreLogger - getLogger(DebugLevel, String) - Method in class io.github.mrtesz.teszcore.api.TeszCoreApi
-
Creates a
TeszCoreLoggerwith project name for specific logs - getLogger(DebugLevel) - Method in class io.github.mrtesz.teszcore.internal.init.Init
- getLogger(DebugLevel, String) - Method in class io.github.mrtesz.teszcore.internal.init.Init
- getLoggerContext() - Method in class io.github.mrtesz.teszcore.api.TeszCoreApi
-
Get the
LoggerContext, thelog4j.Loggeruses - getLong(String) - Method in class io.github.mrtesz.teszcore.config.YamlConfig
- getLong(String) - Method in class io.github.mrtesz.teszcore.db.selection.SelectionResult
- getLong(String, long) - Method in class io.github.mrtesz.teszcore.config.YamlConfig
- getLong(String, Long) - Method in class io.github.mrtesz.teszcore.db.selection.SelectionResult
- getLongOrNull(String) - Method in class io.github.mrtesz.teszcore.config.YamlConfig
- getName() - Method in interface io.github.mrtesz.teszcore.api.db.manager.DBManager
-
Get the name of this database manager
- getName() - Method in interface io.github.mrtesz.teszcore.api.db.table.DBTable
-
Get the name of the table
- getPaths(String) - Method in class io.github.mrtesz.teszcore.config.YamlConfig
-
Return all paths under the given parent path
- getRaw() - Method in class io.github.mrtesz.teszcore.config.YamlConfig
-
Get the raw data of the YAML
- getShort(String) - Method in class io.github.mrtesz.teszcore.config.YamlConfig
- getShort(String, short) - Method in class io.github.mrtesz.teszcore.config.YamlConfig
- getShortOrNull(String) - Method in class io.github.mrtesz.teszcore.config.YamlConfig
- getString(String) - Method in class io.github.mrtesz.teszcore.config.YamlConfig
- getString(String) - Method in class io.github.mrtesz.teszcore.db.selection.SelectionResult
- getString(String, String) - Method in class io.github.mrtesz.teszcore.config.YamlConfig
- getString(String, String) - Method in class io.github.mrtesz.teszcore.db.selection.SelectionResult
- getStringList(String) - Method in class io.github.mrtesz.teszcore.config.YamlConfig
- getStringList(String, List<String>) - Method in class io.github.mrtesz.teszcore.config.YamlConfig
- getStringListOrNull(String) - Method in class io.github.mrtesz.teszcore.config.YamlConfig
- getTimestamp(String) - Method in class io.github.mrtesz.teszcore.db.selection.SelectionResult
- getTimestamp(String, Timestamp) - Method in class io.github.mrtesz.teszcore.db.selection.SelectionResult
I
- IllegalNumberRangeException - Exception Class in io.github.mrtesz.teszcore.exceptions
-
Thrown in
Conditions's `#checkRange` methods - IllegalNumberRangeException(Number, Number, Number) - Constructor for exception class io.github.mrtesz.teszcore.exceptions.IllegalNumberRangeException
- IllegalNumberRangeException(Number, Number, Number, String) - Constructor for exception class io.github.mrtesz.teszcore.exceptions.IllegalNumberRangeException
- indexExists(String, String) - Method in interface io.github.mrtesz.teszcore.api.db.manager.AsyncDBManager
-
Show if an index exists in a table
- indexExists(String, String) - Method in interface io.github.mrtesz.teszcore.api.db.manager.SyncDBManager
-
Show if an index exists in a table
- indexExists(String, String) - Method in class io.github.mrtesz.teszcore.db.manager.mariadb.AsyncMariaDBManager
- indexExists(String, String) - Method in class io.github.mrtesz.teszcore.db.manager.mariadb.MariaDBManager
- indexExists(String, String) - Method in class io.github.mrtesz.teszcore.db.manager.sqlite.AsyncSqliteManager
- indexExists(String, String) - Method in class io.github.mrtesz.teszcore.db.manager.sqlite.SqliteManager
- info(String) - Method in class io.github.mrtesz.teszcore.logger.TeszCoreLogger
- INFO - Enum constant in enum class io.github.mrtesz.teszcore.logger.level.LoggerLevel
- infoWhenCredentialsAreNull - Variable in class io.github.mrtesz.teszcore.db.manager.mariadb.AbstractMariaDBManager
- init(Class<T>, Object...) - Method in class io.github.mrtesz.teszcore.logged.Initializer
-
Initializer.initialize(Class, String, TeszCoreLogger, Object...), withInitializer.usingProjectandInitializer.logger - Init - Class in io.github.mrtesz.teszcore.internal.init
- Init(Logger, Level, boolean, String, String, String, String, TeszCoreLoggerFactory) - Constructor for class io.github.mrtesz.teszcore.internal.init.Init
- initialize(TeszCoreApi.Initializer) - Static method in class io.github.mrtesz.teszcore.api.TeszCoreApi
-
Create a new
TeszCoreApiinstance - initialize(Class<T>, TeszCoreLogger, Object...) - Static method in class io.github.mrtesz.teszcore.logged.Initializer
-
Initializer.initialize(Class, String, TeszCoreLogger, Object...), withusingProject= null - initialize(Class<T>, String, TeszCoreLogger, Object...) - Static method in class io.github.mrtesz.teszcore.logged.Initializer
- initialize(Class<T>, String, Object...) - Static method in class io.github.mrtesz.teszcore.logged.Initializer
-
Initializer.initialize(Class, String, TeszCoreLogger, Object...), using a LEVEL5 logger - initialize(Class<T>, Object...) - Static method in class io.github.mrtesz.teszcore.logged.Initializer
-
Initializer.initialize(Class, String, TeszCoreLogger, Object...), withusingProject= null and a LEVEL5 logger - Initializer - Class in io.github.mrtesz.teszcore.logged
-
Utility class for initializing classes with wrapping logging
- Initializer() - Constructor for class io.github.mrtesz.teszcore.api.TeszCoreApi.Initializer
- Initializer(String) - Constructor for class io.github.mrtesz.teszcore.logged.Initializer
- InitializerException - Exception Class in io.github.mrtesz.teszcore.exceptions
-
Thrown when
Initializerthrows an error - InitializerException(String, Throwable) - Constructor for exception class io.github.mrtesz.teszcore.exceptions.InitializerException
- insertIgnore(String, Map<String, Object>) - Method in interface io.github.mrtesz.teszcore.api.db.manager.AsyncDBManager
- insertIgnore(String, Map<String, Object>) - Method in interface io.github.mrtesz.teszcore.api.db.manager.SyncDBManager
- insertIgnore(String, Map<String, Object>) - Method in class io.github.mrtesz.teszcore.db.manager.mariadb.AsyncMariaDBManager
- insertIgnore(String, Map<String, Object>) - Method in class io.github.mrtesz.teszcore.db.manager.mariadb.MariaDBManager
- insertIgnore(String, Map<String, Object>) - Method in class io.github.mrtesz.teszcore.db.manager.sqlite.AsyncSqliteManager
- insertIgnore(String, Map<String, Object>) - Method in class io.github.mrtesz.teszcore.db.manager.sqlite.SqliteManager
- insertInto(String, Map<String, Object>) - Method in interface io.github.mrtesz.teszcore.api.db.manager.AsyncDBManager
- insertInto(String, Map<String, Object>) - Method in interface io.github.mrtesz.teszcore.api.db.manager.SyncDBManager
- insertInto(String, Map<String, Object>) - Method in class io.github.mrtesz.teszcore.db.manager.mariadb.AsyncMariaDBManager
- insertInto(String, Map<String, Object>) - Method in class io.github.mrtesz.teszcore.db.manager.mariadb.MariaDBManager
- insertInto(String, Map<String, Object>) - Method in class io.github.mrtesz.teszcore.db.manager.sqlite.AsyncSqliteManager
- insertInto(String, Map<String, Object>) - Method in class io.github.mrtesz.teszcore.db.manager.sqlite.SqliteManager
- io.github.mrtesz.teszcore.api - package io.github.mrtesz.teszcore.api
- io.github.mrtesz.teszcore.api.db.manager - package io.github.mrtesz.teszcore.api.db.manager
- io.github.mrtesz.teszcore.api.db.table - package io.github.mrtesz.teszcore.api.db.table
- io.github.mrtesz.teszcore.config - package io.github.mrtesz.teszcore.config
- io.github.mrtesz.teszcore.copyable - package io.github.mrtesz.teszcore.copyable
- io.github.mrtesz.teszcore.db.batch - package io.github.mrtesz.teszcore.db.batch
- io.github.mrtesz.teszcore.db.manager - package io.github.mrtesz.teszcore.db.manager
- io.github.mrtesz.teszcore.db.manager.mariadb - package io.github.mrtesz.teszcore.db.manager.mariadb
- io.github.mrtesz.teszcore.db.manager.sqlite - package io.github.mrtesz.teszcore.db.manager.sqlite
- io.github.mrtesz.teszcore.db.selection - package io.github.mrtesz.teszcore.db.selection
- io.github.mrtesz.teszcore.db.table.mariadb - package io.github.mrtesz.teszcore.db.table.mariadb
- io.github.mrtesz.teszcore.db.table.sqlite - package io.github.mrtesz.teszcore.db.table.sqlite
- io.github.mrtesz.teszcore.exceptions - package io.github.mrtesz.teszcore.exceptions
- io.github.mrtesz.teszcore.internal.init - package io.github.mrtesz.teszcore.internal.init
- io.github.mrtesz.teszcore.internal.log4j - package io.github.mrtesz.teszcore.internal.log4j
- io.github.mrtesz.teszcore.json - package io.github.mrtesz.teszcore.json
- io.github.mrtesz.teszcore.logged - package io.github.mrtesz.teszcore.logged
- io.github.mrtesz.teszcore.logger - package io.github.mrtesz.teszcore.logger
- io.github.mrtesz.teszcore.logger.level - package io.github.mrtesz.teszcore.logger.level
- io.github.mrtesz.teszcore.util - package io.github.mrtesz.teszcore.util
- io.github.mrtesz.teszcore.util.tuple - package io.github.mrtesz.teszcore.util.tuple
- isClosed() - Method in interface io.github.mrtesz.teszcore.api.db.manager.DBManager
-
Show if the database manager is closed
- isClosed() - Method in class io.github.mrtesz.teszcore.db.manager.AbstractDBManager
- isEmpty() - Method in class io.github.mrtesz.teszcore.db.selection.SelectionResult
- isEmpty() - Method in class io.github.mrtesz.teszcore.db.selection.SelectionResults
J
- JsonSerializable<T> - Class in io.github.mrtesz.teszcore.json
- JsonSerializable() - Constructor for class io.github.mrtesz.teszcore.json.JsonSerializable
L
- left - Variable in class io.github.mrtesz.teszcore.util.tuple.Triple
-
first value
- LEVEL0 - Enum constant in enum class io.github.mrtesz.teszcore.logger.level.DebugLevel
- LEVEL1 - Enum constant in enum class io.github.mrtesz.teszcore.logger.level.DebugLevel
- LEVEL10 - Enum constant in enum class io.github.mrtesz.teszcore.logger.level.DebugLevel
- LEVEL11 - Enum constant in enum class io.github.mrtesz.teszcore.logger.level.DebugLevel
- LEVEL2 - Enum constant in enum class io.github.mrtesz.teszcore.logger.level.DebugLevel
- LEVEL3 - Enum constant in enum class io.github.mrtesz.teszcore.logger.level.DebugLevel
- LEVEL4 - Enum constant in enum class io.github.mrtesz.teszcore.logger.level.DebugLevel
- LEVEL5 - Enum constant in enum class io.github.mrtesz.teszcore.logger.level.DebugLevel
- LEVEL6 - Enum constant in enum class io.github.mrtesz.teszcore.logger.level.DebugLevel
- LEVEL7 - Enum constant in enum class io.github.mrtesz.teszcore.logger.level.DebugLevel
- LEVEL8 - Enum constant in enum class io.github.mrtesz.teszcore.logger.level.DebugLevel
- LEVEL9 - Enum constant in enum class io.github.mrtesz.teszcore.logger.level.DebugLevel
- LEVELMINUS1 - Enum constant in enum class io.github.mrtesz.teszcore.logger.level.DebugLevel
- load() - Method in class io.github.mrtesz.teszcore.config.YamlConfig
-
Creates the file or directory if not existent and loads the data of the YAML file
- log(String) - Method in class io.github.mrtesz.teszcore.logger.TeszCoreLogger
-
Log a message, according to the
LoggerLevelofDebugLevel - log(String, Level) - Method in class io.github.mrtesz.teszcore.logger.TeszCoreLogger
-
Log a message, according to the provided `level`
- logException(Throwable) - Method in class io.github.mrtesz.teszcore.api.TeszCoreApi
-
Logs a throwable by calling
TeszCoreLogger.printStackTrace(java.lang.Throwable) - LoggerLevel - Enum Class in io.github.mrtesz.teszcore.logger.level
-
Type of logging
M
- MariaDBManager - Class in io.github.mrtesz.teszcore.db.manager.mariadb
- MariaDBManager(boolean, String, String, String, String, HikariDataSource, String) - Constructor for class io.github.mrtesz.teszcore.db.manager.mariadb.MariaDBManager
- MariaDBTable - Class in io.github.mrtesz.teszcore.db.table.mariadb
-
Builder class to configure MariaDB tables
- MariaDBTable(String) - Constructor for class io.github.mrtesz.teszcore.db.table.mariadb.MariaDBTable
-
Create a
MariaDBTable - message - Variable in exception class io.github.mrtesz.teszcore.exceptions.TeszCoreException
- middle - Variable in class io.github.mrtesz.teszcore.util.tuple.Triple
-
second value
N
- name - Variable in class io.github.mrtesz.teszcore.db.manager.mariadb.AbstractMariaDBManager
- name - Variable in class io.github.mrtesz.teszcore.db.manager.sqlite.AbstractSqliteManager
- NOTHING - Enum constant in enum class io.github.mrtesz.teszcore.logger.level.LoggerLevel
- NotNullException - Exception Class in io.github.mrtesz.teszcore.exceptions
-
Exception, signalizing an object was not null when should be
- NotNullException() - Constructor for exception class io.github.mrtesz.teszcore.exceptions.NotNullException
- NotNullException(String) - Constructor for exception class io.github.mrtesz.teszcore.exceptions.NotNullException
P
- Pair<L,
R> - Class in io.github.mrtesz.teszcore.util.tuple -
Utility tuple with 2 values
- Pair() - Constructor for class io.github.mrtesz.teszcore.util.tuple.Pair
- password - Variable in class io.github.mrtesz.teszcore.db.manager.mariadb.AbstractMariaDBManager
- path - Variable in class io.github.mrtesz.teszcore.db.manager.sqlite.AbstractSqliteManager
- printStackTrace(Throwable) - Method in class io.github.mrtesz.teszcore.logger.TeszCoreLogger
-
Log a throwable
- projectName - Variable in class io.github.mrtesz.teszcore.db.manager.mariadb.AbstractMariaDBManager
- projectName - Variable in class io.github.mrtesz.teszcore.db.manager.sqlite.AbstractSqliteManager
Q
- Quadruple<L,
ML, - Class in io.github.mrtesz.teszcore.util.tupleMR, R> -
Utility tuple with 4 values
- Quadruple() - Constructor for class io.github.mrtesz.teszcore.util.tuple.Quadruple
R
- rebuild() - Static method in class io.github.mrtesz.teszcore.json.TeszGson
-
Rebuilds the
TeszGson.gsonwithTeszGson.BUILDER#create - registerDeserializer(Class<T>, JsonDeserializer<T>) - Static method in class io.github.mrtesz.teszcore.json.TeszGson
- registerSerializer(Class<T>, JsonSerializer<T>) - Static method in class io.github.mrtesz.teszcore.json.TeszGson
- registerTypeAdapter(Class<T>, Object) - Static method in class io.github.mrtesz.teszcore.json.TeszGson
- right - Variable in class io.github.mrtesz.teszcore.util.tuple.Triple
-
third value
- roll(double) - Static method in class io.github.mrtesz.teszcore.util.Chance
-
Rolls a `boolean` of a provided percentage
- roll(double, Random) - Static method in class io.github.mrtesz.teszcore.util.Chance
-
Rolls a `boolean` of a provided percentage with a specified random
- roll(int) - Static method in class io.github.mrtesz.teszcore.util.Chance
-
Rolls a percentage
- roll(int, Random) - Static method in class io.github.mrtesz.teszcore.util.Chance
-
Rolls a percentage with a specified random
- roll(Collection<? extends Chance.WeightedEntry<T>>) - Static method in class io.github.mrtesz.teszcore.util.Chance
-
Roll a value of a weighted entry collection
- roll(Collection<? extends Chance.WeightedEntry<T>>, Random) - Static method in class io.github.mrtesz.teszcore.util.Chance
-
Roll a value of a weighted entry collection with a specified random
- run(Runnable) - Method in class io.github.mrtesz.teszcore.logged.Runner
-
Referencing
Runner.run(Runnable, String)with `extraInfo` being `null` - run(Runnable, String) - Method in class io.github.mrtesz.teszcore.logged.Runner
-
Referencing
Runner.executeRunnable(Runnable, String, String)with `usingProject` being the `String` provided on construct - Runner - Class in io.github.mrtesz.teszcore.logged
- Runner(String) - Constructor for class io.github.mrtesz.teszcore.logged.Runner
S
- save() - Method in class io.github.mrtesz.teszcore.config.YamlConfig
-
Saves the current data to the YAML file
- save(Charset) - Method in class io.github.mrtesz.teszcore.config.YamlConfig
-
Saves the current data to the YAML file
- SelectionResult - Class in io.github.mrtesz.teszcore.db.selection
-
Class for simple handling of a single table row.
- SelectionResult() - Constructor for class io.github.mrtesz.teszcore.db.selection.SelectionResult
- SelectionResults - Class in io.github.mrtesz.teszcore.db.selection
-
Class for simple handling results of a selection
- SelectionResults(List<Map<String, Object>>) - Constructor for class io.github.mrtesz.teszcore.db.selection.SelectionResults
-
Execution results as a List of Maps representing the selected rows
- serialize() - Method in class io.github.mrtesz.teszcore.json.JsonSerializable
- set(String, Object) - Method in class io.github.mrtesz.teszcore.config.YamlConfig
-
Sets a value in the YAML file
- setAllowReadOnlyProperties(boolean) - Method in class io.github.mrtesz.teszcore.config.YamlConfig.Builder
- setAllowUnicode(boolean) - Method in class io.github.mrtesz.teszcore.config.YamlConfig.Builder
- setAnchorGenerator(AnchorGenerator) - Method in class io.github.mrtesz.teszcore.config.YamlConfig.Builder
- setAutosave(boolean) - Method in class io.github.mrtesz.teszcore.config.YamlConfig.Builder
- setBUILDER(GsonBuilder) - Static method in class io.github.mrtesz.teszcore.json.TeszGson
-
Deprecated, for removal: This API element is subject to removal in a future version.– useand modify the returned builder - Reason: Resets all registered TypeAdapters
invalid reference
#getBUILDER - setCanonical(boolean) - Method in class io.github.mrtesz.teszcore.config.YamlConfig.Builder
- setDefault(String, Object) - Method in class io.github.mrtesz.teszcore.config.YamlConfig
-
Saves a value to the YAML file if the path is empty
- setDefaultFlowStyle(DumperOptions.FlowStyle) - Method in class io.github.mrtesz.teszcore.config.YamlConfig.Builder
- setDefaultScalarStyle(DumperOptions.ScalarStyle) - Method in class io.github.mrtesz.teszcore.config.YamlConfig.Builder
- setDumperOptions(DumperOptions) - Method in class io.github.mrtesz.teszcore.config.YamlConfig.Builder
- setExplicitEnd(boolean) - Method in class io.github.mrtesz.teszcore.config.YamlConfig.Builder
- setExplicitStart(boolean) - Method in class io.github.mrtesz.teszcore.config.YamlConfig.Builder
- setFileName(String) - Method in class io.github.mrtesz.teszcore.config.YamlConfig.Builder
- setFilePath(String) - Method in class io.github.mrtesz.teszcore.config.YamlConfig.Builder
- setIndent(int) - Method in class io.github.mrtesz.teszcore.config.YamlConfig.Builder
- setIndentWithIndicator(boolean) - Method in class io.github.mrtesz.teszcore.config.YamlConfig.Builder
- setIndicatorIndent(int) - Method in class io.github.mrtesz.teszcore.config.YamlConfig.Builder
- setLevel(DebugLevel) - Method in class io.github.mrtesz.teszcore.logger.TeszCoreLogger
- setLineBreak(DumperOptions.LineBreak) - Method in class io.github.mrtesz.teszcore.config.YamlConfig.Builder
- setMaxSimpleKeyLength(int) - Method in class io.github.mrtesz.teszcore.config.YamlConfig.Builder
- setNonPrintableStyle(DumperOptions.NonPrintableStyle) - Method in class io.github.mrtesz.teszcore.config.YamlConfig.Builder
- setPrettyFlow(Boolean) - Method in class io.github.mrtesz.teszcore.config.YamlConfig.Builder
- setPrimaryKeys(String...) - Method in interface io.github.mrtesz.teszcore.api.db.table.DBTable
-
Set the Primary Keys of the Table
- setPrimaryKeys(String...) - Method in class io.github.mrtesz.teszcore.db.table.mariadb.MariaDBTable
- setPrimaryKeys(String...) - Method in class io.github.mrtesz.teszcore.db.table.sqlite.SqliteTable
- setProcessComments(boolean) - Method in class io.github.mrtesz.teszcore.config.YamlConfig.Builder
- setSplitLines(boolean) - Method in class io.github.mrtesz.teszcore.config.YamlConfig.Builder
- setTags(Map<String, String>) - Method in class io.github.mrtesz.teszcore.config.YamlConfig.Builder
- setTimeZone(TimeZone) - Method in class io.github.mrtesz.teszcore.config.YamlConfig.Builder
- setVersion(DumperOptions.Version) - Method in class io.github.mrtesz.teszcore.config.YamlConfig.Builder
- setWidth(int) - Method in class io.github.mrtesz.teszcore.config.YamlConfig.Builder
- SqliteManager - Class in io.github.mrtesz.teszcore.db.manager.sqlite
- SqliteManager(String, String, HikariDataSource, String) - Constructor for class io.github.mrtesz.teszcore.db.manager.sqlite.SqliteManager
- SqliteTable - Class in io.github.mrtesz.teszcore.db.table.sqlite
- SqliteTable(String) - Constructor for class io.github.mrtesz.teszcore.db.table.sqlite.SqliteTable
-
Create a
SqliteTable - sync() - Method in interface io.github.mrtesz.teszcore.api.db.manager.DBManager
-
Creates a SyncDBManager with same information as the current database manager (When called from an AsyncDBManager the param timeoutSeconds will be forgotten)
- sync() - Method in class io.github.mrtesz.teszcore.db.manager.mariadb.AbstractMariaDBManager
- sync() - Method in class io.github.mrtesz.teszcore.db.manager.sqlite.AbstractSqliteManager
- SyncDBManager - Interface in io.github.mrtesz.teszcore.api.db.manager
-
Parent interface of all sync database managers
T
- TeszCoreApi - Class in io.github.mrtesz.teszcore.api
-
The API class
- TeszCoreApi.Initializer - Class in io.github.mrtesz.teszcore.api
- TeszCoreException - Exception Class in io.github.mrtesz.teszcore.exceptions
-
Parent class of all exceptions in TeszCore
- TeszCoreException(String) - Constructor for exception class io.github.mrtesz.teszcore.exceptions.TeszCoreException
- TeszCoreException(String, Throwable) - Constructor for exception class io.github.mrtesz.teszcore.exceptions.TeszCoreException
- TeszCoreException(Throwable) - Constructor for exception class io.github.mrtesz.teszcore.exceptions.TeszCoreException
- TeszCoreLogger - Class in io.github.mrtesz.teszcore.logger
-
Main class for logging
- TeszCoreLogger(Logger, DebugLevel, String) - Constructor for class io.github.mrtesz.teszcore.logger.TeszCoreLogger
- TeszCoreLoggerFactory - Interface in io.github.mrtesz.teszcore.logger
-
Factory used in
TeszCoreApi.getLogger(io.github.mrtesz.teszcore.logger.level.DebugLevel)methods - TeszGson - Class in io.github.mrtesz.teszcore.json
- TeszGson() - Constructor for class io.github.mrtesz.teszcore.json.TeszGson
- throwing(Throwable) - Method in class io.github.mrtesz.teszcore.logger.TeszCoreLogger
- timeoutSeconds - Variable in class io.github.mrtesz.teszcore.db.manager.mariadb.AsyncMariaDBManager
- timeoutSeconds - Variable in class io.github.mrtesz.teszcore.db.manager.sqlite.AsyncSqliteManager
- toJson(Object) - Static method in class io.github.mrtesz.teszcore.json.TeszGson
- toJson(Object, Type) - Static method in class io.github.mrtesz.teszcore.json.TeszGson
- toString(String) - Method in class io.github.mrtesz.teszcore.util.tuple.Pair
- toString(String) - Method in class io.github.mrtesz.teszcore.util.tuple.Quadruple
- toString(String) - Method in class io.github.mrtesz.teszcore.util.tuple.Triple
- Triple<L,
M, - Class in io.github.mrtesz.teszcore.util.tupleR> -
Utility tuple with 3 values
- Triple() - Constructor for class io.github.mrtesz.teszcore.util.tuple.Triple
U
- update(String, Map<String, Object>, String) - Method in interface io.github.mrtesz.teszcore.api.db.manager.AsyncDBManager
- update(String, Map<String, Object>, String) - Method in interface io.github.mrtesz.teszcore.api.db.manager.SyncDBManager
- update(String, Map<String, Object>, String) - Method in class io.github.mrtesz.teszcore.db.manager.mariadb.AsyncMariaDBManager
- update(String, Map<String, Object>, String) - Method in class io.github.mrtesz.teszcore.db.manager.mariadb.MariaDBManager
- update(String, Map<String, Object>, String) - Method in class io.github.mrtesz.teszcore.db.manager.sqlite.AsyncSqliteManager
- update(String, Map<String, Object>, String) - Method in class io.github.mrtesz.teszcore.db.manager.sqlite.SqliteManager
- update(String, Map<String, Object>, String, List<Object>) - Method in interface io.github.mrtesz.teszcore.api.db.manager.AsyncDBManager
- update(String, Map<String, Object>, String, List<Object>) - Method in interface io.github.mrtesz.teszcore.api.db.manager.SyncDBManager
- update(String, Map<String, Object>, String, List<Object>) - Method in class io.github.mrtesz.teszcore.db.manager.mariadb.AsyncMariaDBManager
- update(String, Map<String, Object>, String, List<Object>) - Method in class io.github.mrtesz.teszcore.db.manager.mariadb.MariaDBManager
- update(String, Map<String, Object>, String, List<Object>) - Method in class io.github.mrtesz.teszcore.db.manager.sqlite.AsyncSqliteManager
- update(String, Map<String, Object>, String, List<Object>) - Method in class io.github.mrtesz.teszcore.db.manager.sqlite.SqliteManager
- url - Variable in class io.github.mrtesz.teszcore.db.manager.mariadb.AbstractMariaDBManager
- url - Variable in class io.github.mrtesz.teszcore.db.manager.sqlite.AbstractSqliteManager
- user - Variable in class io.github.mrtesz.teszcore.db.manager.mariadb.AbstractMariaDBManager
V
- valueOf(String) - Static method in enum class io.github.mrtesz.teszcore.logger.level.DebugLevel
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.mrtesz.teszcore.logger.level.LoggerLevel
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.github.mrtesz.teszcore.logger.level.DebugLevel
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.mrtesz.teszcore.logger.level.LoggerLevel
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- warning(String) - Method in class io.github.mrtesz.teszcore.logger.TeszCoreLogger
- WARNING - Enum constant in enum class io.github.mrtesz.teszcore.logger.level.LoggerLevel
- WeightedEntry(double, T) - Constructor for class io.github.mrtesz.teszcore.util.Chance.WeightedEntry
- withValue(List<Object>) - Method in class io.github.mrtesz.teszcore.db.batch.BatchSqlStatements
Y
- YamlConfig - Class in io.github.mrtesz.teszcore.config
-
Class for managing YAML files
- YamlConfig.Builder - Class in io.github.mrtesz.teszcore.config
- YamlConfigException - Exception Class in io.github.mrtesz.teszcore.exceptions
-
Exception thrown in YamlConfig context
- YamlConfigException(String) - Constructor for exception class io.github.mrtesz.teszcore.exceptions.YamlConfigException
- YamlConfigException(String, IOException) - Constructor for exception class io.github.mrtesz.teszcore.exceptions.YamlConfigException
All Classes and Interfaces|All Packages|Serialized Form
BatchSqlStatementsinstead