Interface LegacyQueryService
- All Known Subinterfaces:
QueryService
- All Known Implementing Classes:
QuerySvc
Deprecated.
Keeps the old
Future<?> execute(String, ThrowingConsumer) signature in the bytecode.
Extensions compiled before QueryService.execute(String, QueryService.ThrowingConsumer)
returned CompletableFuture<Void> still call the old descriptor and would otherwise fail
with NoSuchMethodError. The covariant override in QueryService makes javac emit the bridge.
-
Method Summary
Modifier and TypeMethodDescriptionFuture<?> execute(String sql, QueryService.ThrowingConsumer<PreparedStatement> performStatement) Deprecated.
-
Method Details
-
execute
Future<?> execute(String sql, QueryService.ThrowingConsumer<PreparedStatement> performStatement) throws IllegalStateException Deprecated.- Throws:
IllegalStateException
-
QueryServicedirectly.