use "const TableIndexScheme&" to avoid copying.