Package com.facebook.presto.spi.classloader

Examples of com.facebook.presto.spi.classloader.ClassLoaderSafeConnectorRecordSetProvider


            HiveClient hiveClient = injector.getInstance(HiveClient.class);

            ImmutableClassToInstanceMap.Builder<Object> builder = ImmutableClassToInstanceMap.builder();
            builder.put(ConnectorMetadata.class, new ClassLoaderSafeConnectorMetadata(hiveClient, classLoader));
            builder.put(ConnectorSplitManager.class, new ClassLoaderSafeConnectorSplitManager(hiveClient, classLoader));
            builder.put(ConnectorRecordSetProvider.class, new ClassLoaderSafeConnectorRecordSetProvider(hiveClient, classLoader));
            builder.put(ConnectorHandleResolver.class, new ClassLoaderSafeConnectorHandleResolver(hiveClient, classLoader));

            return new HiveConnector(builder.build());
        }
        catch (Exception e) {
View Full Code Here


            HiveClient hiveClient = injector.getInstance(HiveClient.class);

            return new HiveConnector(
                    new ClassLoaderSafeConnectorMetadata(hiveClient, classLoader),
                    new ClassLoaderSafeConnectorSplitManager(hiveClient, classLoader),
                    new ClassLoaderSafeConnectorRecordSetProvider(hiveClient, classLoader),
                    new ClassLoaderSafeConnectorRecordSinkProvider(hiveClient, classLoader),
                    new ClassLoaderSafeConnectorHandleResolver(hiveClient, classLoader),
                    new ClassLoaderSafeConnectorOutputHandleResolver(hiveClient, classLoader));
        }
        catch (Exception e) {
View Full Code Here

            HiveClient hiveClient = injector.getInstance(HiveClient.class);

            ImmutableClassToInstanceMap.Builder<Object> builder = ImmutableClassToInstanceMap.builder();
            builder.put(ConnectorMetadata.class, new ClassLoaderSafeConnectorMetadata(hiveClient, classLoader));
            builder.put(ConnectorSplitManager.class, new ClassLoaderSafeConnectorSplitManager(hiveClient, classLoader));
            builder.put(ConnectorRecordSetProvider.class, new ClassLoaderSafeConnectorRecordSetProvider(hiveClient, classLoader));
            builder.put(ConnectorRecordSinkProvider.class, new ClassLoaderSafeConnectorRecordSinkProvider(hiveClient, classLoader));
            builder.put(ConnectorHandleResolver.class, new ClassLoaderSafeConnectorHandleResolver(hiveClient, classLoader));
            builder.put(ConnectorOutputHandleResolver.class, new ClassLoaderSafeConnectorOutputHandleResolver(hiveClient, classLoader));

            return new HiveConnector(builder.build());
View Full Code Here

            HiveClient hiveClient = injector.getInstance(HiveClient.class);

            return new HiveConnector(
                    new ClassLoaderSafeConnectorMetadata(hiveClient, classLoader),
                    new ClassLoaderSafeConnectorSplitManager(hiveClient, classLoader),
                    new ClassLoaderSafeConnectorRecordSetProvider(hiveClient, classLoader),
                    new ClassLoaderSafeConnectorRecordSinkProvider(hiveClient, classLoader),
                    new ClassLoaderSafeConnectorHandleResolver(hiveClient, classLoader));
        }
        catch (Exception e) {
            throw Throwables.propagate(e);
View Full Code Here

            HiveClient hiveClient = injector.getInstance(HiveClient.class);

            return new HiveConnector(
                    new ClassLoaderSafeConnectorMetadata(hiveClient, classLoader),
                    new ClassLoaderSafeConnectorSplitManager(hiveClient, classLoader),
                    new ClassLoaderSafeConnectorRecordSetProvider(hiveClient, classLoader),
                    new ClassLoaderSafeConnectorRecordSinkProvider(hiveClient, classLoader),
                    new ClassLoaderSafeConnectorHandleResolver(hiveClient, classLoader),
                    new ClassLoaderSafeConnectorOutputHandleResolver(hiveClient, classLoader));
        }
        catch (Exception e) {
View Full Code Here

            HiveClient hiveClient = injector.getInstance(HiveClient.class);

            return new HiveConnector(
                    new ClassLoaderSafeConnectorMetadata(hiveClient, classLoader),
                    new ClassLoaderSafeConnectorSplitManager(hiveClient, classLoader),
                    new ClassLoaderSafeConnectorRecordSetProvider(hiveClient, classLoader),
                    new ClassLoaderSafeConnectorRecordSinkProvider(hiveClient, classLoader),
                    new ClassLoaderSafeConnectorHandleResolver(hiveClient, classLoader));
        }
        catch (Exception e) {
            throw Throwables.propagate(e);
View Full Code Here

TOP

Related Classes of com.facebook.presto.spi.classloader.ClassLoaderSafeConnectorRecordSetProvider

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.