/** * Create a new session for interacting with the cluster. * User is responsible for destroying the session object. * This is a fully local operation (no RPCs or blocking). * @return a synchronous wrapper around KuduSession. */ public KuduSession newSession() { AsyncKuduSession session = asyncClient.newSession(); return new KuduSession(session); }