Class CreateIndex.Builder

  • Enclosing class:
    CreateIndex

    public static class CreateIndex.Builder
    extends Object
    Builder to implement fluent construction of CreateIndex objects.
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • setSchemaName

        public CreateIndex.Builder setSchemaName​(String schemaName)
        Parameters:
        schemaName - the schemaName to set
      • setVersion

        public CreateIndex.Builder setVersion​(int version)
        Parameters:
        version - the version to set
      • setUnique

        public CreateIndex.Builder setUnique​(boolean unique)
        Parameters:
        unique - the unique to set
      • addColumn

        public CreateIndex.Builder addColumn​(String column)
        Add the named column to the list of columns
        Parameters:
        column -
        Returns:
      • build

        public CreateIndex build()
        Build an instance of CreateIndex using the current state of this Builder.
        Returns:
      • setTenantColumnName

        public CreateIndex.Builder setTenantColumnName​(String name)
        Sets the tenantColumnName property
        Parameters:
        name -
        Returns: