Package io.deephaven.enterprise.merge
Class BaseMergeOptions
java.lang.Object
io.deephaven.enterprise.merge.BaseMergeOptions
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIf the merge request is permitted to execute with an empty input.static BaseMergeOptions.Builderbuilder()Get an optional compression codec name for this merge request.abstract StringGet the target namespace to merge data into.Get the column-partition value to read from for this merge request.abstract Optional<PartitionValueProvider>Get the partition value provider.abstract List<SortDirective>Directives used to sort.The sourceTableto merge into the target, resolved according tosourceTableProvider().abstract StringGet the target table name to merge into.
-
Constructor Details
-
BaseMergeOptions
public BaseMergeOptions()
-
-
Method Details
-
builder
-
namespace
Get the target namespace to merge data into.- Returns:
- the namespace.
-
tableName
Get the target table name to merge into.- Returns:
- the table name to merge into.
-
allowEmptyInput
@Default public boolean allowEmptyInput()If the merge request is permitted to execute with an empty input.- Returns:
- true, if we may run with an empty input, else false.
-
sortDirectives
Directives used to sort. Please note that sorting is defined per internal partition.- Returns:
- the sort directives.
-
codecName
Get an optional compression codec name for this merge request. This is used when writing toDeephavenMergeOptions.StorageFormat.Parquetor to an Iceberg table.- Returns:
- the desired codec name.
-
sourceTable
The sourceTableto merge into the target, resolved according tosourceTableProvider().- Returns:
- the source table.
-
partitionValueProvider
Get the partition value provider.- Returns:
- the partition value provider, if set.
-
partitionValue
Get the column-partition value to read from for this merge request. In the case of Deephaven Layout tables, this is also the partition value to write to.- Returns:
- the partition value
-