Class DistributedQueryRunner.Builder

  • Enclosing class:
    DistributedQueryRunner

    public static class DistributedQueryRunner.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        protected Builder​(io.prestosql.Session defaultSession)
    • Method Detail

      • amendSession

        public DistributedQueryRunner.Builder amendSession​(java.util.function.Function<io.prestosql.Session.SessionBuilder,​io.prestosql.Session.SessionBuilder> amendSession)
      • setExtraProperties

        public DistributedQueryRunner.Builder setExtraProperties​(java.util.Map<java.lang.String,​java.lang.String> extraProperties)
      • setSingleExtraProperty

        public DistributedQueryRunner.Builder setSingleExtraProperty​(java.lang.String key,
                                                                     java.lang.String value)
        Sets extra properties being equal to a map containing given key and value. Note, that calling this method OVERWRITES previously set property values. As a result, it should only be used when only one extra property needs to be set.
      • setCoordinatorProperties

        public DistributedQueryRunner.Builder setCoordinatorProperties​(java.util.Map<java.lang.String,​java.lang.String> coordinatorProperties)
      • setSingleCoordinatorProperty

        public DistributedQueryRunner.Builder setSingleCoordinatorProperty​(java.lang.String key,
                                                                           java.lang.String value)
        Sets coordinator properties being equal to a map containing given key and value. Note, that calling this method OVERWRITES previously set property values. As a result, it should only be used when only one coordinator property needs to be set.
      • setSystemAccessControl

        public DistributedQueryRunner.Builder setSystemAccessControl​(java.lang.String name,
                                                                     java.util.Map<java.lang.String,​java.lang.String> properties)