Class CorruptIRI

java.lang.Object
org.eclipse.rdf4j.sail.nativerdf.model.CorruptValue
org.eclipse.rdf4j.sail.nativerdf.model.CorruptIRI
All Implemented Interfaces:
Serializable, IRI, Resource, Value, NativeValue

public class CorruptIRI extends CorruptValue implements IRI
CorruptIRI is used when a NativeValue cannot be read from the ValueStore and if soft failure is enabled
Author:
Håvard M. Ottestad
See Also:
  • Constructor Details Link icon

  • Method Details Link icon

    • toString Link icon

      public String toString()
      Overrides:
      toString in class Object
    • stringValue Link icon

      public String stringValue()
      Description copied from interface: Value
      Returns the String-value of a Value object. This returns either a Literal's label, a IRI's URI or a BNode's ID.
      Specified by:
      stringValue in interface Value
      Overrides:
      stringValue in class CorruptValue
    • getNamespace Link icon

      public String getNamespace()
      Description copied from interface: IRI
      Gets the namespace part of this IRI.

      The namespace is defined as per the algorithm described in the class documentation.

      Specified by:
      getNamespace in interface IRI
      Returns:
      the namespace of this IRI
    • getLocalName Link icon

      public String getLocalName()
      Description copied from interface: IRI
      Gets the local name part of this IRI.

      The local name is defined as per the algorithm described in the class documentation.

      Specified by:
      getLocalName in interface IRI
      Returns:
      the local name of this IRI
    • equals Link icon

      public boolean equals(Object o)
      Description copied from interface: IRI
      Compares this IRI to another object.
      Specified by:
      equals in interface IRI
      Overrides:
      equals in class CorruptValue
      Parameters:
      o - the object to compare this IRI to
      Returns:
      true, if the other object is an instance of IRI and their string values are equal; false, otherwise