Commit Graph

2705 Commits

Author SHA1 Message Date
Rsl1122
87a61380f1 Refactored RemoveOperations#player into a Transaction 2019-02-16 14:27:00 +02:00
Rsl1122
a48808adb9 Fixed missing column PingTable 2019-02-16 14:26:59 +02:00
Rsl1122
c294f65cb9 Fixed double Primary key built for sqlite 2019-02-16 14:26:59 +02:00
Rsl1122
6effe352b2 Commented useJUnitPlatform from build.gradle 2019-02-16 14:26:58 +02:00
Rsl1122
49561be4cc CreateTablesTransaction that creates all tables. 2019-02-16 14:26:58 +02:00
Rsl1122
8fed50b774 Added OperationCriticalTransaction (Transaction subtype) 2019-02-16 14:26:57 +02:00
Rsl1122
fbdfa1676a SettingsTable#createTableSQL, Deprecated SettingsTable.Col 2019-02-16 14:26:56 +02:00
Rsl1122
3502caf69a SecurityTable#createTableSQL, Deprecated SecurityTable.Col 2019-02-16 14:26:56 +02:00
Rsl1122
9f6db8398c WorldTimesTable#createTableSQL, Deprecated WorldTimesTable.Col 2019-02-16 14:26:55 +02:00
Rsl1122
594dc4afe7 WorldTable#createTableSQL, Deprecated WorldTable.Col 2019-02-16 14:26:54 +02:00
Rsl1122
ad070b3b31 TPSTable#createTableSQL, Deprecated TPSTable.Col 2019-02-16 14:26:53 +02:00
Rsl1122
69e542dd35 CommandUseTable#createTableSQL, Deprecated CommandUseTable.Col 2019-02-16 14:26:53 +02:00
Rsl1122
0591ee1755 PingTable#createTableSQL, Deprecated PingTable.Col 2019-02-16 14:26:52 +02:00
Rsl1122
27852ec9c4 KillsTable#createTableSQL, Deprecated KillsTable.Col 2019-02-16 14:26:51 +02:00
Rsl1122
da6d1e5447 SessionsTable#createTableSQL, Deprecated SessionsTable.Col 2019-02-16 14:26:51 +02:00
Rsl1122
bbfec471c9 NicknamesTable#createTableSQL, Deprecated NicknamesTable.Col 2019-02-16 14:26:50 +02:00
Rsl1122
9b81ccefb4 GeoInfoTable#createTableSQL, Deprecated GeoInfoTable.Col 2019-02-16 14:26:50 +02:00
Rsl1122
8cddc2e60a UserInfoTable#createTableSQL, Deprecated UserInfoTable.Col 2019-02-16 14:26:49 +02:00
Rsl1122
37f5ecd9f8 UsersTable#createTableSQL, Deprecated UsersTable.Col 2019-02-16 14:26:48 +02:00
Rsl1122
6b5f42aa3b ServerTable#createTableSQL, Deprecated ServerTable.Col 2019-02-16 14:26:47 +02:00
Rsl1122
be6248de2f Deprecated TableSQLParser and Column 2019-02-16 14:26:46 +02:00
Rsl1122
d1085eed25 Added conditional execution to Transaction 2019-02-16 14:26:44 +02:00
Rsl1122
fd98540a16 New CREATE TABLE statement parser 2019-02-16 14:26:44 +02:00
Rsl1122
7d5be23739 use JUnitPlatform for tests 2019-02-16 14:26:43 +02:00
Rsl1122
cd633e28d2 Move LargeFetch and OptionalFetch queries to same package 2019-02-16 14:26:43 +02:00
Rsl1122
fd85207ff1 Refactored BatchOperationTable#copyWorlds 2019-02-16 14:26:42 +02:00
Rsl1122
a110759719 Refactored UserTable#getUsers to a query 2019-02-16 14:26:41 +02:00
Rsl1122
3bba52f0a8 Refactored UserInfoTable#getAllUserInfo to a query 2019-02-16 14:26:41 +02:00
Rsl1122
4d235dc0b6 Refactored TPSTable#getAllTPS to a query 2019-02-16 14:26:40 +02:00
Rsl1122
721e811dc5 Refactored SessionsTable#getAllSessions to queries:
- fetchAllSessionsWithoutKillOrWorldData
- fetchAllSessionsWithKillOrWorldData
2019-02-16 14:26:39 +02:00
Rsl1122
82ac699ea2 Temp fix for MySQL Patch test 2019-02-16 14:26:38 +02:00
Rsl1122
d4e6cbbe31 Missing license header to Query 2019-02-16 14:26:38 +02:00
Rsl1122
606844c92d Refactored ServerTable#getBungeeInfo to a query: 2019-02-16 14:26:37 +02:00
Rsl1122
062ab088b3 Refactored ServerTable#getBukkitServers to queries:
- New query for finding a single server in OptionalFetchQueries
- New query for all servers in LargeFetchQueries
- isProxy and isNotProxy methods to Server class
- Renamed ConnectionSystem bukkitServers to dataServers

This increases some boiler plate java code in some places, but reduces
it in others. This will help with saving Velocity with it's appropriate
name in the future.
2019-02-16 14:26:37 +02:00
Rsl1122
2256f4d718 Refactored SecurityTable#getUsers to a query 2019-02-16 14:26:36 +02:00
Rsl1122
ad6cb62e61 Refactored PingTable#getAllPings to a query 2019-02-16 14:26:35 +02:00
Rsl1122
7c45564fa9 Refactored NicknamesTable#getAllNicknamesUnmapped to a query 2019-02-16 14:26:35 +02:00
Rsl1122
cd51c9a8de Refactored NicknamesTable#getAllNicknames to a query 2019-02-16 14:26:34 +02:00
Rsl1122
8f1b35d4d5 Removed KillsTable#getPlayerKills 2019-02-16 14:26:33 +02:00
Rsl1122
7e3950e5fc Refactored KillsTable#getAllPlayerKillsBySessionID to a query 2019-02-16 14:26:32 +02:00
Rsl1122
cec8b7ac6c Refactored GeoInfoTable#getAllGeoInfo to a query 2019-02-16 14:26:31 +02:00
Rsl1122
6bab6009a1 Refactored CommandUseTable#getAllCommandUsages to a query 2019-02-16 14:26:30 +02:00
Rsl1122
8e77b37188 Moved Schema queries to their own package 2019-02-16 14:26:30 +02:00
Rsl1122
26325967ee Refactored Patch#hasColumn with Queries 2019-02-16 14:26:29 +02:00
Rsl1122
1080c6de70 Refactored Patch#hasTable with Queries 2019-02-16 14:26:28 +02:00
Rsl1122
14da0ca8b1 Modify Patches to Transactions 2019-02-16 14:26:27 +02:00
Rsl1122
60835a339e Abstract Transaction Implementation 2019-02-16 14:26:26 +02:00
Rsl1122
a9e5524775 Implemented Database#query in SQLDB, deprecated old access methods 2019-02-16 14:26:25 +02:00
Rsl1122
3c66ca3331 Removed AbstractSQLStatement, added Query
Query is a more abstract version of QueryStatement that will allow
DAO like queries to be made.
2019-02-16 14:26:25 +02:00
Rsl1122
4b0526c6d3 Added Database#query and Database#executeTransaction 2019-02-16 14:26:24 +02:00