public ResultSet execute(String keyspace, @NotNull Statement statement) {
        Timer time = getMetricsFactory().getTimer(MetricsType.CASSANDRA_EXECUTE.name());

        getMetricsFactory().getCounter(MetricsType.CASSANDRA_QUERIES_COUNT.name()).inc();

        ResultSet resultSetFuture = getOrCreateSession(keyspace).execute(statement);

        time.stop();

        return resultSetFuture;
    }
public ResultSet execute ( String keyspace , @ NotNull Statement statement ) { Timer time = getMetricsFactory ( ) . getTimer ( MetricsType . CASSANDRA_EXECUTE . name ( ) ) ; getMetricsFactory ( ) . getCounter ( MetricsType . CASSANDRA_QUERIES_COUNT . name ( ) ) . inc ( ) ; ResultSet resultSetFuture = getOrCreateSession ( keyspace ) . execute ( statement ) ; time . stop ( ) ; return resultSetFuture ; }
Execute statement

@param statement Statement

@return Execution result set