@API(value=MAINTAINED) public class PathValue extends Object
KeySpacePath
. The resolvedValue
is the object that will appear in the Tuple
when
KeySpacePath.toTuple(com.apple.foundationdb.record.provider.foundationdb.FDBRecordContext)
is invoked.
The metadata
is left null by KeySpaceDirectory
but other implementations may make use of
it (e.g. DirectoryLayerDirectory
.Modifier and Type | Method and Description |
---|---|
byte[] |
getMetadata()
If the
PathValue was returned by the DirectoryLayerDirectory or some other directory
type that involves a LocatableResolver , this will return any metadata that is associated with the
key in by LocatableResolver . |
Object |
getResolvedValue()
Returns the value that will be stored in the FDB row key for a path.
|
@Nullable public Object getResolvedValue()
@Nullable public byte[] getMetadata()
PathValue
was returned by the DirectoryLayerDirectory
or some other directory
type that involves a LocatableResolver
, this will return any metadata that is associated with the
key in by LocatableResolver
.LocatableResolver
or null
if
no metadata exists or is applicable for the directory type