Class SinkDriver

All Implemented Interfaces:
Driver

@DriverCapability(prefix="sink", description="Discards all SQL operations", capabilities="testing", terminal=false) public class SinkDriver extends AbstractProxyDriver
Discards all SQL operations without executing them.

SinkDriver is useful for:

  • Benchmarking driver overhead without database I/O
  • Testing connection logic without a real database
  • Dry-run scenarios where SQL should be generated but not executed

All execute methods return success without actually running SQL. Query methods return null ResultSets.

URL format: jdbc:sink:jdbc:target:...

Example:

 jdbc:sink:jdbc:postgresql://localhost/mydb