public class DataReplacement extends Object implements Operation
This operation will only allow replacing files that contain the same schema e.g. if the original files contain columns A, B, C and the new files contain only columns A, B then the operation is not allowed.
Corollary to the above: the operation will also not allow replacing files unless the affected columns all have the same datafile layout across the fragments being replaced.
| Modifier and Type | Class and Description |
|---|---|
static class |
DataReplacement.Builder
Builder for DataReplacement.
|
static class |
DataReplacement.DataReplacementGroup
A group of data replacement, containing a fragment ID and a new data file.
|
| Modifier and Type | Method and Description |
|---|---|
static DataReplacement.Builder |
builder()
Create a new builder for DataReplacement.
|
boolean |
equals(Object o) |
String |
name()
We use this name to align with the Rust operation enum underlying in JNI.
|
List<DataReplacement.DataReplacementGroup> |
replacements()
Get the list of data replacement groups.
|
String |
toString() |
public List<DataReplacement.DataReplacementGroup> replacements()
public String name()
Operationpublic static DataReplacement.Builder builder()
Copyright © 2025. All rights reserved.