Uses of Class
org.apache.datafusion.SessionContextBuilder
Packages that use SessionContextBuilder
-
Uses of SessionContextBuilder in org.apache.datafusion
Methods in org.apache.datafusion that return SessionContextBuilderModifier and TypeMethodDescriptionSessionContextBuilder.batchSize(int batchSize) static SessionContextBuilderSessionContext.builder()Start configuring aSessionContext.SessionContextBuilder.cacheManager(CacheManagerOptions options) Configure DataFusion's built-inCacheManagerfor the new context.SessionContextBuilder.collectStatistics(boolean collectStatistics) SessionContextBuilder.disableSpill()Disable on-disk spill entirely.SessionContextBuilder.informationSchema(boolean informationSchema) SessionContextBuilder.maxTempDirectorySize(long bytes) Cap the cumulative bytes used by spill files undertempDirectory(String).SessionContextBuilder.memoryLimit(long maxMemoryBytes, double fraction) Cap the memory pool atmaxMemoryBytes, reservingfractionof it for queries.SessionContextBuilder.registerObjectStore(ObjectStoreOptions options) Register anobject_store::ObjectStorebackend on the new context'sRuntimeEnv.Set an arbitrarydatafusion.*config option by string key.SessionContextBuilder.setOptions(LinkedHashMap<String, String> entries) SessionContextBuilder.setOptions(Map<String, String> entries) Apply every entry ofentriesviasetOption(String, String).SessionContextBuilder.targetPartitions(int targetPartitions) SessionContextBuilder.tempDirectory(String path) Directory the DiskManager uses for spill files.SessionContextBuilder.withSparkFunctions()Register Apache Spark-compatible functions and expression planners on the new context, using thedatafusion-sparkcrate.