/** * The timestamp associated with the update operation (either a read/write * transaction or {@link ITx#UNISOLATED}. */ @Override public long getTimestamp() { return conn.getTripleStore().getTimestamp(); }
@Override public AbstractTripleStore getTripleStore() { return ((BigdataSailRepositoryConnection) getConnection()) .getTripleStore(); }
@Override public AbstractTripleStore getTripleStore() { return ((BigdataSailRepositoryConnection) getConnection()) .getTripleStore(); }
/** * The timestamp associated with the update operation (either a read/write * transaction or {@link ITx#UNISOLATED}. */ @Override public long getTimestamp() { return conn.getTripleStore().getTimestamp(); }
public AbstractTripleStore getTripleStore() { return ((BigdataSailRepositoryConnection) getConnection()) .getTripleStore(); }
public AbstractTripleStore getTripleStore() { return ((BigdataSailRepositoryConnection) getConnection()) .getTripleStore(); }
public AbstractTripleStore getTripleStore() { return ((BigdataSailRepositoryConnection) getConnection()) .getTripleStore(); }
public AbstractTripleStore getTripleStore() { return ((BigdataSailRepositoryConnection) getConnection()) .getTripleStore(); }
public AbstractTripleStore getTripleStore() { return ((BigdataSailRepositoryConnection) getConnection()) .getTripleStore(); }
public AbstractTripleStore getTripleStore() { return ((BigdataSailRepositoryConnection) getConnection()) .getTripleStore(); }
public StringBuilder dumpStore() throws Exception { return cxn.getTripleStore().dumpStore(); }
@Override public String toString() { return getClass().getName() + "{timestamp=" + TimestampUtility.toString(getTripleStore().getTimestamp()) + "}"; }
@Override public String toString() { return getClass().getName() + "{timestamp=" + TimestampUtility.toString(getTripleStore().getTimestamp()) + "}"; }
/** * Return <code>true</code> iff the SPARQL UPDATE for NAMED SOLUTION SETS * test should run. * * FIXME SPARQL UPDATE for NAMED SOLUTION SETS is NOT SUPPORTED for * read/write transactions (against isolatable indices). This is a GIST * issue. See {@link AbstractTask} and the GIST ticket for blocking issues. * * @see <a href="https://sourceforge.net/apps/trac/bigdata/ticket/531"> * SPARQL UPDATE Extensions (Trac) </a> * @see <a * href="https://sourceforge.net/apps/mediawiki/bigdata/index.php?title=SPARQL_Update"> * SPARQL Update Extensions (Wiki) </a> * @see <a href="https://sourceforge.net/apps/trac/bigdata/ticket/585"> GIST * </a> */ protected boolean isSolutionSetUpdateEnabled() { final AbstractTripleStore tripleStore = ((BigdataSailRepositoryConnection) con).getTripleStore(); final boolean isolatable = Boolean.parseBoolean(tripleStore.getProperty( BigdataSail.Options.ISOLATABLE_INDICES, BigdataSail.Options.DEFAULT_ISOLATABLE_INDICES)); return !isolatable; }
private void endTest(BigdataSailRepositoryConnection cxn) throws Exception { cxn.close(); cxn.getTripleStore().close(); IJournal store = ((LocalTripleStore)cxn.getTripleStore()).getIndexManager(); store.shutdownNow(); store.destroy(); }
public StringBuilder dumpStore() throws Exception { final BigdataSailRepositoryConnection cxn = cxn(); cxn.flush(); return cxn.getTripleStore().dumpStore(); }
/** * @param astContainer * @param db * * @throws SailException */ public AST2BOpUpdateContext(final ASTContainer astContainer, final BigdataSailRepositoryConnection conn) throws SailException { super(astContainer, conn.getTripleStore()); this.conn = conn; this.sail = conn.getSailConnection().getBigdataSail(); this.f = (BigdataValueFactory) sail.getValueFactory(); }
/** * @param astContainer * @param db * * @throws SailException */ public AST2BOpUpdateContext(final ASTContainer astContainer, final BigdataSailRepositoryConnection conn) throws SailException { super(astContainer, conn.getTripleStore()); this.conn = conn; this.sail = conn.getSailConnection().getBigdataSail(); this.f = (BigdataValueFactory) sail.getValueFactory(); }
private void endTest(BigdataSailRepositoryConnection cxn) throws Exception { cxn.close(); cxn.getTripleStore().close(); IJournal store = ((LocalTripleStore)cxn.getTripleStore()).getIndexManager(); store.shutdownNow(); store.destroy(); }
IValueCentricTextIndexer<?> searchEngine = cxn.getTripleStore().getLexiconRelation().getSearchEngine(); assertEquals(0, searchEngine.count(query("1"))); assertEquals(0, searchEngine.count(query("2")));