Package io.helidon.data.codegen.query
Interface QueryParameters.Parameter
- Enclosing class:
QueryParameters
public static interface QueryParameters.Parameter
JDQL parameter.
-
Method Summary
-
Method Details
-
code
String code()Code to be generated as JDQL parameter. ReturnsString
literal for named parameter orint
literal for ordinal parameter.- Returns:
- JDQL parameter code.
-
name
String name()Name od the parameter. Returns name of the named parameter or index value of the ordinal parameter.- Returns:
- name od the parameter
-
index
int index()Index ot the ordinal parameter.- Returns:
- ordinal parameter index
- Throws:
UnsupportedOperationException
- for named parameter
-