Package jakarta.nosql
Interface Params
-
public interface Params
A group of params to a dynamic query
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
Params.ParamsProvider
AParams
supplier
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description Value
add(String param)
Adds a new value at the paramsvoid
bind(String name, Object value)
set the value from the classList<String>
getParametersNames()
boolean
isNotEmpty()
static Params
newParams()
It returns a new Params instance
-
-
-
Method Detail
-
isNotEmpty
boolean isNotEmpty()
- Returns:
- if the params list is not empty
-
add
Value add(String param)
Adds a new value at the params- Parameters:
param
- the param- Returns:
- the
Value
-
bind
void bind(String name, Object value)
set the value from the class- Parameters:
name
- the namevalue
- the value
-
-