Class ExportTableInfo
java.lang.Object
org.ametys.plugins.contentio.export.sql.ExportTableInfo
ExportTableInfo object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addCommentQuery
(String query) Add a queryvoid
addCreateQuery
(String query) Add a queryvoid
addInsertQuery
(String query) Add a queryGet the list of queriesGet the list of queriesGet the list of queriesint
Get the number of columns of the tableGet the table namevoid
Increment the number of columnsvoid
incrementNbColumns
(int nb) Increment the number of columns by nb
-
Constructor Details
-
ExportTableInfo
The constructor- Parameters:
name
- the table name
-
-
Method Details
-
getTableName
Get the table name- Returns:
- the table name
-
getNbColumns
Get the number of columns of the table- Returns:
- the number of columns of the table
-
incrementNbColumns
Increment the number of columns -
incrementNbColumns
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
Add a query- Parameters:
query
- the query to add
-
getCommentQueries
Get the list of queries- Returns:
- the list of queries
-
addCommentQuery
Add a query- Parameters:
query
- the query to add
-
getInsertQueries
Get the list of queries- Returns:
- the list of queries
-
addInsertQuery
Add a query- Parameters:
query
- the query to add
-