Package org.apache.opendal
Class Operator
java.lang.Object
org.apache.opendal.NativeObject
org.apache.opendal.Operator
- All Implemented Interfaces:
AutoCloseable
Operator represents an underneath OpenDAL operator that accesses data synchronously.
-
Field Summary
Fields inherited from class org.apache.opendal.NativeObject
nativeHandle
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
createInputStream
(String path) createOutputStream
(String path) createOutputStream
(String path, int maxBytes) void
protected void
disposeInternal
(long handle) Deletes underlying native object pointer.static Operator
Construct an OpenDAL blocking operator:byte[]
void
void
void
void
Methods inherited from class org.apache.opendal.NativeObject
close, isDisposed
-
Field Details
-
info
-
-
Method Details
-
of
Construct an OpenDAL blocking operator:You can find all possible schemes here and see what config options each service supports.
- Parameters:
schema
- the name of the underneath service to access data from.map
- a map of properties to construct the underneath operator.
-
duplicate
- Returns:
- the cloned blocking operator.
- See Also:
-
write
-
write
-
createOutputStream
-
createOutputStream
-
read
-
createInputStream
-
delete
-
stat
-
createDir
-
copy
-
rename
-
removeAll
-
list
-
disposeInternal
protected void disposeInternal(long handle) Description copied from class:NativeObject
Deletes underlying native object pointer.- Specified by:
disposeInternal
in classNativeObject
- Parameters:
handle
- to the native object pointer
-