Class CreateTableIndexBuilder

All Implemented Interfaces:
ISqlBuilder, ISqlKeywords

public class CreateTableIndexBuilder extends AbstractCreateTableConstraintBuilder<CreateTableIndexBuilder>
The Class CreateTableIndexBuilder.
  • Constructor Details

    • CreateTableIndexBuilder

      public CreateTableIndexBuilder(ISqlDialect dialect, String name)
      Instantiates a new abstract create table constraint builder.
      Parameters:
      dialect - the dialect
      name - the name
  • Method Details

    • getIndexType

      public String getIndexType()
      Gets the index type.
      Returns:
      the index type
    • getOrder

      public String getOrder()
      Gets the order.
      Returns:
      the order
    • isUnique

      public Boolean isUnique()
      Checks if is unique.
      Returns:
      the boolean
    • setIndexType

      public void setIndexType(String indexType)
      Sets the index type.
      Parameters:
      indexType - the new index type
    • setOrder

      public void setOrder(String order)
      Sets the order.
      Parameters:
      order - the new order
    • setUnique

      public void setUnique(Boolean unique)
      Sets the unique.
      Parameters:
      unique - the new unique