Class CreateTemporaryTableBuilder<TABLE_BUILDER extends CreateTemporaryTableBuilder>

Type Parameters:
TABLE_BUILDER - the generic type
All Implemented Interfaces:
ISqlBuilder, ISqlKeywords

public class CreateTemporaryTableBuilder<TABLE_BUILDER extends CreateTemporaryTableBuilder> extends AbstractTableBuilder<TABLE_BUILDER>
The Class CreateTemporaryTableBuilder.
  • Field Details

    • likeTable

      protected String likeTable
      The like table.
    • asSelectQuery

      protected String asSelectQuery
      The as select query.
    • selectWithNoData

      protected boolean selectWithNoData
      The select with no data.
  • Constructor Details

    • CreateTemporaryTableBuilder

      public CreateTemporaryTableBuilder(ISqlDialect dialect, String table)
      Instantiates a new abstract sql builder.
      Parameters:
      dialect - the dialect
      table - the table
  • Method Details

    • generate

      public String generate()
      Generate.
      Returns:
      the string
    • setLikeTable

      public CreateTemporaryTableBuilder<TABLE_BUILDER> setLikeTable(String likeTable)
      Sets the like table.
      Parameters:
      likeTable - the like table
      Returns:
      the creates the temporary table builder
    • setAsSelectQuery

      public CreateTemporaryTableBuilder<TABLE_BUILDER> setAsSelectQuery(String asSelectQuery)
      Sets the as select query.
      Parameters:
      asSelectQuery - the as select query
      Returns:
      the creates the temporary table builder
    • setSelectWithNoData

      public CreateTemporaryTableBuilder<TABLE_BUILDER> setSelectWithNoData(boolean selectWithNoData)
      Sets the select with no data.
      Parameters:
      selectWithNoData - the select with no data
      Returns:
      the creates the temporary table builder