@Override public SparseRowStore getGlobalRowStore(final long timestamp) { return getLocalIndexManager().getGlobalRowStore(timestamp); }
@Override public SparseRowStore getGlobalRowStore(final long timestamp) { return delegate.getGlobalRowStore(timestamp); }
@Override public SparseRowStore getGlobalRowStore(final long timestamp) { return getLocalIndexManager().getGlobalRowStore(timestamp); }
@Override public SparseRowStore getGlobalRowStore() { return delegate.getGlobalRowStore(); }
@Override public SparseRowStore getGlobalRowStore() { return delegate.getGlobalRowStore(); }
@Override public SparseRowStore getGlobalRowStore() { return getLocalIndexManager().getGlobalRowStore(); }
@Override public SparseRowStore getGlobalRowStore() { return getLocalIndexManager().getGlobalRowStore(); }
@Override public SparseRowStore getGlobalRowStore(final long timestamp) { return delegate.getGlobalRowStore(timestamp); }
/** * Return the properties associated with the given namespace. * * @param indexManager * Use {@link BigdataSail#getDatabase()} and then * {@link AbstractTripleStore#getIndexManager()}. * @param namespace * The namespace of a locatable resource such as an * {@link AbstractTripleStore}, {@link SPORelation} or * {@link LexiconRelation}. * * @return The persistent properties. */ protected Properties getProperties(final IIndexManager indexManager, final String namespace) { final Map<String, Object> map = indexManager.getGlobalRowStore().read( RelationSchema.INSTANCE, namespace); final Properties properties = new Properties(); properties.putAll(map); return properties; }
/** * Return the properties associated with the given namespace. * * @param indexManager * Use {@link BigdataSail#getDatabase()} and then * {@link AbstractTripleStore#getIndexManager()}. * @param namespace * The namespace of a locatable resource such as an * {@link AbstractTripleStore}, {@link SPORelation} or * {@link LexiconRelation}. * * @return The persistent properties. */ protected Properties getProperties(final IIndexManager indexManager, final String namespace) { final Map<String, Object> map = indexManager.getGlobalRowStore().read( RelationSchema.INSTANCE, namespace); final Properties properties = new Properties(); properties.putAll(map); return properties; }
p2.putAll(indexManager.getGlobalRowStore().write( RelationSchema.INSTANCE, map));
p2.putAll(indexManager.getGlobalRowStore().write( RelationSchema.INSTANCE, map));
.getGlobalRowStore().rangeIterator(RelationSchema.INSTANCE);
.getGlobalRowStore().rangeIterator(RelationSchema.INSTANCE);
final SparseRowStore grs = indexManager.getGlobalRowStore(timestamp);
final SparseRowStore grs = indexManager.getGlobalRowStore(timestamp);
public List<String> getNamespacesTx(long tx) { if (tx == ITx.READ_COMMITTED && getIndexManager() instanceof IBigdataFederation) { // Use the last commit point for the federation *only*. tx = getIndexManager().getLastCommitTime(); } final SparseRowStore grs = getIndexManager().getGlobalRowStore(tx); if (grs == null) { log.warn("No GRS @ tx=" + TimestampUtility.toString(tx)); // Empty. return Collections.emptyList(); } return grs.getNamespaces(tx); }
public List<String> getNamespacesTx(long tx) { if (tx == ITx.READ_COMMITTED && getIndexManager() instanceof IBigdataFederation) { // Use the last commit point for the federation *only*. tx = getIndexManager().getLastCommitTime(); } final SparseRowStore grs = getIndexManager().getGlobalRowStore(tx); if (grs == null) { log.warn("No GRS @ tx=" + TimestampUtility.toString(tx)); // Empty. return Collections.emptyList(); } return grs.getNamespaces(tx); }
indexManager.getGlobalRowStore().delete(RelationSchema.INSTANCE, namespace);
final SparseRowStore grs = indexManager.getGlobalRowStore(timestamp);