use of io.trino.plugin.exchange.FileSystemExchangeManagerFactory in project trino by trinodb.
the class TestDeduplicatingDirectExchangeBuffer method beforeClass.
@BeforeClass
public void beforeClass() {
exchangeManagerRegistry = new ExchangeManagerRegistry(new ExchangeHandleResolver());
exchangeManagerRegistry.addExchangeManagerFactory(new FileSystemExchangeManagerFactory());
exchangeManagerRegistry.loadExchangeManager("filesystem", ImmutableMap.of("exchange.base-directory", System.getProperty("java.io.tmpdir") + "/trino-local-file-system-exchange-manager"));
}
use of io.trino.plugin.exchange.FileSystemExchangeManagerFactory in project trino by trinodb.
the class TestS3FileSystemExchangeManager method createExchangeManager.
@Override
protected ExchangeManager createExchangeManager() {
this.minioStorage = new MinioStorage("test-exchange-spooling-" + randomUUID());
minioStorage.start();
return new FileSystemExchangeManagerFactory().create(getExchangeManagerProperties(minioStorage));
}
Aggregations