Package io.deephaven.iceberg.util
Interface NameMappingProvider
public interface NameMappingProvider
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic NameMappingProviderempty()An empty name mapping.static NameMappingProviderA name mapping from theTable property"schema.name-mapping.default".static NameMappingProviderof(@NotNull org.apache.iceberg.mapping.NameMapping nameMapping) An explicit name mapping.
-
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
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
-