org.eclipse.rdf4j.sail.nativerdf.ValueStoreRevision Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rdf4j-sail-nativerdf Show documentation
Show all versions of rdf4j-sail-nativerdf Show documentation
Sail implementation that stores data directly to disk in dedicated file formats.
/*******************************************************************************
* Copyright (c) 2015 Eclipse RDF4J contributors, Aduna, and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Distribution License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*******************************************************************************/
package org.eclipse.rdf4j.sail.nativerdf;
import java.io.Serializable;
import org.eclipse.rdf4j.common.annotation.InternalUseOnly;
import org.eclipse.rdf4j.sail.nativerdf.model.NativeValue;
/**
* A {@link ValueStore ValueStore} revision for {@link NativeValue NativeValue} objects. For a cached value ID of a
* NativeValue to be valid, the revision object needs to be equal to the concerning ValueStore's revision object. The
* ValueStore's revision object is changed whenever values are removed from it or IDs are changed.
*
* @author Arjohn Kampman
*
* @apiNote This feature is for internal use only: its existence, signature or behavior may change without warning from
* one release to the next.
*/
@InternalUseOnly
public class ValueStoreRevision implements Serializable {
/*-----------*
* Constants *
*-----------*/
private static final long serialVersionUID = -2434063125560285009L;
/*-----------*
* Variables *
*-----------*/
transient private final ValueStore valueStore;
/*--------------*
* Constructors *
*--------------*/
public ValueStoreRevision(ValueStore valueStore) {
this.valueStore = valueStore;
}
/*---------*
* Methods *
*---------*/
public ValueStore getValueStore() {
return valueStore;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy