| Package | Description |
|---|---|
| org.apache.hudi.common.util | |
| org.apache.hudi.io.hfile | |
| org.apache.hudi.storage |
| Modifier and Type | Method and Description |
|---|---|
static <T> Option<T> |
Option.empty() |
<U> Option<U> |
Option.flatMap(Function<? super T,Option<U>> mapper) |
static <T> Option<T> |
Option.fromJavaOptional(Optional<T> v)
Convert from java.util.Optional.
|
static Option<Method> |
ReflectionUtils.getMethod(Class<?> clazz,
String methodName,
Class<?>... parametersType)
Gets a method based on the method name and type of parameters through reflection.
|
<U> Option<U> |
Option.map(Function<? super T,? extends U> mapper) |
static <T> Option<T> |
Option.of(T value) |
static <T> Option<T> |
Option.ofNullable(T value) |
Option<T> |
Option.or(Option<T> other)
Returns this
Option if not empty, otherwise returns an alternative |
Option<T> |
Option.or(Supplier<? extends Option<T>> other)
Returns this
Option if not empty, otherwise evaluates provided supplier
and returns its result |
static Option<byte[]> |
FileIOUtils.readDataFromPath(HoodieStorage storage,
StoragePath detailPath) |
static Option<byte[]> |
FileIOUtils.readDataFromPath(HoodieStorage storage,
StoragePath detailPath,
boolean ignoreIOE) |
Option<Long> |
HoodieTimer.tryEndTimer()
tries to end the timer but will not cause a runtime failure like endTimer will if the queue is empty
|
| Modifier and Type | Method and Description |
|---|---|
static void |
FileIOUtils.createFileInPath(HoodieStorage storage,
StoragePath fullPath,
Option<HoodieInstantWriter> contentWriter) |
static void |
FileIOUtils.createFileInPath(HoodieStorage storage,
StoragePath fullPath,
Option<HoodieInstantWriter> contentWriter,
boolean ignoreIOE) |
Option<T> |
Option.or(Option<T> other)
Returns this
Option if not empty, otherwise returns an alternative |
| Modifier and Type | Method and Description |
|---|---|
<U> Option<U> |
Option.flatMap(Function<? super T,Option<U>> mapper) |
Option<T> |
Option.or(Supplier<? extends Option<T>> other)
Returns this
Option if not empty, otherwise evaluates provided supplier
and returns its result |
| Modifier and Type | Field and Description |
|---|---|
protected Option<HFileDataBlock> |
HFileReaderImpl.currentDataBlock |
protected Option<BlockIndexEntry> |
HFileReaderImpl.currentDataBlockEntry |
| Modifier and Type | Method and Description |
|---|---|
Option<KeyValue> |
HFileCursor.getKeyValue() |
Option<KeyValue> |
HFileReaderImpl.getKeyValue() |
Option<KeyValue> |
HFileReader.getKeyValue() |
Option<Key> |
HFileInfo.getLastKey() |
Option<ByteBuffer> |
HFileReaderImpl.getMetaBlock(String metaBlockName) |
Option<ByteBuffer> |
HFileReader.getMetaBlock(String metaBlockName)
Gets the content of a meta block from HFile.
|
Option<byte[]> |
HFileReaderImpl.getMetaInfo(UTF8StringKey key) |
Option<byte[]> |
HFileReader.getMetaInfo(UTF8StringKey key)
Gets info entry from file info block of a HFile.
|
Option<Key> |
BlockIndexEntry.getNextBlockFirstKey() |
| Constructor and Description |
|---|
BlockIndexEntry(Key firstKey,
Option<Key> nextBlockFirstKey,
long offset,
int size) |
| Modifier and Type | Method and Description |
|---|---|
static Option<StorageSchemes> |
StorageSchemes.getStorageLockImplementationIfExists(String scheme) |
abstract Option<String> |
StorageConfiguration.getString(String key)
Gets the String value of a property key.
|
| Modifier and Type | Method and Description |
|---|---|
void |
HoodieStorage.createImmutableFileInPath(StoragePath path,
Option<HoodieInstantWriter> contentWriter)
Creates a new file with overwrite set to false.
|
void |
HoodieStorage.createImmutableFileInPath(StoragePath path,
Option<HoodieInstantWriter> contentWriter,
boolean needTempFile)
Creates a new file with overwrite set to false.
|
Copyright © 2025 The Apache Software Foundation. All rights reserved.