Class ExportTableInfo

java.lang.Object
org.ametys.plugins.contentio.export.sql.ExportTableInfo

public class ExportTableInfo extends Object
ExportTableInfo object
  • Constructor Details

    • ExportTableInfo

      public ExportTableInfo(String name)
      The constructor
      Parameters:
      name - the table name
  • Method Details

    • getTableName

      public String getTableName()
      Get the table name
      Returns:
      the table name
    • getNbColumns

      public int getNbColumns()
      Get the number of columns of the table
      Returns:
      the number of columns of the table
    • incrementNbColumns

      public void incrementNbColumns()
      Increment the number of columns
    • incrementNbColumns

      public void incrementNbColumns(int nb)
      Increment the number of columns by nb
      Parameters:
      nb - the nb to add
    • getCreateQueries

      Get the list of queries
      Returns:
      the list of queries
    • addCreateQuery

      public void addCreateQuery(String query)
      Add a query
      Parameters:
      query - the query to add
    • getCommentQueries

      Get the list of queries
      Returns:
      the list of queries
    • addCommentQuery

      public void addCommentQuery(String query)
      Add a query
      Parameters:
      query - the query to add
    • getInsertQueries

      Get the list of queries
      Returns:
      the list of queries
    • addInsertQuery

      public void addInsertQuery(String query)
      Add a query
      Parameters:
      query - the query to add