public class NewerConfigQuery extends QueryStatement<java.util.Optional<Config>>
Constructor and Description |
---|
NewerConfigQuery(java.util.UUID serverUUID,
long updatedAfter)
Create a new Query.
|
Modifier and Type | Method and Description |
---|---|
void |
prepare(java.sql.PreparedStatement statement) |
java.util.Optional<Config> |
processResults(java.sql.ResultSet set) |
executeQuery, executeQuery, getSql, toString
public NewerConfigQuery(java.util.UUID serverUUID, long updatedAfter)
serverUUID
- UUID of the serverupdatedAfter
- Epoch ms.public void prepare(java.sql.PreparedStatement statement) throws java.sql.SQLException
prepare
in class QueryStatement<java.util.Optional<Config>>
java.sql.SQLException
public java.util.Optional<Config> processResults(java.sql.ResultSet set) throws java.sql.SQLException
processResults
in class QueryStatement<java.util.Optional<Config>>
java.sql.SQLException