Class QueryStatement<T>
java.lang.Object
com.djrapitops.plan.storage.database.queries.QueryStatement<T>
- All Implemented Interfaces:
Query<T>
- Direct Known Subclasses:
ExtensionUserIdsInGroupQuery,HasMoreThanZeroQueryStatement,NewerConfigQuery,QueryAllStatement
SQL query that closes proper elements.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedQueryStatement(String sql) protectedQueryStatement(String sql, int fetchSize) -
Method Summary
Modifier and TypeMethodDescriptionbooleanexecuteQuery(SQLDB db) executeQuery(PreparedStatement statement) executeWithConnection(Connection connection) getSql()inthashCode()abstract voidprepare(PreparedStatement statement) abstract TprocessResults(ResultSet set) toString()
-
Constructor Details
-
QueryStatement
-
QueryStatement
-
-
Method Details
-
executeQuery
- Specified by:
executeQueryin interfaceQuery<T>
-
executeWithConnection
-
executeQuery
- Throws:
SQLException
-
prepare
- Throws:
SQLException
-
processResults
- Throws:
SQLException
-
getSql
-
toString
-
equals
-
hashCode
public int hashCode()
-