Class IcebergUtils
java.lang.Object
org.gridgain.internal.cdc.api.sink.IcebergUtils
TODO: https://ggsystems.atlassian.net/browse/GG-43862
Utility class for working with iceberg properties/types/schema/etc.
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.iceberg.SchemaasIcebergSchema(List<org.apache.ignite.internal.schema.Column> ggColumns) GridGain columns metadata as iceberg schema.static org.apache.hadoop.conf.ConfigurationcombineConfiguration(Map<String, String> properties) Creates new instance with of hadoop configuration with some properties if absent.combineProperties(String location, Map<String, String> properties) Creates new instance of catalog properties and computes new entries if absent.
-
Field Details
-
CLIENT_REGION
- See Also:
-
-
Method Details
-
combineProperties
Creates new instance of catalog properties and computes new entries if absent.- Returns:
- New properties map.
-
combineConfiguration
public static org.apache.hadoop.conf.Configuration combineConfiguration(Map<String, String> properties) Creates new instance with of hadoop configuration with some properties if absent.- Parameters:
properties- Catalog properties.- Returns:
- New hadoop configuration.
-
asIcebergSchema
public static org.apache.iceberg.Schema asIcebergSchema(List<org.apache.ignite.internal.schema.Column> ggColumns) GridGain columns metadata as iceberg schema.
-