@NotFinalAPI public interface QueryResultVersion extends Serializable, Comparable<QueryResultVersion>
Modifier and Type | Method and Description |
---|---|
String |
asString() |
int |
compareTo(QueryResultVersion queryResultVersion)
Compares to another query result version (following
Comparable rules). |
int |
compareTo(String queryResultVersionAsString)
Compares to another query result version string (following
Comparable rules). |
QueryVersion |
queryVersion()
Extracts the matching
QueryVersion object for comparison with queries. |
String asString()
int compareTo(QueryResultVersion queryResultVersion)
Comparable
rules).compareTo
in interface Comparable<QueryResultVersion>
queryResultVersion
- the query result version.int compareTo(String queryResultVersionAsString)
Comparable
rules).queryResultVersionAsString
- the query result version asString()
result.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()
Documentation Feedback
Copyright 2011 - 2018 Micro Focus or one of its affiliates.