public CompletableFuture<ResultSet> executeAsync(Statement statement) {
        return FutureUtils.toCompletableFuture(session.executeAsync(statement), sameThreadExecutor);
    }
public CompletableFuture < ResultSet > executeAsync ( Statement statement ) { return FutureUtils . toCompletableFuture ( session . executeAsync ( statement ) , sameThreadExecutor ) ; }
Execute a CQL statement asynchronously

@param statement CQL statement
@return CompletableFuture&lt;ResultSet&gt;