<divclass="col-second even-row-color"><code><ahref="QueryService.Holder.html"class="type-name-link"title="class in com.djrapitops.plan.query">QueryService.Holder</a></code></div>
<divclass="col-second odd-row-color"><code><ahref="QueryService.ThrowingConsumer.html"class="type-name-link"title="interface in com.djrapitops.plan.query">QueryService.ThrowingConsumer</a><<ahref="QueryService.ThrowingConsumer.html"title="type parameter in QueryService.ThrowingConsumer">T</a>></code></div>
<divclass="col-second even-row-color"><code><ahref="QueryService.ThrowingFunction.html"class="type-name-link"title="interface in com.djrapitops.plan.query">QueryService.ThrowingFunction</a><<ahref="QueryService.ThrowingFunction.html"title="type parameter in QueryService.ThrowingFunction">T</a>,<wbr><ahref="QueryService.ThrowingFunction.html"title="type parameter in QueryService.ThrowingFunction">R</a>></code></div>
<divclass="col-second odd-row-color"><code><ahref="QueryService.VoidFunction.html"class="type-name-link"title="interface in com.djrapitops.plan.query">QueryService.VoidFunction</a></code></div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/Future.html"title="class or interface in java.util.concurrent"class="external-link">Future</a><?></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#execute(java.lang.String,com.djrapitops.plan.query.QueryService.ThrowingConsumer)"class="member-name-link">execute</a><wbr>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> sql,
<ahref="QueryService.ThrowingConsumer.html"title="interface in com.djrapitops.plan.query">QueryService.ThrowingConsumer</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.sql/java/sql/PreparedStatement.html"title="class or interface in java.sql"class="external-link">PreparedStatement</a>> performStatement)</code></div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a></code></div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Optional.html"title="class or interface in java.util"class="external-link">Optional</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/UUID.html"title="class or interface in java.util"class="external-link">UUID</a>></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#query(java.lang.String,com.djrapitops.plan.query.QueryService.ThrowingFunction)"class="member-name-link">query</a><wbr>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> sql,
<ahref="QueryService.ThrowingFunction.html"title="interface in com.djrapitops.plan.query">QueryService.ThrowingFunction</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.sql/java/sql/PreparedStatement.html"title="class or interface in java.sql"class="external-link">PreparedStatement</a>,<wbr>T> performQuery)</code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#subscribeToPlayerRemoveEvent(java.util.function.Consumer)"class="member-name-link">subscribeToPlayerRemoveEvent</a><wbr>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Consumer.html"title="class or interface in java.util.function"class="external-link">Consumer</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/UUID.html"title="class or interface in java.util"class="external-link">UUID</a>> eventListener)</code></div>
<divclass="member-signature"><spanclass="modifiers">static</span> <spanclass="return-type"><ahref="QueryService.html"title="interface in com.djrapitops.plan.query">QueryService</a></span> <spanclass="element-name">getInstance</span>()</div>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/NoClassDefFoundError.html"title="class or interface in java.lang"class="external-link">NoClassDefFoundError</a></code> - If Plan is not installed and this class can not be found or if older Plan version is installed.</dd>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalStateException.html"title="class or interface in java.lang"class="external-link">IllegalStateException</a></code> - If Plan is installed, but not enabled.</dd>
<divclass="member-signature"><spanclass="return-type"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a></span> <spanclass="element-name">getDBType</span>()</div>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalStateException.html"title="class or interface in java.lang"class="external-link">IllegalStateException</a></code> - If database has not been initialized (Plugin failed to enable)</dd>
<divclass="member-signature"><spanclass="type-parameters"><T></span> <spanclass="return-type">T</span> <spanclass="element-name">query</span><wbr><spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> sql,
<ahref="QueryService.ThrowingFunction.html"title="interface in com.djrapitops.plan.query">QueryService.ThrowingFunction</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.sql/java/sql/PreparedStatement.html"title="class or interface in java.sql"class="external-link">PreparedStatement</a>,<wbr>T> performQuery)</span>
throws <spanclass="exceptions"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalStateException.html"title="class or interface in java.lang"class="external-link">IllegalStateException</a></span></div>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalStateException.html"title="class or interface in java.lang"class="external-link">IllegalStateException</a></code> - If something goes wrong with the query. SQLException might be as cause.</dd>
<divclass="member-signature"><spanclass="return-type"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/Future.html"title="class or interface in java.util.concurrent"class="external-link">Future</a><?></span> <spanclass="element-name">execute</span><wbr><spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> sql,
<ahref="QueryService.ThrowingConsumer.html"title="interface in com.djrapitops.plan.query">QueryService.ThrowingConsumer</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.sql/java/sql/PreparedStatement.html"title="class or interface in java.sql"class="external-link">PreparedStatement</a>> performStatement)</span>
throws <spanclass="exceptions"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalStateException.html"title="class or interface in java.lang"class="external-link">IllegalStateException</a></span></div>
Differs from <ahref="#query(java.lang.String,com.djrapitops.plan.query.QueryService.ThrowingFunction)"><code>query(String, ThrowingFunction)</code></a> in that no results are returned.</div>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalStateException.html"title="class or interface in java.lang"class="external-link">IllegalStateException</a></code> - If something goes wrong with the query. SQLException might be as cause.</dd>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">subscribeToPlayerRemoveEvent</span><wbr><spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/Consumer.html"title="class or interface in java.util.function"class="external-link">Consumer</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/UUID.html"title="class or interface in java.util"class="external-link">UUID</a>> eventListener)</span></div>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">subscribeDataClearEvent</span><wbr><spanclass="parameters">(<ahref="QueryService.VoidFunction.html"title="interface in com.djrapitops.plan.query">QueryService.VoidFunction</a> eventListener)</span></div>
<divclass="member-signature"><spanclass="return-type"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Optional.html"title="class or interface in java.util"class="external-link">Optional</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/UUID.html"title="class or interface in java.util"class="external-link">UUID</a>></span> <spanclass="element-name">getServerUUID</span>()</div>
<divclass="member-signature"><spanclass="return-type"><ahref="CommonQueries.html"title="interface in com.djrapitops.plan.query">CommonQueries</a></span> <spanclass="element-name">getCommonQueries</span>()</div>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalStateException.html"title="class or interface in java.lang"class="external-link">IllegalStateException</a></code> - If database has not been initialized (Plugin failed to enable)</dd>