Plan/docs/main/java/com/djrapitops/plan/database/Database.html
2017-10-02 21:52:57 +03:00

1121 lines
56 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="fi">
<head>
<!-- Generated by javadoc (1.8.0_112) on Mon Oct 02 21:49:46 EEST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Database (Plan 4.0.0 API)</title>
<meta name="date" content="2017-10-02">
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Database (Plan 4.0.0 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":6,"i1":6,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":6,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":6,"i19":10,"i20":10,"i21":10,"i22":6,"i23":10,"i24":6,"i25":6,"i26":6,"i27":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Database.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../main/java/com/djrapitops/plan/database/Container.html" title="class in main.java.com.djrapitops.plan.database"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../main/java/com/djrapitops/plan/database/DBUtils.html" title="class in main.java.com.djrapitops.plan.database"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?main/java/com/djrapitops/plan/database/Database.html" target="_top">Frames</a></li>
<li><a href="Database.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">main.java.com.djrapitops.plan.database</div>
<h2 title="Class Database" class="title">Class Database</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="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>
<ul class="inheritance">
<li>main.java.com.djrapitops.plan.database.Database</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../../../../main/java/com/djrapitops/plan/database/databases/SQLDB.html" title="class in main.java.com.djrapitops.plan.database.databases">SQLDB</a></dd>
</dl>
<hr>
<br>
<pre>public abstract class <span class="typeNameLabel">Database</span>
extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">Abstract class representing a Database.
<p>
All methods should be only called from an asynchronous thread, unless stated
otherwise.</div>
<dl>
<dt><span class="simpleTagLabel">Author:</span></dt>
<dd>Rsl1122</dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../../main/java/com/djrapitops/plan/database/tables/ActionsTable.html" title="class in main.java.com.djrapitops.plan.database.tables">ActionsTable</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/database/Database.html#actionsTable">actionsTable</a></span></code>
<div class="block">Table representing plan_actions in the database.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../../main/java/com/djrapitops/plan/database/tables/CommandUseTable.html" title="class in main.java.com.djrapitops.plan.database.tables">CommandUseTable</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/database/Database.html#commandUseTable">commandUseTable</a></span></code>
<div class="block">Table representing plan_commandusages in the database.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected org.apache.commons.dbcp2.BasicDataSource</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/database/Database.html#dataSource">dataSource</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../../main/java/com/djrapitops/plan/database/tables/IPsTable.html" title="class in main.java.com.djrapitops.plan.database.tables">IPsTable</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/database/Database.html#ipsTable">ipsTable</a></span></code>
<div class="block">Table representing plan_ips in the database.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../../main/java/com/djrapitops/plan/database/tables/KillsTable.html" title="class in main.java.com.djrapitops.plan.database.tables">KillsTable</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/database/Database.html#killsTable">killsTable</a></span></code>
<div class="block">Table representing plan_kills in the database.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../../main/java/com/djrapitops/plan/database/tables/NicknamesTable.html" title="class in main.java.com.djrapitops.plan.database.tables">NicknamesTable</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/database/Database.html#nicknamesTable">nicknamesTable</a></span></code>
<div class="block">Table representing plan_nicknames in the database.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../../main/java/com/djrapitops/plan/api/IPlan.html" title="interface in main.java.com.djrapitops.plan.api">IPlan</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/database/Database.html#plugin">plugin</a></span></code>
<div class="block">Instance of Plan used with this database.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../../main/java/com/djrapitops/plan/database/tables/SecurityTable.html" title="class in main.java.com.djrapitops.plan.database.tables">SecurityTable</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/database/Database.html#securityTable">securityTable</a></span></code>
<div class="block">Table representing plan_security in the database.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../../main/java/com/djrapitops/plan/database/tables/ServerTable.html" title="class in main.java.com.djrapitops.plan.database.tables">ServerTable</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/database/Database.html#serverTable">serverTable</a></span></code>
<div class="block">Table representing plan_servers in the database.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../../main/java/com/djrapitops/plan/database/tables/SessionsTable.html" title="class in main.java.com.djrapitops.plan.database.tables">SessionsTable</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/database/Database.html#sessionsTable">sessionsTable</a></span></code>
<div class="block">Table representing plan_sessions in the database.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../../main/java/com/djrapitops/plan/database/tables/TPSTable.html" title="class in main.java.com.djrapitops.plan.database.tables">TPSTable</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/database/Database.html#tpsTable">tpsTable</a></span></code>
<div class="block">Table representing plan_tps in the database.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../../main/java/com/djrapitops/plan/database/tables/UserInfoTable.html" title="class in main.java.com.djrapitops.plan.database.tables">UserInfoTable</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/database/Database.html#userInfoTable">userInfoTable</a></span></code>
<div class="block">Table representing plan_user_info in the database.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../../main/java/com/djrapitops/plan/database/tables/UsersTable.html" title="class in main.java.com.djrapitops.plan.database.tables">UsersTable</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/database/Database.html#usersTable">usersTable</a></span></code>
<div class="block">Table representing plan_users in the database.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../../main/java/com/djrapitops/plan/database/tables/VersionTable.html" title="class in main.java.com.djrapitops.plan.database.tables">VersionTable</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/database/Database.html#versionTable">versionTable</a></span></code>
<div class="block">Table representing plan_version in the database.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../../main/java/com/djrapitops/plan/database/tables/WorldTable.html" title="class in main.java.com.djrapitops.plan.database.tables">WorldTable</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/database/Database.html#worldTable">worldTable</a></span></code>
<div class="block">Table representing plan_worlds in the database.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../../main/java/com/djrapitops/plan/database/tables/WorldTimesTable.html" title="class in main.java.com.djrapitops.plan.database.tables">WorldTimesTable</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/database/Database.html#worldTimesTable">worldTimesTable</a></span></code>
<div class="block">Table representing plan_world_times in the database.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/database/Database.html#Database-main.java.com.djrapitops.plan.api.IPlan-">Database</a></span>(<a href="../../../../../../main/java/com/djrapitops/plan/api/IPlan.html" title="interface in main.java.com.djrapitops.plan.api">IPlan</a>&nbsp;plugin)</code>
<div class="block">Super constructor.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/database/Database.html#close--">close</a></span>()</code>
<div class="block">Closes the database and it's resources.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/database/Database.html#commit-java.sql.Connection-">commit</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/sql/Connection.html?is-external=true" title="class or interface in java.sql">Connection</a>&nbsp;connection)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="../../../../../../main/java/com/djrapitops/plan/database/tables/ActionsTable.html" title="class in main.java.com.djrapitops.plan.database.tables">ActionsTable</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/database/Database.html#getActionsTable--">getActionsTable</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/database/Database.html#getCommandUse--">getCommandUse</a></span>()</code>
<div class="block">Used to get the Command usage mep.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../../../../main/java/com/djrapitops/plan/database/tables/CommandUseTable.html" title="class in main.java.com.djrapitops.plan.database.tables">CommandUseTable</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/database/Database.html#getCommandUseTable--">getCommandUseTable</a></span>()</code>
<div class="block">Used to get the command usage table.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/database/Database.html#getConfigName--">getConfigName</a></span>()</code>
<div class="block">Used to get the config name of the database type.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>org.apache.commons.dbcp2.BasicDataSource</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/database/Database.html#getDataSource--">getDataSource</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../main/java/com/djrapitops/plan/database/tables/IPsTable.html" title="class in main.java.com.djrapitops.plan.database.tables">IPsTable</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/database/Database.html#getIpsTable--">getIpsTable</a></span>()</code>
<div class="block">Used to get the ips table.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="../../../../../../main/java/com/djrapitops/plan/database/tables/KillsTable.html" title="class in main.java.com.djrapitops.plan.database.tables">KillsTable</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/database/Database.html#getKillsTable--">getKillsTable</a></span>()</code>
<div class="block">Used to get the kills table.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>abstract <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/database/Database.html#getName--">getName</a></span>()</code>
<div class="block">Used to get the name of the database type.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="../../../../../../main/java/com/djrapitops/plan/database/tables/NicknamesTable.html" title="class in main.java.com.djrapitops.plan.database.tables">NicknamesTable</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/database/Database.html#getNicknamesTable--">getNicknamesTable</a></span>()</code>
<div class="block">Used to get the nicknames table.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/database/Database.html#getSavedUUIDs--">getSavedUUIDs</a></span>()</code>
<div class="block">Used to fetch the saved UUIDs in the users table.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="../../../../../../main/java/com/djrapitops/plan/database/tables/SecurityTable.html" title="class in main.java.com.djrapitops.plan.database.tables">SecurityTable</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/database/Database.html#getSecurityTable--">getSecurityTable</a></span>()</code>
<div class="block">Used to get the security table.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../main/java/com/djrapitops/plan/database/tables/ServerTable.html" title="class in main.java.com.djrapitops.plan.database.tables">ServerTable</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/database/Database.html#getServerTable--">getServerTable</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="../../../../../../main/java/com/djrapitops/plan/database/tables/SessionsTable.html" title="class in main.java.com.djrapitops.plan.database.tables">SessionsTable</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/database/Database.html#getSessionsTable--">getSessionsTable</a></span>()</code>
<div class="block">Used to get the users table.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../main/java/com/djrapitops/plan/database/tables/TPSTable.html" title="class in main.java.com.djrapitops.plan.database.tables">TPSTable</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/database/Database.html#getTpsTable--">getTpsTable</a></span>()</code>
<div class="block">Used to get the tps table.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code><a href="../../../../../../main/java/com/djrapitops/plan/database/tables/UserInfoTable.html" title="class in main.java.com.djrapitops.plan.database.tables">UserInfoTable</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/database/Database.html#getUserInfoTable--">getUserInfoTable</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../main/java/com/djrapitops/plan/database/tables/UsersTable.html" title="class in main.java.com.djrapitops.plan.database.tables">UsersTable</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/database/Database.html#getUsersTable--">getUsersTable</a></span>()</code>
<div class="block">Used to get the users table.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>abstract int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/database/Database.html#getVersion--">getVersion</a></span>()</code>
<div class="block">Used to get the database schema version.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../main/java/com/djrapitops/plan/database/tables/WorldTable.html" title="class in main.java.com.djrapitops.plan.database.tables">WorldTable</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/database/Database.html#getWorldTable--">getWorldTable</a></span>()</code>
<div class="block">Used to get the worlds table.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code><a href="../../../../../../main/java/com/djrapitops/plan/database/tables/WorldTimesTable.html" title="class in main.java.com.djrapitops.plan.database.tables">WorldTimesTable</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/database/Database.html#getWorldTimesTable--">getWorldTimesTable</a></span>()</code>
<div class="block">Used to get the world times table.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/database/Database.html#init--">init</a></span>()</code>
<div class="block">Initiates the database.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>abstract boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/database/Database.html#isNewDatabase--">isNewDatabase</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/database/Database.html#isUsingMySQL--">isUsingMySQL</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/database/Database.html#removeAccount-java.util.UUID-">removeAccount</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a>&nbsp;uuid)</code>
<div class="block">Removes all data related to an account from the database.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/database/Database.html#removeAllData--">removeAllData</a></span>()</code>
<div class="block">Used to clear all data from the database.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/database/Database.html#setVersion-int-">setVersion</a></span>(int&nbsp;version)</code>
<div class="block">Used to set the database schema version.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>abstract boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/database/Database.html#wasSeenBefore-java.util.UUID-">wasSeenBefore</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a>&nbsp;uuid)</code>
<div class="block">Check if the user is saved in the database.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="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><a href="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>, <a href="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>, <a href="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>, <a href="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>, <a href="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>, <a href="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>, <a href="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>, <a href="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>, <a href="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>, <a href="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>, <a href="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>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="plugin">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>plugin</h4>
<pre>protected final&nbsp;<a href="../../../../../../main/java/com/djrapitops/plan/api/IPlan.html" title="interface in main.java.com.djrapitops.plan.api">IPlan</a> plugin</pre>
<div class="block">Instance of Plan used with this database.</div>
</li>
</ul>
<a name="usersTable">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>usersTable</h4>
<pre>protected&nbsp;<a href="../../../../../../main/java/com/djrapitops/plan/database/tables/UsersTable.html" title="class in main.java.com.djrapitops.plan.database.tables">UsersTable</a> usersTable</pre>
<div class="block">Table representing plan_users in the database.</div>
</li>
</ul>
<a name="userInfoTable">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>userInfoTable</h4>
<pre>protected&nbsp;<a href="../../../../../../main/java/com/djrapitops/plan/database/tables/UserInfoTable.html" title="class in main.java.com.djrapitops.plan.database.tables">UserInfoTable</a> userInfoTable</pre>
<div class="block">Table representing plan_user_info in the database.</div>
</li>
</ul>
<a name="actionsTable">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>actionsTable</h4>
<pre>protected&nbsp;<a href="../../../../../../main/java/com/djrapitops/plan/database/tables/ActionsTable.html" title="class in main.java.com.djrapitops.plan.database.tables">ActionsTable</a> actionsTable</pre>
<div class="block">Table representing plan_actions in the database.</div>
</li>
</ul>
<a name="killsTable">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>killsTable</h4>
<pre>protected&nbsp;<a href="../../../../../../main/java/com/djrapitops/plan/database/tables/KillsTable.html" title="class in main.java.com.djrapitops.plan.database.tables">KillsTable</a> killsTable</pre>
<div class="block">Table representing plan_kills in the database.</div>
</li>
</ul>
<a name="nicknamesTable">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nicknamesTable</h4>
<pre>protected&nbsp;<a href="../../../../../../main/java/com/djrapitops/plan/database/tables/NicknamesTable.html" title="class in main.java.com.djrapitops.plan.database.tables">NicknamesTable</a> nicknamesTable</pre>
<div class="block">Table representing plan_nicknames in the database.</div>
</li>
</ul>
<a name="sessionsTable">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sessionsTable</h4>
<pre>protected&nbsp;<a href="../../../../../../main/java/com/djrapitops/plan/database/tables/SessionsTable.html" title="class in main.java.com.djrapitops.plan.database.tables">SessionsTable</a> sessionsTable</pre>
<div class="block">Table representing plan_sessions in the database.</div>
</li>
</ul>
<a name="ipsTable">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ipsTable</h4>
<pre>protected&nbsp;<a href="../../../../../../main/java/com/djrapitops/plan/database/tables/IPsTable.html" title="class in main.java.com.djrapitops.plan.database.tables">IPsTable</a> ipsTable</pre>
<div class="block">Table representing plan_ips in the database.</div>
</li>
</ul>
<a name="commandUseTable">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>commandUseTable</h4>
<pre>protected&nbsp;<a href="../../../../../../main/java/com/djrapitops/plan/database/tables/CommandUseTable.html" title="class in main.java.com.djrapitops.plan.database.tables">CommandUseTable</a> commandUseTable</pre>
<div class="block">Table representing plan_commandusages in the database.</div>
</li>
</ul>
<a name="tpsTable">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>tpsTable</h4>
<pre>protected&nbsp;<a href="../../../../../../main/java/com/djrapitops/plan/database/tables/TPSTable.html" title="class in main.java.com.djrapitops.plan.database.tables">TPSTable</a> tpsTable</pre>
<div class="block">Table representing plan_tps in the database.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>3.5.0</dd>
</dl>
</li>
</ul>
<a name="versionTable">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>versionTable</h4>
<pre>protected&nbsp;<a href="../../../../../../main/java/com/djrapitops/plan/database/tables/VersionTable.html" title="class in main.java.com.djrapitops.plan.database.tables">VersionTable</a> versionTable</pre>
<div class="block">Table representing plan_version in the database.</div>
</li>
</ul>
<a name="securityTable">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>securityTable</h4>
<pre>protected&nbsp;<a href="../../../../../../main/java/com/djrapitops/plan/database/tables/SecurityTable.html" title="class in main.java.com.djrapitops.plan.database.tables">SecurityTable</a> securityTable</pre>
<div class="block">Table representing plan_security in the database.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>3.5.2</dd>
</dl>
</li>
</ul>
<a name="worldTable">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>worldTable</h4>
<pre>protected&nbsp;<a href="../../../../../../main/java/com/djrapitops/plan/database/tables/WorldTable.html" title="class in main.java.com.djrapitops.plan.database.tables">WorldTable</a> worldTable</pre>
<div class="block">Table representing plan_worlds in the database.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>3.6.0</dd>
</dl>
</li>
</ul>
<a name="worldTimesTable">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>worldTimesTable</h4>
<pre>protected&nbsp;<a href="../../../../../../main/java/com/djrapitops/plan/database/tables/WorldTimesTable.html" title="class in main.java.com.djrapitops.plan.database.tables">WorldTimesTable</a> worldTimesTable</pre>
<div class="block">Table representing plan_world_times in the database.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>3.6.0</dd>
</dl>
</li>
</ul>
<a name="serverTable">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>serverTable</h4>
<pre>protected&nbsp;<a href="../../../../../../main/java/com/djrapitops/plan/database/tables/ServerTable.html" title="class in main.java.com.djrapitops.plan.database.tables">ServerTable</a> serverTable</pre>
<div class="block">Table representing plan_servers in the database.</div>
</li>
</ul>
<a name="dataSource">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>dataSource</h4>
<pre>protected&nbsp;org.apache.commons.dbcp2.BasicDataSource dataSource</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="Database-main.java.com.djrapitops.plan.api.IPlan-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>Database</h4>
<pre>public&nbsp;Database(<a href="../../../../../../main/java/com/djrapitops/plan/api/IPlan.html" title="interface in main.java.com.djrapitops.plan.api">IPlan</a>&nbsp;plugin)</pre>
<div class="block">Super constructor.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>plugin</code> - current instance of Plan.</dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="init--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>init</h4>
<pre>public&nbsp;void&nbsp;init()
throws <a href="../../../../../../main/java/com/djrapitops/plan/api/exceptions/DatabaseInitException.html" title="class in main.java.com.djrapitops.plan.api.exceptions">DatabaseInitException</a></pre>
<div class="block">Initiates the database.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../../main/java/com/djrapitops/plan/api/exceptions/DatabaseInitException.html" title="class in main.java.com.djrapitops.plan.api.exceptions">DatabaseInitException</a></code> - if SQLException or other exception occurs.</dd>
</dl>
</li>
</ul>
<a name="wasSeenBefore-java.util.UUID-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>wasSeenBefore</h4>
<pre>public abstract&nbsp;boolean&nbsp;wasSeenBefore(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a>&nbsp;uuid)</pre>
<div class="block">Check if the user is saved in the database.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>uuid</code> - UUID of the user.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true/false</dd>
</dl>
</li>
</ul>
<a name="getName--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getName</h4>
<pre>public abstract&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getName()</pre>
<div class="block">Used to get the name of the database type.
<p>
Thread safe.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>SQLite/MySQL</dd>
</dl>
</li>
</ul>
<a name="getConfigName--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConfigName</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getConfigName()</pre>
<div class="block">Used to get the config name of the database type.
<p>
Thread safe.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>sqlite/mysql</dd>
</dl>
</li>
</ul>
<a name="isNewDatabase--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isNewDatabase</h4>
<pre>public abstract&nbsp;boolean&nbsp;isNewDatabase()
throws <a href="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>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="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>
</dl>
</li>
</ul>
<a name="getVersion--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getVersion</h4>
<pre>public abstract&nbsp;int&nbsp;getVersion()
throws <a href="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>
<div class="block">Used to get the database schema version.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Integer starting from 0, incremented by one when schema is
updated.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="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>
</dl>
</li>
</ul>
<a name="setVersion-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setVersion</h4>
<pre>public abstract&nbsp;void&nbsp;setVersion(int&nbsp;version)
throws <a href="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>
<div class="block">Used to set the database schema version.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>version</code> - Integer starting from 0, incremented by one when schema is
updated.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="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>
</dl>
</li>
</ul>
<a name="close--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>close</h4>
<pre>public abstract&nbsp;void&nbsp;close()
throws <a href="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>
<div class="block">Closes the database and it's resources.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="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>
</dl>
</li>
</ul>
<a name="removeAccount-java.util.UUID-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeAccount</h4>
<pre>public abstract&nbsp;void&nbsp;removeAccount(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a>&nbsp;uuid)
throws <a href="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>
<div class="block">Removes all data related to an account from the database.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>uuid</code> - UUID of the account.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="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>
</dl>
</li>
</ul>
<a name="removeAllData--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeAllData</h4>
<pre>public abstract&nbsp;void&nbsp;removeAllData()
throws <a href="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>
<div class="block">Used to clear all data from the database.
<p>
Uses DELETE * FROM table.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="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>
</dl>
</li>
</ul>
<a name="getSavedUUIDs--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSavedUUIDs</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a>&gt;&nbsp;getSavedUUIDs()
throws <a href="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>
<div class="block">Used to fetch the saved UUIDs in the users table.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Set of saved UUIDs</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="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>
</dl>
</li>
</ul>
<a name="getCommandUse--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCommandUse</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>&gt;&nbsp;getCommandUse()
throws <a href="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>
<div class="block">Used to get the Command usage mep.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>String command (key), Integer times used</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="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>
</dl>
</li>
</ul>
<a name="getUsersTable--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUsersTable</h4>
<pre>public&nbsp;<a href="../../../../../../main/java/com/djrapitops/plan/database/tables/UsersTable.html" title="class in main.java.com.djrapitops.plan.database.tables">UsersTable</a>&nbsp;getUsersTable()</pre>
<div class="block">Used to get the users table.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Table representing plan_users</dd>
</dl>
</li>
</ul>
<a name="getSessionsTable--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSessionsTable</h4>
<pre>public&nbsp;<a href="../../../../../../main/java/com/djrapitops/plan/database/tables/SessionsTable.html" title="class in main.java.com.djrapitops.plan.database.tables">SessionsTable</a>&nbsp;getSessionsTable()</pre>
<div class="block">Used to get the users table.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Table representing plan_sessions</dd>
</dl>
</li>
</ul>
<a name="getKillsTable--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getKillsTable</h4>
<pre>public&nbsp;<a href="../../../../../../main/java/com/djrapitops/plan/database/tables/KillsTable.html" title="class in main.java.com.djrapitops.plan.database.tables">KillsTable</a>&nbsp;getKillsTable()</pre>
<div class="block">Used to get the kills table.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Table representing plan_kills</dd>
</dl>
</li>
</ul>
<a name="getIpsTable--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIpsTable</h4>
<pre>public&nbsp;<a href="../../../../../../main/java/com/djrapitops/plan/database/tables/IPsTable.html" title="class in main.java.com.djrapitops.plan.database.tables">IPsTable</a>&nbsp;getIpsTable()</pre>
<div class="block">Used to get the ips table.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Table representing plan_ips</dd>
</dl>
</li>
</ul>
<a name="getNicknamesTable--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNicknamesTable</h4>
<pre>public&nbsp;<a href="../../../../../../main/java/com/djrapitops/plan/database/tables/NicknamesTable.html" title="class in main.java.com.djrapitops.plan.database.tables">NicknamesTable</a>&nbsp;getNicknamesTable()</pre>
<div class="block">Used to get the nicknames table.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Table representing plan_nicknames</dd>
</dl>
</li>
</ul>
<a name="getCommandUseTable--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCommandUseTable</h4>
<pre>public&nbsp;<a href="../../../../../../main/java/com/djrapitops/plan/database/tables/CommandUseTable.html" title="class in main.java.com.djrapitops.plan.database.tables">CommandUseTable</a>&nbsp;getCommandUseTable()</pre>
<div class="block">Used to get the command usage table.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Table representing plan_commandusages</dd>
</dl>
</li>
</ul>
<a name="getTpsTable--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTpsTable</h4>
<pre>public&nbsp;<a href="../../../../../../main/java/com/djrapitops/plan/database/tables/TPSTable.html" title="class in main.java.com.djrapitops.plan.database.tables">TPSTable</a>&nbsp;getTpsTable()</pre>
<div class="block">Used to get the tps table.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Table representing plan_tps</dd>
</dl>
</li>
</ul>
<a name="getSecurityTable--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSecurityTable</h4>
<pre>public&nbsp;<a href="../../../../../../main/java/com/djrapitops/plan/database/tables/SecurityTable.html" title="class in main.java.com.djrapitops.plan.database.tables">SecurityTable</a>&nbsp;getSecurityTable()</pre>
<div class="block">Used to get the security table.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Table representing plan_security</dd>
</dl>
</li>
</ul>
<a name="getWorldTable--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWorldTable</h4>
<pre>public&nbsp;<a href="../../../../../../main/java/com/djrapitops/plan/database/tables/WorldTable.html" title="class in main.java.com.djrapitops.plan.database.tables">WorldTable</a>&nbsp;getWorldTable()</pre>
<div class="block">Used to get the worlds table.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Table representing plan_worlds</dd>
</dl>
</li>
</ul>
<a name="getWorldTimesTable--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWorldTimesTable</h4>
<pre>public&nbsp;<a href="../../../../../../main/java/com/djrapitops/plan/database/tables/WorldTimesTable.html" title="class in main.java.com.djrapitops.plan.database.tables">WorldTimesTable</a>&nbsp;getWorldTimesTable()</pre>
<div class="block">Used to get the world times table.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Table representing plan_world_times</dd>
</dl>
</li>
</ul>
<a name="getServerTable--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getServerTable</h4>
<pre>public&nbsp;<a href="../../../../../../main/java/com/djrapitops/plan/database/tables/ServerTable.html" title="class in main.java.com.djrapitops.plan.database.tables">ServerTable</a>&nbsp;getServerTable()</pre>
</li>
</ul>
<a name="getActionsTable--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getActionsTable</h4>
<pre>public&nbsp;<a href="../../../../../../main/java/com/djrapitops/plan/database/tables/ActionsTable.html" title="class in main.java.com.djrapitops.plan.database.tables">ActionsTable</a>&nbsp;getActionsTable()</pre>
</li>
</ul>
<a name="getUserInfoTable--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUserInfoTable</h4>
<pre>public&nbsp;<a href="../../../../../../main/java/com/djrapitops/plan/database/tables/UserInfoTable.html" title="class in main.java.com.djrapitops.plan.database.tables">UserInfoTable</a>&nbsp;getUserInfoTable()</pre>
</li>
</ul>
<a name="getDataSource--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDataSource</h4>
<pre>public&nbsp;org.apache.commons.dbcp2.BasicDataSource&nbsp;getDataSource()</pre>
</li>
</ul>
<a name="commit-java.sql.Connection-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>commit</h4>
<pre>public abstract&nbsp;void&nbsp;commit(<a href="http://docs.oracle.com/javase/8/docs/api/java/sql/Connection.html?is-external=true" title="class or interface in java.sql">Connection</a>&nbsp;connection)
throws <a href="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>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="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>
</dl>
</li>
</ul>
<a name="isUsingMySQL--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>isUsingMySQL</h4>
<pre>public&nbsp;boolean&nbsp;isUsingMySQL()</pre>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Database.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../main/java/com/djrapitops/plan/database/Container.html" title="class in main.java.com.djrapitops.plan.database"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../main/java/com/djrapitops/plan/database/DBUtils.html" title="class in main.java.com.djrapitops.plan.database"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?main/java/com/djrapitops/plan/database/Database.html" target="_top">Frames</a></li>
<li><a href="Database.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2017. All rights reserved.</small></p>
</body>
</html>