public interface INamedSolutionSetRef extends Serializable
Note: There are two basic ways to locate named solution sets. Either they are
attached to the IQueryAttributes
of an IRunningQuery
(query
local) -or- they are located using the namespace and
timestamp of an MVCC view (this works for both cached and durable
named solution sets). Either getQueryId()
will be non-
null
or getNamespace()
will be non-null
,
but not both.
Modifier and Type | Method and Description |
---|---|
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.
|
String |
toString()
Return a human readable representation which can be decoded by
NamedSolutionSetRefUtility.valueOf(String) . |
UUID getQueryId()
UUID
of the IRunningQuery
which generated the named
solution set. When non-null
, this is where you need to look
to find the data.String getNamespace()
null
if the
named solution set is attached to an IRunningQuery
.getQueryId()
,
getTimestamp();
long getTimestamp()
Note: This MUST be ignored if getNamespace()
returns
null
.
String getLocalName()
String getFQN()
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 getQueryId()
(identifying the query) and the
INamedSolutionSetRef
object together provide the equivalent of a
fully qualified name.
IVariable[] getJoinVars()
String toString()
NamedSolutionSetRefUtility.valueOf(String)
.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.