Package org.openrdf.sail.nativerdf.model

Examples of org.openrdf.sail.nativerdf.model.NativeValue


   *            If an I/O error occurred.
   */
  public NativeValue getValue(int id)
    throws IOException
  {
    NativeValue resultValue = null;

    // Check value cache
    Integer cacheID = new Integer(id);
    synchronized (valueCache) {
      resultValue = valueCache.get(cacheID);
View Full Code Here


  {
    // Try to get the internal ID from the value itself
    boolean isOwnValue = isOwnValue(value);

    if (isOwnValue) {
      NativeValue nativeValue = (NativeValue)value;

      if (revisionIsCurrent(nativeValue)) {
        int id = nativeValue.getInternalID();

        if (id != NativeValue.UNKNOWN_ID) {
          return id;
        }
      }
View Full Code Here

  {
    // Try to get the internal ID from the value itself
    boolean isOwnValue = isOwnValue(value);

    if (isOwnValue) {
      NativeValue nativeValue = (NativeValue)value;

      if (revisionIsCurrent(nativeValue)) {
        // Value's ID is still current
        int id = nativeValue.getInternalID();

        if (id != NativeValue.UNKNOWN_ID) {
          return id;
        }
      }
View Full Code Here

   *            If an I/O error occurred.
   */
  public NativeValue getValue(int id)
    throws IOException
  {
    NativeValue resultValue = null;

    // Check value cache
    Integer cacheID = new Integer(id);
    synchronized (valueCache) {
      resultValue = valueCache.get(cacheID);
View Full Code Here

  {
    // Try to get the internal ID from the value itself
    boolean isOwnValue = isOwnValue(value);

    if (isOwnValue) {
      NativeValue nativeValue = (NativeValue)value;

      if (revisionIsCurrent(nativeValue)) {
        int id = nativeValue.getInternalID();

        if (id != NativeValue.UNKNOWN_ID) {
          return id;
        }
      }
View Full Code Here

  {
    // Try to get the internal ID from the value itself
    boolean isOwnValue = isOwnValue(value);

    if (isOwnValue) {
      NativeValue nativeValue = (NativeValue)value;

      if (revisionIsCurrent(nativeValue)) {
        // Value's ID is still current
        int id = nativeValue.getInternalID();

        if (id != NativeValue.UNKNOWN_ID) {
          return id;
        }
      }
View Full Code Here

TOP

Related Classes of org.openrdf.sail.nativerdf.model.NativeValue

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.