Package com.facebook.presto.server.testing

Examples of com.facebook.presto.server.testing.TestingPrestoServer


    @BeforeClass
    public void setupServer()
            throws Exception
    {
        Logging.initialize();
        server = new TestingPrestoServer();
    }
View Full Code Here


    @BeforeClass
    public void setup()
            throws Exception
    {
        Logging.initialize();
        server = new TestingPrestoServer();
    }
View Full Code Here

    @BeforeClass
    public void setup()
            throws Exception
    {
        Logging.initialize();
        server = new TestingPrestoServer();
        server.installPlugin(new TpchPlugin());
        server.createCatalog("default", "tpch"); // TODO: change catalog name
    }
View Full Code Here

                .put("datasources", "system");
        if (coordinator) {
            properties.put("node-scheduler.include-coordinator", "false");
        }

        TestingPrestoServer server = new TestingPrestoServer(coordinator, properties.build(), ENVIRONMENT, discoveryUri, ImmutableList.<Module>of());

        return server;
    }
View Full Code Here

    @BeforeClass
    public void setupServer()
            throws Exception
    {
        Logging.initialize();
        server = new TestingPrestoServer();
    }
View Full Code Here

    @BeforeClass
    public void setup()
            throws Exception
    {
        Logging.initialize();
        server = new TestingPrestoServer();
        server.installPlugin(new TpchPlugin());
        server.createCatalog("default", "tpch"); // TODO: change catalog name
    }
View Full Code Here

    @BeforeClass
    public void setup()
            throws Exception
    {
        Logging.initialize();
        server = new TestingPrestoServer();
    }
View Full Code Here

                .put("query.client.timeout", "10m")
                .put("exchange.http-client.read-timeout", "1h")
                .put("datasources", "native,tpch,tpch_sampled")
                .build();

        TestingPrestoServer server = new TestingPrestoServer(coordinator, properties, ENVIRONMENT, discoveryUri, ImmutableList.<Module>of());
        server.installPlugin(new TpchPlugin(), "tpch", "tpch");
        server.installPlugin(new SampledTpchPlugin(), "tpch_sampled", "tpch_sampled");
        return server;
    }
View Full Code Here

    @BeforeMethod
    public void setup()
            throws Exception
    {
        server = new TestingPrestoServer();
        client = new JettyHttpClient();
    }
View Full Code Here

                .put("datasources", "system");
        if (coordinator) {
            properties.put("node-scheduler.include-coordinator", "false");
        }

        TestingPrestoServer server = new TestingPrestoServer(coordinator, properties.build(), ENVIRONMENT, discoveryUri, ImmutableList.<Module>of());

        return server;
    }
View Full Code Here

TOP

Related Classes of com.facebook.presto.server.testing.TestingPrestoServer

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.