Class CorruptValue

    • Constructor Detail

      • CorruptValue

        public CorruptValue​(ValueStoreRevision revision,
                            int internalID,
                            byte[] data)
    • Method Detail

      • setInternalID

        public void setInternalID​(int internalID,
                                  ValueStoreRevision revision)
        Description copied from interface: NativeValue
        Sets the ID that is used for this value in a specific revision of the value store.
        Specified by:
        setInternalID in interface NativeValue
      • getValueStoreRevision

        public ValueStoreRevision getValueStoreRevision()
        Description copied from interface: NativeValue
        Gets the revision of the value store that created this value. The value's internal ID is only valid when it's value store revision is equal to the value store's current revision.
        Specified by:
        getValueStoreRevision in interface NativeValue
        Returns:
        The revision of the value store that created this value at the time it last set the value's internal ID.
      • stringValue

        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
      • getData

        public byte[] getData()
        Returns the bytes that were read from the ValueStore for this value's internalID. Since the value is corrupt the data may be null or an empty array.
        Returns:
        null, empty array or corrupt data