Module quak.framework.data
Interface QueryCriteriaProvider
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Provides QueryCriteria given a fieldName. Typically used with the
valueOfField method for semantic method chaining. Example:
import static io.john.amiscaray.quak.data.query.QueryCriteria.*;
public class Test {
public void test() {
QueryCriteria criteria = valueOfField("name", contains("oh"));
}
}
These are provided using static methods from the QueryCriteria class.-
Method Summary
Modifier and TypeMethodDescriptionprovideQueryCriteria(String fieldName) Builds the query criteria
-
Method Details
-
provideQueryCriteria
Builds the query criteria- Parameters:
fieldName- The field name- Returns:
- The QueryCriteria
-