Interface **Phalcon\\Db\\IndexInterface**
=========================================

Phalcon\\Db\\IndexInterface initializer


Methods
---------

abstract public  **__construct** (*string* $indexName, *array* $columns)

Phalcon\\Db\\Index constructor



abstract public *string*  **getName** ()

Gets the index name



abstract public *array*  **getColumns** ()

Gets the columns that comprends the index



abstract public static :doc:`Phalcon\\Db\\IndexInterface <Phalcon_Db_IndexInterface>`  **__set_state** (*array* $data)

Restore a Phalcon\\Db\\Index object from export