Check query runtime on JDBC SQL Server connection

After running a query statement on a JDBC connection to SQL Server, is it possible to check the query runtime (or any other performance related metric)?

CONNECTION = DriverManager.getConnection(CONNECTION_STRING);
Statement statement = CONNECTION.createStatement();
ResultSet resultSet = statement.executeQuery("SELECT * FROM pretty_big_table");

resultSet.getMetaData().getQueryRuntime() <--- Something like this
How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum