Class ImmutableIndexLayer
java.lang.Object
org.apache.opendal.Layer
org.apache.opendal.layer.ImmutableIndexLayer
Provides an immutable in-memory listing index for services without native list support, such as HTTP.
Listings use the supplied keys. Non-recursive listings infer directories from key prefixes.
-
Constructor Summary
ConstructorsConstructorDescriptionImmutableIndexLayer(String... keys) Creates an index from a snapshot of the supplied keys. -
Method Summary
-
Constructor Details
-
ImmutableIndexLayer
Creates an index from a snapshot of the supplied keys. With no keys, listings are empty.- Parameters:
keys- paths relative to the operator root. Use a trailing slash to include a directory explicitly.- Throws:
NullPointerException- if the array or any key is null
-
-
Method Details
-
layer
-