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 classstatic enumstatic enumstatic 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> Twalk(NameMappingProvider.Visitor<T> visitor)
-
Method Details
-
fromTable
A name mapping from theTable property"schema.name-mapping.default". If the property does not exist, anemptyname 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:
-
empty
An empty name mapping.Equivalent to
of(NameMapping.empty()).- Returns:
- the empty name mapping
-
walk
-