var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":6,"i16":10,"i17":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]};
<li><ahref="../../../../../../../main/java/com/djrapitops/plan/database/databases/MySQLDB.html"title="class in main.java.com.djrapitops.plan.database.databases"><spanclass="typeNameLink">Prev Class</span></a></li>
<li><ahref="../../../../../../../main/java/com/djrapitops/plan/database/databases/SQLiteDB.html"title="class in main.java.com.djrapitops.plan.database.databases"><spanclass="typeNameLink">Next Class</span></a></li>
<li><ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ulclass="inheritance">
<li><ahref="../../../../../../../main/java/com/djrapitops/plan/database/Database.html"title="class in main.java.com.djrapitops.plan.database">main.java.com.djrapitops.plan.database.Database</a></li>
<dd><ahref="../../../../../../../main/java/com/djrapitops/plan/database/databases/MySQLDB.html"title="class in main.java.com.djrapitops.plan.database.databases">MySQLDB</a>, <ahref="../../../../../../../main/java/com/djrapitops/plan/database/databases/SQLiteDB.html"title="class in main.java.com.djrapitops.plan.database.databases">SQLiteDB</a></dd>
</dl>
<hr>
<br>
<pre>public abstract class <spanclass="typeNameLabel">SQLDB</span>
extends <ahref="../../../../../../../main/java/com/djrapitops/plan/database/Database.html"title="class in main.java.com.djrapitops.plan.database">Database</a></pre>
<h3>Fields inherited from class main.java.com.djrapitops.plan.database.<ahref="../../../../../../../main/java/com/djrapitops/plan/database/Database.html"title="class in main.java.com.djrapitops.plan.database">Database</a></h3>
<tdclass="colOne"><code><spanclass="memberNameLink"><ahref="../../../../../../../main/java/com/djrapitops/plan/database/databases/SQLDB.html#SQLDB-main.java.com.djrapitops.plan.api.IPlan-">SQLDB</a></span>(<ahref="../../../../../../../main/java/com/djrapitops/plan/api/IPlan.html"title="interface in main.java.com.djrapitops.plan.api">IPlan</a> plugin)</code> </td>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../../../../main/java/com/djrapitops/plan/database/databases/SQLDB.html#commit-java.sql.Connection-">commit</a></span>(<ahref="http://docs.oracle.com/javase/8/docs/api/java/sql/Connection.html?is-external=true"title="class or interface in java.sql">Connection</a> connection)</code>
<divclass="block">Commits changes to the .db file when using SQLite Database.</div>
<tdclass="colFirst"><code><ahref="../../../../../../../main/java/com/djrapitops/plan/database/tables/Table.html"title="class in main.java.com.djrapitops.plan.database.tables">Table</a>[]</code></td>
<tdclass="colFirst"><code><ahref="../../../../../../../main/java/com/djrapitops/plan/database/tables/Table.html"title="class in main.java.com.djrapitops.plan.database.tables">Table</a>[]</code></td>
<tdclass="colFirst"><code><ahref="http://docs.oracle.com/javase/8/docs/api/java/sql/Connection.html?is-external=true"title="class or interface in java.sql">Connection</a></code></td>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../../../../main/java/com/djrapitops/plan/database/databases/SQLDB.html#removeAccount-java.util.UUID-">removeAccount</a></span>(<ahref="http://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true"title="class or interface in java.util">UUID</a> uuid)</code>
<divclass="block">Removes all data related to an account from the database.</div>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../../../../main/java/com/djrapitops/plan/database/databases/SQLDB.html#rollback-java.sql.Connection-">rollback</a></span>(<ahref="http://docs.oracle.com/javase/8/docs/api/java/sql/Connection.html?is-external=true"title="class or interface in java.sql">Connection</a> connection)</code>
<divclass="block">Reverts transaction when using SQLite Database.</div>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../../../../main/java/com/djrapitops/plan/database/databases/SQLDB.html#wasSeenBefore-java.util.UUID-">wasSeenBefore</a></span>(<ahref="http://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true"title="class or interface in java.util">UUID</a> uuid)</code>
<divclass="block">Check if the user is saved in the database.</div>
<h3>Methods inherited from class main.java.com.djrapitops.plan.database.<ahref="../../../../../../../main/java/com/djrapitops/plan/database/Database.html"title="class in main.java.com.djrapitops.plan.database">Database</a></h3>
<h3>Methods inherited from class java.lang.<ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></h3>
<code><ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--"title="class or interface in java.lang">clone</a>, <ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-"title="class or interface in java.lang">equals</a>, <ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--"title="class or interface in java.lang">finalize</a>, <ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--"title="class or interface in java.lang">getClass</a>, <ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--"title="class or interface in java.lang">hashCode</a>, <ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--"title="class or interface in java.lang">notify</a>, <ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--"title="class or interface in java.lang">notifyAll</a>, <ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--"title="class or interface in java.lang">toString</a>, <ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--"title="class or interface in java.lang">wait</a>, <ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-"title="class or interface in java.lang">wait</a>, <ahref="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-"title="class or interface in java.lang">wait</a></code></li>
<pre>public SQLDB(<ahref="../../../../../../../main/java/com/djrapitops/plan/api/IPlan.html"title="interface in main.java.com.djrapitops.plan.api">IPlan</a> plugin)</pre>
throws <ahref="../../../../../../../main/java/com/djrapitops/plan/api/exceptions/DatabaseInitException.html"title="class in main.java.com.djrapitops.plan.api.exceptions">DatabaseInitException</a></pre>
<divclass="block">Initializes the Database.
<p>
All tables exist in the database after call to this.
Updates Schema to latest version.
Converts Unsaved Bukkit player files to database data.
<dd><code><ahref="../../../../../../../main/java/com/djrapitops/plan/database/Database.html#init--">init</a></code> in class <code><ahref="../../../../../../../main/java/com/djrapitops/plan/database/Database.html"title="class in main.java.com.djrapitops.plan.database">Database</a></code></dd>
<dd><code><ahref="../../../../../../../main/java/com/djrapitops/plan/api/exceptions/DatabaseInitException.html"title="class in main.java.com.djrapitops.plan.api.exceptions">DatabaseInitException</a></code> - if Database fails to initiate.</dd>
throws <ahref="../../../../../../../main/java/com/djrapitops/plan/api/exceptions/DatabaseInitException.html"title="class in main.java.com.djrapitops.plan.api.exceptions">DatabaseInitException</a></pre>
<divclass="block">Ensures connection functions correctly and all tables exist.
<dd><code><ahref="../../../../../../../main/java/com/djrapitops/plan/api/exceptions/DatabaseInitException.html"title="class in main.java.com.djrapitops.plan.api.exceptions">DatabaseInitException</a></code> - if something goes wrong.</dd>
<pre>public <ahref="../../../../../../../main/java/com/djrapitops/plan/database/tables/Table.html"title="class in main.java.com.djrapitops.plan.database.tables">Table</a>[] getAllTables()</pre>
<pre>public <ahref="../../../../../../../main/java/com/djrapitops/plan/database/tables/Table.html"title="class in main.java.com.djrapitops.plan.database.tables">Table</a>[] getAllTablesInRemoveOrder()</pre>
throws <ahref="../../../../../../../main/java/com/djrapitops/plan/api/exceptions/DatabaseInitException.html"title="class in main.java.com.djrapitops.plan.api.exceptions">DatabaseInitException</a></pre>
<divclass="block">Setups the <code>BasicDataSource</code></div>
<dd><code><ahref="../../../../../../../main/java/com/djrapitops/plan/api/exceptions/DatabaseInitException.html"title="class in main.java.com.djrapitops.plan.api.exceptions">DatabaseInitException</a></code></dd>
throws <ahref="http://docs.oracle.com/javase/8/docs/api/java/sql/SQLException.html?is-external=true"title="class or interface in java.sql">SQLException</a></pre>
<dd><code><ahref="../../../../../../../main/java/com/djrapitops/plan/database/Database.html#close--">close</a></code> in class <code><ahref="../../../../../../../main/java/com/djrapitops/plan/database/Database.html"title="class in main.java.com.djrapitops.plan.database">Database</a></code></dd>
<dd><code><ahref="http://docs.oracle.com/javase/8/docs/api/java/sql/SQLException.html?is-external=true"title="class or interface in java.sql">SQLException</a></code> - DB Error</dd>
throws <ahref="http://docs.oracle.com/javase/8/docs/api/java/sql/SQLException.html?is-external=true"title="class or interface in java.sql">SQLException</a></pre>
<divclass="block"><spanclass="descfrmTypeLabel">Description copied from class: <code><ahref="../../../../../../../main/java/com/djrapitops/plan/database/Database.html#getVersion--">Database</a></code></span></div>
<divclass="block">Used to get the database schema version.</div>
<dd><code><ahref="../../../../../../../main/java/com/djrapitops/plan/database/Database.html#getVersion--">getVersion</a></code> in class <code><ahref="../../../../../../../main/java/com/djrapitops/plan/database/Database.html"title="class in main.java.com.djrapitops.plan.database">Database</a></code></dd>
<dd><code><ahref="http://docs.oracle.com/javase/8/docs/api/java/sql/SQLException.html?is-external=true"title="class or interface in java.sql">SQLException</a></code> - If a database error occurs.</dd>
throws <ahref="http://docs.oracle.com/javase/8/docs/api/java/sql/SQLException.html?is-external=true"title="class or interface in java.sql">SQLException</a></pre>
<divclass="block"><spanclass="descfrmTypeLabel">Description copied from class: <code><ahref="../../../../../../../main/java/com/djrapitops/plan/database/Database.html#setVersion-int-">Database</a></code></span></div>
<divclass="block">Used to set the database schema version.</div>
<dd><code><ahref="../../../../../../../main/java/com/djrapitops/plan/database/Database.html#setVersion-int-">setVersion</a></code> in class <code><ahref="../../../../../../../main/java/com/djrapitops/plan/database/Database.html"title="class in main.java.com.djrapitops.plan.database">Database</a></code></dd>
<dd><code><ahref="http://docs.oracle.com/javase/8/docs/api/java/sql/SQLException.html?is-external=true"title="class or interface in java.sql">SQLException</a></code> - If a database error occurs.</dd>
throws <ahref="http://docs.oracle.com/javase/8/docs/api/java/sql/SQLException.html?is-external=true"title="class or interface in java.sql">SQLException</a></pre>
<dd><code><ahref="../../../../../../../main/java/com/djrapitops/plan/database/Database.html#isNewDatabase--">isNewDatabase</a></code> in class <code><ahref="../../../../../../../main/java/com/djrapitops/plan/database/Database.html"title="class in main.java.com.djrapitops.plan.database">Database</a></code></dd>
<dd><code><ahref="http://docs.oracle.com/javase/8/docs/api/java/sql/SQLException.html?is-external=true"title="class or interface in java.sql">SQLException</a></code></dd>
<pre>public boolean wasSeenBefore(<ahref="http://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true"title="class or interface in java.util">UUID</a> uuid)</pre>
<divclass="block"><spanclass="descfrmTypeLabel">Description copied from class: <code><ahref="../../../../../../../main/java/com/djrapitops/plan/database/Database.html#wasSeenBefore-java.util.UUID-">Database</a></code></span></div>
<divclass="block">Check if the user is saved in the database.</div>
<dd><code><ahref="../../../../../../../main/java/com/djrapitops/plan/database/Database.html#wasSeenBefore-java.util.UUID-">wasSeenBefore</a></code> in class <code><ahref="../../../../../../../main/java/com/djrapitops/plan/database/Database.html"title="class in main.java.com.djrapitops.plan.database">Database</a></code></dd>
<pre>public void removeAccount(<ahref="http://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true"title="class or interface in java.util">UUID</a> uuid)
throws <ahref="http://docs.oracle.com/javase/8/docs/api/java/sql/SQLException.html?is-external=true"title="class or interface in java.sql">SQLException</a></pre>
<divclass="block"><spanclass="descfrmTypeLabel">Description copied from class: <code><ahref="../../../../../../../main/java/com/djrapitops/plan/database/Database.html#removeAccount-java.util.UUID-">Database</a></code></span></div>
<divclass="block">Removes all data related to an account from the database.</div>
<dd><code><ahref="../../../../../../../main/java/com/djrapitops/plan/database/Database.html#removeAccount-java.util.UUID-">removeAccount</a></code> in class <code><ahref="../../../../../../../main/java/com/djrapitops/plan/database/Database.html"title="class in main.java.com.djrapitops.plan.database">Database</a></code></dd>
<dd><code><ahref="http://docs.oracle.com/javase/8/docs/api/java/sql/SQLException.html?is-external=true"title="class or interface in java.sql">SQLException</a></code> - If a database error occurs.</dd>
throws <ahref="http://docs.oracle.com/javase/8/docs/api/java/sql/SQLException.html?is-external=true"title="class or interface in java.sql">SQLException</a></pre>
<divclass="block"><spanclass="descfrmTypeLabel">Description copied from class: <code><ahref="../../../../../../../main/java/com/djrapitops/plan/database/Database.html#removeAllData--">Database</a></code></span></div>
<divclass="block">Used to clear all data from the database.
<dd><code><ahref="../../../../../../../main/java/com/djrapitops/plan/database/Database.html#removeAllData--">removeAllData</a></code> in class <code><ahref="../../../../../../../main/java/com/djrapitops/plan/database/Database.html"title="class in main.java.com.djrapitops.plan.database">Database</a></code></dd>
<dd><code><ahref="http://docs.oracle.com/javase/8/docs/api/java/sql/SQLException.html?is-external=true"title="class or interface in java.sql">SQLException</a></code> - if remove fails.</dd>
<pre>public <ahref="http://docs.oracle.com/javase/8/docs/api/java/sql/Connection.html?is-external=true"title="class or interface in java.sql">Connection</a> getConnection()
throws <ahref="http://docs.oracle.com/javase/8/docs/api/java/sql/SQLException.html?is-external=true"title="class or interface in java.sql">SQLException</a></pre>
<dd><code><ahref="http://docs.oracle.com/javase/8/docs/api/java/sql/SQLException.html?is-external=true"title="class or interface in java.sql">SQLException</a></code></dd>
<pre>public void commit(<ahref="http://docs.oracle.com/javase/8/docs/api/java/sql/Connection.html?is-external=true"title="class or interface in java.sql">Connection</a> connection)
throws <ahref="http://docs.oracle.com/javase/8/docs/api/java/sql/SQLException.html?is-external=true"title="class or interface in java.sql">SQLException</a></pre>
<divclass="block">Commits changes to the .db file when using SQLite Database.
<dd><code><ahref="../../../../../../../main/java/com/djrapitops/plan/database/Database.html#commit-java.sql.Connection-">commit</a></code> in class <code><ahref="../../../../../../../main/java/com/djrapitops/plan/database/Database.html"title="class in main.java.com.djrapitops.plan.database">Database</a></code></dd>
<dd><code><ahref="http://docs.oracle.com/javase/8/docs/api/java/sql/SQLException.html?is-external=true"title="class or interface in java.sql">SQLException</a></code></dd>
<pre>public void rollback(<ahref="http://docs.oracle.com/javase/8/docs/api/java/sql/Connection.html?is-external=true"title="class or interface in java.sql">Connection</a> connection)
throws <ahref="http://docs.oracle.com/javase/8/docs/api/java/sql/SQLException.html?is-external=true"title="class or interface in java.sql">SQLException</a></pre>
<divclass="block">Reverts transaction when using SQLite Database.
<dd><code><ahref="http://docs.oracle.com/javase/8/docs/api/java/sql/SQLException.html?is-external=true"title="class or interface in java.sql">SQLException</a></code></dd>
<li><ahref="../../../../../../../main/java/com/djrapitops/plan/database/databases/MySQLDB.html"title="class in main.java.com.djrapitops.plan.database.databases"><spanclass="typeNameLink">Prev Class</span></a></li>
<li><ahref="../../../../../../../main/java/com/djrapitops/plan/database/databases/SQLiteDB.html"title="class in main.java.com.djrapitops.plan.database.databases"><spanclass="typeNameLink">Next Class</span></a></li>