Class CreateBranchingBuilder

java.lang.Object
org.eclipse.dirigible.database.sql.builders.AbstractSqlBuilder
org.eclipse.dirigible.database.sql.builders.CreateBranchingBuilder
All Implemented Interfaces:
ISqlBuilder, ISqlKeywords

public class CreateBranchingBuilder extends AbstractSqlBuilder
The Create Branching Builder.
  • Constructor Details

    • CreateBranchingBuilder

      public CreateBranchingBuilder(ISqlDialect dialect)
      Instantiates a new creates the branching builder.
      Parameters:
      dialect - the dialect
  • Method Details

    • table

      public CreateTableBuilder table(String table)
      Table branch.
      Parameters:
      table - the table
      Returns:
      the creates the table builder
    • table

      public CreateTableBuilder table(String table, String tableType)
      Table.
      Parameters:
      table - the table
      tableType - the table type
      Returns:
      the creates the table builder
    • temporaryTable

      public CreateTemporaryTableBuilder temporaryTable(String table)
      Temporary table branch.
      Parameters:
      table - the table
      Returns:
      the creates the table builder
    • view

      public CreateViewBuilder view(String view)
      View branch.
      Parameters:
      view - the view
      Returns:
      the creates the view builder
    • sequence

      public CreateSequenceBuilder sequence(String sequence)
      Sequence branch.
      Parameters:
      sequence - the sequence
      Returns:
      the creates the sequence builder
    • synonym

      public CreateSynonymBuilder synonym(String synonym)
      Synonym branch.
      Parameters:
      synonym - the synonym
      Returns:
      the creates the synonym builder
    • publicSynonym

      public CreateSynonymBuilder publicSynonym(String synonym)
      Public synonym branch.
      Parameters:
      synonym - the synonym
      Returns:
      the creates the synonym builder
    • schema

      public CreateSchemaBuilder schema(String schema)
      Schema branch.
      Parameters:
      schema - the schema
      Returns:
      the creates the schema builder
    • user

      public CreateUserBuilder user(String userId, String password)
      User.
      Parameters:
      userId - the user id
      password - the password
      Returns:
      the creates the user builder
    • tableType

      public CreateTableTypeBuilder tableType(String tableType)
      Table Type branch.
      Parameters:
      tableType - the tableType
      Returns:
      the creates the table type builder
    • generate

      public String generate()
      Generate.
      Returns:
      the string