Package io.deephaven.iceberg.util
Interface NameMappingProvider
- All Known Implementing Classes:
NameMappingProvider.DirectNameMapping
,NameMappingProvider.EmptyNameMapping
,NameMappingProvider.TableNameMapping
public interface NameMappingProvider
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
static enum
static enum
static interface
-
Method Summary
Modifier and TypeMethodDescriptionempty()
An empty name mapping.A name mapping from theTable property
"schema.name-mapping.default".of
(@NotNull org.apache.iceberg.mapping.NameMapping nameMapping) An explicit name mapping.<T> T
walk
(NameMappingProvider.Visitor<T> visitor)
-
Method Details
-
fromTable
A name mapping from theTable property
"schema.name-mapping.default". If the property does not exist, anempty
name mapping will be used.- Returns:
- the "from table" name mapping
- See Also:
-
of
static NameMappingProvider.DirectNameMapping of(@NotNull @NotNull org.apache.iceberg.mapping.NameMapping nameMapping) An explicit name mapping.- Parameters:
nameMapping
- the name mapping- Returns:
- the explicit name mapping
- See Also:
-
MappingUtil
-
empty
An empty name mapping.Equivalent to
of(NameMapping.empty())
.- Returns:
- the empty name mapping
-
walk
-