public interface RealtimeSplit
extends org.apache.hadoop.mapred.InputSplitWithLocationInfo
| Modifier and Type | Method and Description |
|---|---|
String |
getBasePath()
Return Base Path of the dataset.
|
boolean |
getBelongsToIncrementalQuery()
Returns the flag whether this split belongs to an Incremental Query
|
List<HoodieLogFile> |
getDeltaLogFiles() |
default List<String> |
getDeltaLogPaths()
Return Log File Paths.
|
long |
getLength()
The number of bytes in the file to process.
|
String |
getMaxCommitTime()
Return Max Instant Time.
|
org.apache.hadoop.fs.Path |
getPath()
The file containing this split's data.
|
long |
getStart()
The position of the first byte in the file to process.
|
Option<HoodieVirtualKeyInfo> |
getVirtualKeyInfo()
Returns Virtual key info if meta fields are disabled.
|
default void |
readFromInput(DataInput in) |
void |
setBasePath(String basePath)
Set Base Path.
|
void |
setBelongsToIncrementalQuery(boolean belongsToIncrementalQuery)
Sets the flag whether this split belongs to an Incremental Query
|
void |
setDeltaLogFiles(List<HoodieLogFile> deltaLogFiles) |
void |
setMaxCommitTime(String maxCommitTime)
Update Maximum valid instant time.
|
void |
setVirtualKeyInfo(Option<HoodieVirtualKeyInfo> virtualKeyInfo) |
default void |
writeToOutput(DataOutput out) |
List<HoodieLogFile> getDeltaLogFiles()
void setDeltaLogFiles(List<HoodieLogFile> deltaLogFiles)
String getMaxCommitTime()
String getBasePath()
Option<HoodieVirtualKeyInfo> getVirtualKeyInfo()
boolean getBelongsToIncrementalQuery()
void setMaxCommitTime(String maxCommitTime)
maxCommitTime - void setBasePath(String basePath)
basePath - void setBelongsToIncrementalQuery(boolean belongsToIncrementalQuery)
void setVirtualKeyInfo(Option<HoodieVirtualKeyInfo> virtualKeyInfo)
default void writeToOutput(DataOutput out) throws IOException
IOExceptiondefault void readFromInput(DataInput in) throws IOException
IOExceptionorg.apache.hadoop.fs.Path getPath()
long getStart()
long getLength()
getLength in interface org.apache.hadoop.mapred.InputSplitCopyright © 2022 The Apache Software Foundation. All rights reserved.