Interface ColumnConfiguration.Builder

    • Method Detail

      • documentIdColumnName

        ColumnConfiguration.Builder documentIdColumnName​(String documentIdColumnName)

        The column that provides the document's identifier.

        Parameters:
        documentIdColumnName - The column that provides the document's identifier.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • documentDataColumnName

        ColumnConfiguration.Builder documentDataColumnName​(String documentDataColumnName)

        The column that contains the contents of the document.

        Parameters:
        documentDataColumnName - The column that contains the contents of the document.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • documentTitleColumnName

        ColumnConfiguration.Builder documentTitleColumnName​(String documentTitleColumnName)

        The column that contains the title of the document.

        Parameters:
        documentTitleColumnName - The column that contains the title of the document.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • fieldMappings

        ColumnConfiguration.Builder fieldMappings​(Collection<DataSourceToIndexFieldMapping> fieldMappings)

        An array of objects that map database column names to the corresponding fields in an index. You must first create the fields in the index using the UpdateIndex API.

        Parameters:
        fieldMappings - An array of objects that map database column names to the corresponding fields in an index. You must first create the fields in the index using the UpdateIndex API.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • fieldMappings

        ColumnConfiguration.Builder fieldMappings​(DataSourceToIndexFieldMapping... fieldMappings)

        An array of objects that map database column names to the corresponding fields in an index. You must first create the fields in the index using the UpdateIndex API.

        Parameters:
        fieldMappings - An array of objects that map database column names to the corresponding fields in an index. You must first create the fields in the index using the UpdateIndex API.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • changeDetectingColumns

        ColumnConfiguration.Builder changeDetectingColumns​(Collection<String> changeDetectingColumns)

        One to five columns that indicate when a document in the database has changed.

        Parameters:
        changeDetectingColumns - One to five columns that indicate when a document in the database has changed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • changeDetectingColumns

        ColumnConfiguration.Builder changeDetectingColumns​(String... changeDetectingColumns)

        One to five columns that indicate when a document in the database has changed.

        Parameters:
        changeDetectingColumns - One to five columns that indicate when a document in the database has changed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.