|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QueryResultChange
Describes the change of a query result.
Note that the general contract for topologies does not apply here since the topologies from this interface are breakdown fragments. The general contract is:
Method Summary | |
---|---|
Topology |
getAddedTopology()
Returns the structure containing the elements added to the result of the query. |
java.lang.String |
getQueryName()
The name of the query whose result has changed. |
QueryResultVersion |
getQueryResultVersion()
Returns the query result version after the change. |
Topology |
getRemovedTopology()
Returns the structure containing the elements removed from the result of the query. |
Topology |
getUpdatedTopology()
Returns the structure containing the elements in the query result whose properties were updated. |
boolean |
hasAddedTopology()
Checks whether this elements were added in this change. |
boolean |
hasRemovedTopology()
Returns true if if this change contains removed elements. |
boolean |
hasUpdatedTopology()
Checks whether this elements were updated in this change. |
boolean |
isMassiveTopologyChange()
Checks whether the change is too large to be handled with this mechanism. |
Method Detail |
---|
java.lang.String getQueryName()
boolean isMassiveTopologyChange()
isMassiveTopologyChange
returns true, all the has*
methods
return false.
In this case, the application can get the new information by rereading the
result of the query.
true
if a large change has occuredboolean hasAddedTopology()
Topology getAddedTopology()
boolean hasRemovedTopology()
true
if this change contains removed elementsTopology getRemovedTopology()
boolean hasUpdatedTopology()
Topology getUpdatedTopology()
QueryResultVersion getQueryResultVersion()
isMassiveTopologyChange()
is false), then for each
non-empty topology (Topology.isEmpty()
is true), the query result version in that topology
is the same as this version.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |