Package com.facebook.presto.metadata

Examples of com.facebook.presto.metadata.DatabaseLocalStorageManagerConfig


            File dataDir = new File(cacheDir);
            File databaseDir = new File(dataDir, "db");

            IDBI localStorageManagerDbi = createDataSource(typeRegistry, databaseDir, "StorageManager");

            DatabaseLocalStorageManagerConfig storageManagerConfig = new DatabaseLocalStorageManagerConfig()
                    .setCompressed(false)
                    .setDataDirectory(new File(dataDir, "data"));
            LocalStorageManager localStorageManager = new DatabaseLocalStorageManager(localStorageManagerDbi, createTestingBlockEncodingManager(), storageManagerConfig);

            NativeDataStreamProvider nativeDataStreamProvider = new NativeDataStreamProvider(localStorageManager);
View Full Code Here


            File dataDir = new File(cacheDir);
            File databaseDir = new File(dataDir, "db");

            IDBI localStorageManagerDbi = createDataSource(databaseDir, "StorageManager");

            DatabaseLocalStorageManagerConfig storageManagerConfig = new DatabaseLocalStorageManagerConfig()
                    .setCompressed(false)
                    .setDataDirectory(new File(dataDir, "data"));
            LocalStorageManager localStorageManager = new DatabaseLocalStorageManager(localStorageManagerDbi, storageManagerConfig);

            NativeDataStreamProvider nativeDataStreamProvider = new NativeDataStreamProvider(localStorageManager);
View Full Code Here

TOP

Related Classes of com.facebook.presto.metadata.DatabaseLocalStorageManagerConfig

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.