Class CreateIndex.Builder

  • Enclosing class:
    CreateIndex

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

      • Builder

        public Builder()
    • Method Detail

      • setSchemaName

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

        public CreateIndex.Builder setTableName​(java.lang.String tableName)
        Parameters:
        tableName - the tableName to set
      • setIndexName

        public CreateIndex.Builder setIndexName​(java.lang.String indexName)
        Parameters:
        indexName - the indexName to set
      • setVersionTrackingName

        public CreateIndex.Builder setVersionTrackingName​(java.lang.String name)
      • setDistributionColumnName

        public CreateIndex.Builder setDistributionColumnName​(java.lang.String distributionColumnName)
        Setter for distributionColumnName
        Parameters:
        distributionColumnName -
        Returns:
      • 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​(java.lang.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: