public final class OverwriteSpec extends Object implements SinkAbilitySpec
SinkAbilitySpec
that can not only serialize/deserialize the overwrite flag
to/from JSON, but also can overwrite existing data for SupportsOverwrite
.Modifier and Type | Field and Description |
---|---|
static String |
FIELD_NAME_OVERWRITE |
Constructor and Description |
---|
OverwriteSpec(boolean overwrite) |
Modifier and Type | Method and Description |
---|---|
void |
apply(DynamicTableSink tableSink)
Apply the ability to the given
DynamicTableSink . |
boolean |
equals(Object o) |
int |
hashCode() |
public static final String FIELD_NAME_OVERWRITE
public void apply(DynamicTableSink tableSink)
SinkAbilitySpec
DynamicTableSink
.apply
in interface SinkAbilitySpec
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.