Class ObjectStoreLink

  • All Implemented Interfaces:

    
    public final class ObjectStoreLink
    
                        

    What an entry points at instead of holding bytes of its own.

    Object stores can hold links: to another object, or to a whole other bucket. natsy has no way to create either, so these only turn up in buckets something else writes to - but a listing will show them, and reading one is not the same as reading an object.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getBucket() The bucket the link points at
      final String getObjectName() The object it points at, or null when the link is to the bucket itself
      final Boolean isBucketLink() Whether this points at a whole bucket, which no read of this store can follow.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ObjectStoreLink

        ObjectStoreLink(String bucket, String objectName)
    • Method Detail

      • getObjectName

         final String getObjectName()

        The object it points at, or null when the link is to the bucket itself

      • isBucketLink

         final Boolean isBucketLink()

        Whether this points at a whole bucket, which no read of this store can follow.