chain(s->builder) - builds a ResultStream chain with custom builder
330361
@Override
  public <S> StreamBuilderImpl<S,U> 
  custom(FunctionSync<ResultStream<S>,ResultStream<T>> builder)
  {
    return new Chain<S,T,U>(this, builder);
  }
203732
@Nonnull
	public static <R> LBiSrtFunctionBuilder<R> biSrtFunction(Consumer<LBiSrtFunction<R>> consumer) {
		return new LBiSrtFunctionBuilder(consumer);
	}
1039594
@Nonnull
	public static <T> LObjIntBytePredicateBuilder<T> objIntBytePredicate(Consumer<LObjIntBytePredicate<T>> consumer) {
		return new LObjIntBytePredicateBuilder(consumer);
	}
189619
@CheckReturnValue
  public static Builder fromPool(Vertx vertx, Pool pool) {
    WorkerExecutor executor = vertx.createSharedWorkerExecutor("DbWorker-" + poolNameCounter.getAndAdd(1), pool.size);
    return new BuilderImpl(executor, () -> {
      try {
        executor.close();
      } catch (Exception e) {
        log.warn("Problem closing database worker executor", e);
      }
      if (pool.poolShutdown != null) {
        pool.poolShutdown.close();
      }
    }, () -> {
      try {
        return pool.dataSource.getConnection();
      } catch (Exception e) {
        throw new DatabaseException("Unable to obtain a connection from DriverManager", e);
      }
    }, new OptionsDefault(pool.flavor));
  }
517062
@Nonnull
	public static <R> LByteFunction<R> byteFunctionFrom(Consumer<LByteFunctionBuilder<R>> buildingFunction) {
		LByteFunctionBuilder builder = new LByteFunctionBuilder();
		buildingFunction.accept(builder);
		return builder.build();
	}
848123
public static Builder newBuilder(String name, LegacySQLTypeName type, Field... subFields) {
    return new Builder().setName(name).setType(type, subFields);
  }
95200
@Nonnull
	public static <T1, T2> ToIntBiFunctionBuilder<T1, T2> toIntBiFunction(Consumer<ToIntBiFunction<T1, T2>> consumer) {
		return new ToIntBiFunctionBuilder(consumer);
	}
306541
@Override
	public ResourceBundlePostProcessor buildPostProcessorChain(String processorKeys) {
		if (null == processorKeys)
			return null;
		else if (PostProcessFactoryConstant.NO_POSTPROCESSING_KEY.equals(processorKeys))
			return new EmptyResourceBundlePostProcessor();

		StringTokenizer tk = new StringTokenizer(processorKeys, ",");

		AbstractChainedResourceBundlePostProcessor chain = null;
		while (tk.hasMoreTokens())
			chain = addOrCreateChain(chain, tk.nextToken().trim());

		return chain;
	}
768082
@Nonnull
	public static <T1, T2, R> LBiObjIntFunctionBuilder<T1, T2, R> biObjIntFunction(Consumer<LBiObjIntFunction<T1, T2, R>> consumer) {
		return new LBiObjIntFunctionBuilder(consumer);
	}
709501
@Nonnull
	public static LByteToFltFunction byteToFltFunctionFrom(Consumer<LByteToFltFunctionBuilder> buildingFunction) {
		LByteToFltFunctionBuilder builder = new LByteToFltFunctionBuilder();
		buildingFunction.accept(builder);
		return builder.build();
	}
706221
@Nonnull
	public static <T1, T2> LToSrtBiFunctionBuilder<T1, T2> toSrtBiFunction(Consumer<LToSrtBiFunction<T1, T2>> consumer) {
		return new LToSrtBiFunctionBuilder(consumer);
	}
200171
@Nonnull
	public static <T> LObjBytePredicateBuilder<T> objBytePredicate(Consumer<LObjBytePredicate<T>> consumer) {
		return new LObjBytePredicateBuilder(consumer);
	}
382366
@Nonnull
	public static <T> LObjIntDblPredicateBuilder<T> objIntDblPredicate(Consumer<LObjIntDblPredicate<T>> consumer) {
		return new LObjIntDblPredicateBuilder(consumer);
	}
393179
@Nonnull
	public static <T1, T2> LBiObjCharConsumer<T1, T2> biObjCharConsumerFrom(Consumer<LBiObjCharConsumerBuilder<T1, T2>> buildingFunction) {
		LBiObjCharConsumerBuilder builder = new LBiObjCharConsumerBuilder();
		buildingFunction.accept(builder);
		return builder.build();
	}
162078
@Nonnull
	public static <T, R> LObjIntDblFunctionBuilder<T, R> objIntDblFunction(Consumer<LObjIntDblFunction<T, R>> consumer) {
		return new LObjIntDblFunctionBuilder(consumer);
	}
120321
function QueryCompiler(client, builder) {
  this.client = client;
  this.method = builder._method || 'select';
  this.options = builder._options || {};
  this.single = builder._single;
  var grouped = this.grouped = {};
  builder._statements.forEach(function (item) {
    if (!item.grouping) {
      return;
    }
    var val = item.grouping;
    if (!(val in grouped)) {
      grouped[val] = [];
    }
    grouped[val].push(item);
  });
  this.formatter = new Formatter(client);
}
1369829
@Override
	public ResourceBundlePostProcessor buildDefaultProcessorChain() {
		AbstractChainedResourceBundlePostProcessor processor = buildJSMinPostProcessor();
		processor.addNextProcessor(buildLicensesProcessor());
		return processor;
	}