/** Non-reordering execution of a quad pattern, given a iterator of bindings as input. * GraphNode is Node.ANY for execution over the union of named graphs. * GraphNode is null for execution over the real default graph. */ public static QueryIterator execute(DatasetGraphTDB ds, Node graphNode, BasicPattern pattern, QueryIterator input, Predicate<Tuple<NodeId>> filter, ExecutionContext execCxt) { NodeTupleTable ntt = ds.chooseNodeTupleTable(graphNode) ; return execute(ntt, graphNode, pattern, input, filter, execCxt) ; }
/** The NodeTupleTable for this graph - valid only inside the transaction or non-transactional. */ public NodeTupleTable getNodeTupleTable() { return getDatasetGraphTDB().chooseNodeTupleTable(getGraphName()) ; }
NodeTupleTable t = chooseNodeTupleTable(g) ; @SuppressWarnings("unchecked") Tuple<NodeId>[] array = (Tuple<NodeId>[])new Tuple<?>[sliceSize] ;