(PECL tokyo_tyrant >= Unknown)
TokyoTyrantTable::setIndex — Sets index
Sets an index on a specified column. The index type is one of the TokyoTyrant::RDBIT_* constants
The name of the column
The index type
This method returns the current object and throws TokyoTyrantException on failure.