public interface QueryResult
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
getParameters()
A map containing the parameter names and the references to the
Argument names which define the values. |
java.util.Map<java.lang.String,DataType> |
getParameterTypes() |
java.lang.String |
getQuery() |
static QueryResult |
of(java.lang.String query,
java.util.Map<java.lang.String,java.lang.String> parameters,
java.util.Map<java.lang.String,DataType> parameterTypes)
Creates a new encoded query.
|
@NonNull java.lang.String getQuery()
@NonNull java.util.Map<java.lang.String,java.lang.String> getParameters()
Argument
names which define the values.
These can be used to resolve the runtime values to bind to the prepared statement.@NonNull java.util.Map<java.lang.String,DataType> getParameterTypes()
@NonNull static QueryResult of(@NonNull java.lang.String query, @Nullable java.util.Map<java.lang.String,java.lang.String> parameters, @Nullable java.util.Map<java.lang.String,DataType> parameterTypes)
query
- The queryparameters
- The parametersparameterTypes
- The parameter types