public class DataSetSummary extends Object
Modifier and Type  Field and Description 

IV 
firstContext

Set<IV> 
graphs
The set of graphs.

int 
nknown
The #of graphs in
graphs whose term identifier is known. 
int 
nunknown
The #of graphs in
graphs whose term identifier is not known. 
Constructor and Description 

DataSetSummary(Set<IV> graphs,
boolean update) 
Modifier and Type  Method and Description 

boolean 
equals(Object o) 
SubqueryCostReport 
estimateSubqueryCost(BOpContextBase context,
int limit,
Predicate pred)
Estimate cost of SUBQUERY with C bound (sampling).

Set<IV> 
getGraphs()
Return the distinct
IV s for the graphs known to the database. 
static Set<IV> 
toInternalValues(Set<org.openrdf.model.URI> graphs) 
String 
toString() 
public final Set<IV> graphs
URI
s MUST have been resolved against the
appropriate LexiconRelation
such that their term identifiers
(when the exist) are known. If any term identifier is
IRawTripleStore#NULL
, then the corresponding graph does not exist
and no access path will be queried for that graph. However, a non
IRawTripleStore#NULL
term identifier may also identify a graph
which does not exist, in which case an access path will be created for
that URI
s but will not visit any data.public final int nknown
graphs
whose term identifier is known. While
this is not proof that there is data in the quad store for a graph having
the corresponding URI
, it does allow the possibility that a graph
could exist for that URI
.public final int nunknown
graphs
whose term identifier is not known. For
QUERY, this is proof that there is no data in the quad store for a graph
having the corresponding URI
. However, for UPDATE it is possible
that a graph could be created for that URI
during an UPDATE
operation.public final IV firstContext
public DataSetSummary(Set<IV> graphs, boolean update)
graphs
 The set of named graphs in the SPARQL DATASET (optional). A
runtime exception will be thrown during evaluation of the if
the URI
s are not BigdataURI
s. If
graphs := null
, then the set of named graphs is
understood to be ALL graphs in the quad store.update
 When true
, unknown IV
s WILL NOT be pruned
from the DataSetSummary
. This is because those graphs
might be implicitly created during an UPDATE operation.public Set<IV> getGraphs()
IV
s for the graphs known to the database.IV
s.public SubqueryCostReport estimateSubqueryCost(BOpContextBase context, int limit, Predicate pred)
context
 limit
 The maximum #of samples to take.pred
 The predicate.Dataset
.Copyright © 2006–2016 SYSTAP, LLC DBA Blazegraph. All rights reserved.