public class Binding extends Object
| Constructor and Description |
|---|
Binding() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Remove all bindings from this Binding.
|
Optional<Argument> |
findForName(String name,
StatementContext ctx)
Look up an argument by name
|
Optional<Argument> |
findForPosition(int position)
Look up an argument by position
|
boolean |
isEmpty() |
String |
toString() |
public void clear()
public Optional<Argument> findForName(String name, StatementContext ctx)
name - the key to lookup the value ofctx - the statement contextpublic Optional<Argument> findForPosition(int position)
position - starts at 0, not 1public boolean isEmpty()
Copyright © 2017. All rights reserved.