Class SnowflakeCaseInsensitiveResolver
- java.lang.Object
-
- com.amazonaws.athena.connectors.snowflake.SnowflakeCaseInsensitiveResolver
-
public class SnowflakeCaseInsensitiveResolver extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getAdjustedSchemaNameBasedOnConfig(Connection connection, String schemaNameInput, Map<String,String> configOptions)
static TableName
getAdjustedTableObjectNameBasedOnConfig(Connection connection, TableName tableName, Map<String,String> configOptions)
static String
getSchemaNameCaseInsensitively(Connection connection, String schemaNameInput, Map<String,String> configOptions)
static String
getTableNameCaseInsensitively(Connection connection, String schemaName, String tableNameInput, Map<String,String> configOptions)
static TableName
getTableNameFromQueryHint(TableName table)
-
-
-
Method Detail
-
getAdjustedTableObjectNameBasedOnConfig
public static TableName getAdjustedTableObjectNameBasedOnConfig(Connection connection, TableName tableName, Map<String,String> configOptions) throws SQLException
- Throws:
SQLException
-
getAdjustedSchemaNameBasedOnConfig
public static String getAdjustedSchemaNameBasedOnConfig(Connection connection, String schemaNameInput, Map<String,String> configOptions) throws SQLException
- Throws:
SQLException
-
getSchemaNameCaseInsensitively
public static String getSchemaNameCaseInsensitively(Connection connection, String schemaNameInput, Map<String,String> configOptions) throws SQLException
- Throws:
SQLException
-
getTableNameCaseInsensitively
public static String getTableNameCaseInsensitively(Connection connection, String schemaName, String tableNameInput, Map<String,String> configOptions) throws SQLException
- Throws:
SQLException
-
-