public function batchReplace($index, $columns, $rows, &$params)
    {
        return $this->generateBatchInsertReplace('REPLACE', $index, $columns, $rows, $params);
    }
public function batchReplace($index, $columns, $rows, &$params)
    {
        return $this->generateBatchInsertReplace('REPLACE', $index, $columns, $rows, $params);
    }
public function batchReplace ( $ index , $ columns , $ rows , & $ params ) { return $ this -> generateBatchInsertReplace ( 'REPLACE' , $ index , $ columns , $ rows , $ params ) ; }
Generates a batch REPLACE SQL statement.
For example,

```php
$sql = $queryBuilder->batchReplace('idx_user', ['id', 'name', 'age'], [
[1, 'Tom', 30],
[2, 'Jane', 20],
[3, 'Linda', 25],
], $params);
```

Note that the values in each row must match the corresponding column names.

@param string $index the index that new rows will be replaced.
@param array $columns the column names
@param array $rows the rows to be batch replaced in the index
@param array $params the binding parameters that will be generated by this method.
They should be bound to the Sphinx command later.
@return string the batch INSERT SQL statement
Generates a batch REPLACE SQL statement . For example