Interface DataSourceToIndexFieldMapping.Builder

    • Method Detail

      • dataSourceFieldName

        DataSourceToIndexFieldMapping.Builder dataSourceFieldName​(String dataSourceFieldName)

        The name of the field in the data source. You must first create the index field using the UpdateIndex API.

        Parameters:
        dataSourceFieldName - The name of the field in the data source. You must first create the index field using the UpdateIndex API.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dateFieldFormat

        DataSourceToIndexFieldMapping.Builder dateFieldFormat​(String dateFieldFormat)

        The format for date fields in the data source. If the field specified in DataSourceFieldName is a date field, you must specify the date format. If the field is not a date field, an exception is thrown.

        Parameters:
        dateFieldFormat - The format for date fields in the data source. If the field specified in DataSourceFieldName is a date field, you must specify the date format. If the field is not a date field, an exception is thrown.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • indexFieldName

        DataSourceToIndexFieldMapping.Builder indexFieldName​(String indexFieldName)

        The name of the index field to map to the data source field. The index field type must match the data source field type.

        Parameters:
        indexFieldName - The name of the index field to map to the data source field. The index field type must match the data source field type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.