Class ObjectStoreLink
-
- All Implemented Interfaces:
public final class ObjectStoreLinkWhat 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.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringbucketprivate final StringobjectNameprivate final BooleanisBucketLink
-
Constructor Summary
Constructors Constructor Description ObjectStoreLink(String bucket, String objectName)
-
Method Summary
Modifier and Type Method Description final StringgetBucket()The bucket the link points at final StringgetObjectName()The object it points at, or nullwhen the link is to the bucket itselffinal BooleanisBucketLink()Whether this points at a whole bucket, which no read of this store can follow. -
-
Method Detail
-
getObjectName
final String getObjectName()
The object it points at, or
nullwhen 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.
-
-
-
-