Package com.facebook.presto.jdbc.internal.client

Examples of com.facebook.presto.jdbc.internal.client.ClientSession


    StatementClient startQuery(String sql)
    {
        URI uri = createHttpUri(address);

        String source = Objects.firstNonNull(clientInfo.get("ApplicationName"), "presto-jdbc");
        ClientSession session = new ClientSession(uri, user, source, catalog.get(), schema.get(), timeZoneId.get(), locale.get(), false);
        return queryExecutor.startQuery(session, sql);
    }
View Full Code Here


    StatementClient startQuery(String sql)
    {
        URI uri = createHttpUri(address);

        String source = Objects.firstNonNull(clientInfo.get("ApplicationName"), "presto-jdbc");
        ClientSession session = new ClientSession(uri, user, source, catalog.get(), schema.get(), false);
        return queryExecutor.startQuery(session, sql);
    }
View Full Code Here

TOP

Related Classes of com.facebook.presto.jdbc.internal.client.ClientSession

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.