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()
INamedSolutionSetRef
UUID
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 INamedSolutionSetRef
public String getNamespace()
INamedSolutionSetRef
null
if the
named solution set is attached to an IRunningQuery
.getNamespace
in interface INamedSolutionSetRef
INamedSolutionSetRef.getQueryId()
,
INamedSolutionSetRef.getTimestamp();
public long getTimestamp()
INamedSolutionSetRef
Note: This MUST be ignored if INamedSolutionSetRef.getNamespace()
returns
null
.
getTimestamp
in interface INamedSolutionSetRef
public final String getLocalName()
INamedSolutionSetRef
getLocalName
in interface INamedSolutionSetRef
public final IVariable[] getJoinVars()
INamedSolutionSetRef
getJoinVars
in interface INamedSolutionSetRef
public 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 INamedSolutionSetRef
public String toString()
INamedSolutionSetRef
NamedSolutionSetRefUtility.valueOf(String)
.toString
in interface INamedSolutionSetRef
toString
in class Object
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.