Index

A C D G M P S T 
All Classes and Interfaces|All Packages

A

AbstractDatabase<T extends org.bukkit.plugin.java.JavaPlugin> - Class in at.hugob.plugin.library.database
the common code for databases
AbstractDatabase(T, DataSource, String) - Constructor for class at.hugob.plugin.library.database.AbstractDatabase
 
at.hugob.plugin.library.database - package at.hugob.plugin.library.database
 

C

convertBytesToUUID(byte[]) - Static method in class at.hugob.plugin.library.database.DatabaseUtils
Converts an byte[] to a UUID
convertUuidToBinary(UUID) - Static method in class at.hugob.plugin.library.database.DatabaseUtils
Converts a UUID to an byte[]
createTables() - Method in class at.hugob.plugin.library.database.AbstractDatabase
A dummy method so I don't forget to create the SQL tables This needs to be executed on your own!

D

DatabaseUtils - Class in at.hugob.plugin.library.database
Common code that can be used to communicate with a Database, e.g.

G

getConnection() - Method in class at.hugob.plugin.library.database.AbstractDatabase
Gets a connection from the DataSource to execute SQL queries on
getConnection() - Method in class at.hugob.plugin.library.database.SQLiteDatabase
Gets a connection from the DataSource to execute SQL queries on With foreign keys turned on.

M

MySQLDatabase<T extends org.bukkit.plugin.java.JavaPlugin> - Class in at.hugob.plugin.library.database
An implementation of the AbstractDatabase to handle MySQL Databases
MySQLDatabase(T, String, String, String, String, int, String) - Constructor for class at.hugob.plugin.library.database.MySQLDatabase
Instantiates a new MySQL Database connection

P

plugin - Variable in class at.hugob.plugin.library.database.AbstractDatabase
the plugin who initiated the database, mostly used for logging

S

SQLiteDatabase<T extends org.bukkit.plugin.java.JavaPlugin> - Class in at.hugob.plugin.library.database
An implementation of the AbstractDatabase to handle SQLite Databases
SQLiteDatabase(T, String, String) - Constructor for class at.hugob.plugin.library.database.SQLiteDatabase
Instantiates a new SQLite Database connection

T

tablePrefix - Variable in class at.hugob.plugin.library.database.AbstractDatabase
the prefix for the tabels in the database
A C D G M P S T 
All Classes and Interfaces|All Packages