Class QueryAllStatement<T>
- java.lang.Object
-
- com.djrapitops.plan.storage.database.queries.QueryStatement<T>
-
- com.djrapitops.plan.storage.database.queries.QueryAllStatement<T>
-
- All Implemented Interfaces:
Query<T>
- Direct Known Subclasses:
PluginGroupsFilter.PluginGroupsFilterQuery
,SessionIDServerIDRelationQuery
public abstract class QueryAllStatement<T> extends QueryStatement<T>
SQL query that doesn't require preparing that closes proper elements.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
QueryAllStatement(java.lang.String sql)
protected
QueryAllStatement(java.lang.String sql, int fetchSize)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
prepare(java.sql.PreparedStatement statement)
abstract T
processResults(java.sql.ResultSet set)
-
Methods inherited from class com.djrapitops.plan.storage.database.queries.QueryStatement
executeQuery, executeQuery, getSql, toString
-
-
-
-
Method Detail
-
prepare
public void prepare(java.sql.PreparedStatement statement) throws java.sql.SQLException
- Specified by:
prepare
in classQueryStatement<T>
- Throws:
java.sql.SQLException
-
processResults
public abstract T processResults(java.sql.ResultSet set) throws java.sql.SQLException
- Specified by:
processResults
in classQueryStatement<T>
- Throws:
java.sql.SQLException
-
-