Package io.prestosql.testing
Class LocalQueryRunner.Builder
- java.lang.Object
-
- io.prestosql.testing.LocalQueryRunner.Builder
-
- Enclosing class:
- LocalQueryRunner
public static class LocalQueryRunner.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocalQueryRunner
build()
LocalQueryRunner.Builder
withAlwaysRevokeMemory()
LocalQueryRunner.Builder
withDefaultSessionProperties(Map<String,List<PropertyMetadata<?>>> defaultSessionProperties)
LocalQueryRunner.Builder
withFeaturesConfig(FeaturesConfig featuresConfig)
LocalQueryRunner.Builder
withInitialTransaction()
LocalQueryRunner.Builder
withNodeCountForStats(int nodeCountForStats)
LocalQueryRunner.Builder
withNodeSpillConfig(NodeSpillConfig nodeSpillConfig)
-
-
-
Method Detail
-
withFeaturesConfig
public LocalQueryRunner.Builder withFeaturesConfig(FeaturesConfig featuresConfig)
-
withNodeSpillConfig
public LocalQueryRunner.Builder withNodeSpillConfig(NodeSpillConfig nodeSpillConfig)
-
withInitialTransaction
public LocalQueryRunner.Builder withInitialTransaction()
-
withAlwaysRevokeMemory
public LocalQueryRunner.Builder withAlwaysRevokeMemory()
-
withDefaultSessionProperties
public LocalQueryRunner.Builder withDefaultSessionProperties(Map<String,List<PropertyMetadata<?>>> defaultSessionProperties)
-
withNodeCountForStats
public LocalQueryRunner.Builder withNodeCountForStats(int nodeCountForStats)
-
build
public LocalQueryRunner build()
-
-