@FunctionalInterface public interface BindMarkers
BindMarkers
is stateful and can be only used for a single binding
pass of one or more parameters. It maintains bind indexes/bind parameter names.
BindMarker
,
BindMarkersFactory
,
Statement.bind(int, java.lang.Object)
Modifier and Type | Method and Description |
---|---|
BindMarker |
next()
Create a new
BindMarker . |
default BindMarker |
next(String hint)
Create a new
BindMarker that accepts a hint . |
BindMarker next()
BindMarker
.default BindMarker next(String hint)
BindMarker
that accepts a hint
.
Implementations are allowed to consider/ignore/filter
the name hint to create more expressive bind markers.hint
- an optional name hint that can be used as part of the bind markerBindMarker