-
Notifications
You must be signed in to change notification settings - Fork 319
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
85 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
...ain/java/com/datastrato/gravitino/spark/connector/iceberg/IcebergPropertiesConstants.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
/* | ||
* Copyright 2024 Datastrato Pvt Ltd. | ||
* This software is licensed under the Apache License version 2. | ||
*/ | ||
|
||
package com.datastrato.gravitino.spark.connector.iceberg; | ||
|
||
import com.google.common.annotations.VisibleForTesting; | ||
|
||
public class IcebergPropertiesConstants { | ||
|
||
@VisibleForTesting | ||
public static final String LAKEHOUSE_ICEBERG_CATALOG_BACKEND = | ||
IcebergCatalogPropertiesMetadata.CATALOG_BACKEND; | ||
|
||
@VisibleForTesting | ||
public static final String LAKEHOUSE_ICEBERG_CATALOG_WAREHOUSE = | ||
IcebergCatalogPropertiesMetadata.WAREHOUSE; | ||
|
||
@VisibleForTesting | ||
public static final String LAKEHOUSE_ICEBERG_CATALOG_URI = IcebergCatalogPropertiesMetadata.URI; | ||
|
||
public static final String GRAVITINO_JDBC_USER = | ||
IcebergCatalogPropertiesMetadata.GRAVITINO_JDBC_USER; | ||
public static final String LAKEHOUSE_ICEBERG_CATALOG_JDBC_USER = | ||
IcebergCatalogPropertiesMetadata.ICEBERG_JDBC_USER; | ||
public static final String GRAVITINO_JDBC_PASSWORD = | ||
IcebergCatalogPropertiesMetadata.GRAVITINO_JDBC_PASSWORD; | ||
public static final String LAKEHOUSE_ICEBERG_CATALOG_JDBC_PASSWORD = | ||
IcebergCatalogPropertiesMetadata.ICEBERG_JDBC_PASSWORD; | ||
public static final String LAKEHOUSE_ICEBERG_CATALOG_JDBC_DRIVER = | ||
IcebergCatalogPropertiesMetadata.GRAVITINO_JDBC_DRIVER; | ||
|
||
public static final String LAKEHOUSE_ICEBERG_CATALOG_TYPE = "type"; | ||
public static final String LAKEHOUSE_ICEBERG_CATALOG_BACKEND_HIVE = "hive"; | ||
public static final String LAKEHOUSE_ICEBERG_CATALOG_BACKEND_JDBC = "jdbc"; | ||
|
||
private IcebergPropertiesConstants() {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters