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. 018 * 019 * @return The list of SQL table transform statements to execute, 020 * {@code null} if none. 021 */ 022 List<String> getTransformTableStatements(final List<String> columnNames); 023}