public interface NamedQueries
NamedQueries
that can be looked up by their names.Modifier and Type | Method and Description |
---|---|
String |
getQuery(String queryName)
Returns the named query with the given name.
|
boolean |
hasQuery(String queryName)
Returns whether the map contains a named query for the given name.
|
boolean hasQuery(String queryName)
getQuery(String)
to return a non-null query for the very same name.queryName
- must not be null or empty.IllegalArgumentException
- in case the given name is null or empty.String getQuery(String queryName)
queryName
- must not be null or empty.IllegalArgumentException
- in case no query with the given name exists.Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.