Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@
* @author Christian Tzolov
* @since 1.0.0
*/
public class PgVectorSchemaValidator {
class PgVectorSchemaValidator {

private static final Logger logger = LoggerFactory.getLogger(PgVectorSchemaValidator.class);

private final JdbcTemplate jdbcTemplate;

public PgVectorSchemaValidator(JdbcTemplate jdbcTemplate) {
PgVectorSchemaValidator(JdbcTemplate jdbcTemplate) {
this.jdbcTemplate = jdbcTemplate;
}

Expand All @@ -64,7 +64,7 @@ static boolean isValidNameForDatabaseObject(String name) {

}

public boolean isTableExists(String schemaName, String tableName) {
boolean isTableExists(String schemaName, String tableName) {
String sql = "SELECT 1 FROM information_schema.tables WHERE table_schema = ? AND table_name = ?";
try {
// Query for a single integer value, if it exists, table exists
Expand Down