Class QueryAPIExecutable
- java.lang.Object
-
- com.djrapitops.plan.storage.database.queries.QueryAPIExecutable
-
- All Implemented Interfaces:
Executable
public class QueryAPIExecutable extends java.lang.Object implements Executable
-
-
Constructor Summary
Constructors Constructor Description QueryAPIExecutable(java.lang.String sql, QueryService.ThrowingConsumer<java.sql.PreparedStatement> statement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
execute(java.sql.Connection connection)
-
-
-
Constructor Detail
-
QueryAPIExecutable
public QueryAPIExecutable(java.lang.String sql, QueryService.ThrowingConsumer<java.sql.PreparedStatement> statement)
-
-
Method Detail
-
execute
public boolean execute(java.sql.Connection connection)
- Specified by:
execute
in interfaceExecutable
-
-