public class NamedSolutionSetRef extends Object implements INamedSolutionSetRef
UUID of the query which generated the named solution set.
This provides the scope for the named solution set. It is used to (a) locate
the data; and (b) release the data when the query goes out of scope.| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getFQN()
Return the fully qualified name of the named solution set.
|
IVariable[] |
getJoinVars()
The ordered set of variables that specifies the ordered set of components
in the key for the desired index over the named solution set (required,
but may be an empty array).
|
String |
getLocalName()
The application level name for the named solution set (as used in a
SPARQL query or update operation).
|
String |
getNamespace()
The namespace associated with the KB view -or-
null if the
named solution set is attached to an IRunningQuery. |
UUID |
getQueryId()
The
UUID of the IRunningQuery which generated the named
solution set. |
long |
getTimestamp()
The timestamp associated with the KB view.
|
int |
hashCode() |
String |
toString()
Return a human readable representation which can be decoded by
NamedSolutionSetRefUtility.valueOf(String). |
public final UUID getQueryId()
INamedSolutionSetRefUUID of the IRunningQuery which generated the named
solution set. When non-null, this is where you need to look
to find the data.getQueryId in interface INamedSolutionSetRefpublic String getNamespace()
INamedSolutionSetRefnull if the
named solution set is attached to an IRunningQuery.getNamespace in interface INamedSolutionSetRefINamedSolutionSetRef.getQueryId(),
INamedSolutionSetRef.getTimestamp();public long getTimestamp()
INamedSolutionSetRef
Note: This MUST be ignored if INamedSolutionSetRef.getNamespace() returns
null.
getTimestamp in interface INamedSolutionSetRefpublic final String getLocalName()
INamedSolutionSetRefgetLocalName in interface INamedSolutionSetRefpublic final IVariable[] getJoinVars()
INamedSolutionSetRefgetJoinVars in interface INamedSolutionSetRefpublic String getFQN()
INamedSolutionSetRef
Note: When the named solution set is attached to an
IQueryAttributes, the INamedSolutionSetRef itself is used
as the key into the IQueryAttributes. In this case, the
combination of the INamedSolutionSetRef.getQueryId() (identifying the query) and the
INamedSolutionSetRef object together provide the equivalent of a
fully qualified name.
getFQN in interface INamedSolutionSetRefpublic String toString()
INamedSolutionSetRefNamedSolutionSetRefUtility.valueOf(String).toString in interface INamedSolutionSetReftoString in class ObjectCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.