001package com.nimbusds.infinispan.persistence.sql; 002 003 004import java.util.List; 005 006 007/** 008 * Interface for transforming an SQL table. Intended to facilitate table add, 009 * modify and drop column changes. 010 */ 011public interface SQLTableTransformer { 012 013 014 /** 015 * Returns a list of SQL table transform statements. 016 * 017 * @param columnNames The current table column names, normalised to 018 * lowercase. 019 * 020 * @return The list of SQL table transform statements to execute, 021 * {@code null} if none. 022 */ 023 List<String> getTransformTableStatements(final List<String> columnNames); 024}