|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@NotFinalAPI public interface QueryResultVersion
Represents a version of a query result.
Method Summary | |
---|---|
java.lang.String |
asString()
|
int |
compareTo(QueryResultVersion queryResultVersion)
Compares to another query result version (following Comparable rules). |
int |
compareTo(java.lang.String queryResultVersionAsString)
Compares to another query result version string (following Comparable rules). |
QueryVersion |
queryVersion()
Extracts the matching QueryVersion object for comparison with queries. |
Method Detail |
---|
java.lang.String asString()
int compareTo(QueryResultVersion queryResultVersion)
Comparable
rules).
compareTo
in interface java.lang.Comparable<QueryResultVersion>
queryResultVersion
- the query result version.
int compareTo(java.lang.String queryResultVersionAsString)
Comparable
rules).
queryResultVersionAsString
- the query result version asString()
result.
java.lang.IllegalArgumentException
- if the given string cannot be parsed to a version object.QueryVersion queryVersion()
QueryVersion
object for comparison with queries.
In essence, if no change is done to a query before execution is performed, the QueryVersion from this method and
the QueryVersion from the Query.queryVersion()
will be equal.
Query.queryVersion()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |