sphinx\Schema quoteSimpleIndexName()

quoteSimpleIndexName() public method Quotes a index name for use in a query. A simple index name has no schema prefix. public string quoteSimpleIndexName ( $name )$name string Index name return string The properly quoted index name

sphinx\Schema quoteSimpleColumnName()

quoteSimpleColumnName() public method Quotes a column name for use in a query. A simple column name has no prefix. public string quoteSimpleColumnName ( $name )$name string Column name return string The properly quoted column name

sphinx\Schema quoteIndexName()

quoteIndexName() public method Quotes a index name for use in a query. If the index name contains schema prefix, the prefix will also be properly quoted. If the index name is already quoted or contains '(' or '{{', then this method will do nothing. See also \yii\sphinx\quoteSimpleTableName. public string quoteIndexName ( $name )$name string Index name return string The properly quoted index name

sphinx\Schema quoteColumnName()

quoteColumnName() public method Quotes a column name for use in a query. If the column name contains prefix, the prefix will also be properly quoted. If the column name is already quoted or contains '(', '[[' or '{{', then this method will do nothing. See also quoteSimpleColumnName(). public string quoteColumnName ( $name )$name string Column name return string The properly quoted column name

sphinx\Schema loadIndexSchema()

loadIndexSchema() protected method Loads the metadata for the specified index. protected yii\sphinx\IndexSchema|null loadIndexSchema ( $name )$name string Index name return yii\sphinx\IndexSchema|null Driver dependent index metadata. null - if the index does not exist.

sphinx\Schema loadColumnSchema()

loadColumnSchema() protected method Loads the column information into a yii\sphinx\ColumnSchema object. protected yii\sphinx\ColumnSchema loadColumnSchema ( $info )$info array Column information return yii\sphinx\ColumnSchema The column schema object

sphinx\Schema isReadQuery()

isReadQuery() public method Returns a value indicating whether a SQL statement is for read purpose. public boolean isReadQuery ( $sql )$sql string The SQL statement return boolean Whether a SQL statement is for read purpose.

sphinx\Schema initIndexesInfo()

initIndexesInfo() protected method Initializes information about name and type of all index in the Sphinx. protected void initIndexesInfo ( )

sphinx\Schema getRawIndexName()

getRawIndexName() public method Returns the actual name of a given index name. This method will strip off curly brackets from the given index name and replace the percentage character '%' with yii\sphinx\Connection::indexPrefix. public string getRawIndexName ( $name )$name string The index name to be converted return string The real name of the given index name

sphinx\Schema getQueryBuilder()

getQueryBuilder() public method public yii\sphinx\QueryBuilder getQueryBuilder ( )return yii\sphinx\QueryBuilder The query builder for this connection.