Java源码示例:com.facebook.presto.spi.Plugin
示例1@Test
public void testCreateConnector()
throws Exception {
Plugin plugin = new KuduPlugin();
ConnectorFactory factory = getOnlyElement(plugin.getConnectorFactories());
factory.create("test", ImmutableMap.of("kudu.client.master-addresses", "localhost:8050"), new TestingConnectorContext());
}