Class StatementContext.Builder<T>

java.lang.Object
com.pyranid.StatementContext.Builder<T>
Enclosing class:
StatementContext<T>

@NotThreadSafe public static class StatementContext.Builder<T> extends Object
Builder used to construct instances of StatementContext.

This class is intended for use by a single thread.

A Statement captured from an execution can carry original binding names, which this builder inherits when their count matches the supplied parameters. Names are not part of Statement equality, but effective names are part of StatementContext equality. Equal statements can therefore produce unequal contexts. Supply parameterNames(List) to choose the context's names explicitly.

Since:
2.0.0
Author:
Mark Allen