MrgMyisam
class MrgMyisam extends Merge (View source)
The MERGE storage engine
Constants
| protected SUPPORT_NO | 
 | 
| protected SUPPORT_DISABLED | 
 | 
| protected SUPPORT_YES | 
 | 
| protected SUPPORT_DEFAULT | 
 | 
| protected DETAILS_TYPE_PLAINTEXT | 
 | 
| protected DETAILS_TYPE_SIZE | 
 | 
| protected DETAILS_TYPE_NUMERIC | 
 | 
| protected DETAILS_TYPE_BOOLEAN | 
 | 
Properties
| string | $engine | from StorageEngine | |
| string | $title | from StorageEngine | |
| string | $comment | from StorageEngine | |
| int | $support | Engine supported by current server. | from StorageEngine | 
Methods
Get the lengths of a table of database
Loads the corresponding engine plugin, if available.
Returns true if given engine name is supported/valid, otherwise false
Returns the engine specific handling for DETAILS_TYPE_SIZE type variables.
Returns array with detailed info about engine specific server variables
Information message on whether this storage engine is supported
Generates a list of MySQL variables that provide information about this engine. This function should be overridden when extending this class for a particular engine.
returns string with filename for the MySQL helppage about this storage engine
Returns the pattern to be used in the query for SQL variables related to the storage engine
Details
        
                            
    __construct(string $engine)
        
    
    No description
        
                static            array
    getStorageEngines()
        
    
    Returns array of storage engines
        
                static            bool
    hasMroongaEngine()
        
    
    Returns if Mroonga is available to be used
This is public to be used in the StructureComtroller, the first release of this function was looking Mroonga in the engines list but this second method checks too that mroonga is installed successfully
        
                static            array
    getMroongaLengths(string $dbName, string $tableName)
        
    
    Get the lengths of a table of database
        
                static            array
    getArray()
        
    
    No description
        
                static            StorageEngine
    getEngine(string $engine)
        
    
    Loads the corresponding engine plugin, if available.
        
                static            bool
    isValid(string $engine)
        
    
    Returns true if given engine name is supported/valid, otherwise false
        
                            string
    getHtmlVariables()
        
    
    Returns as HTML table of the engine's server variables
        
                            array
    resolveTypeSize(int|string $value)
        
    
    Returns the engine specific handling for DETAILS_TYPE_SIZE type variables.
This function should be overridden when DETAILS_TYPE_SIZE type needs to be handled differently for a particular engine.
        
                            array
    getVariablesStatus()
        
    
    Returns array with detailed info about engine specific server variables
        
                            string
    getTitle()
        
    
    Reveals the engine's title
        
                            string
    getComment()
        
    
    Fetches the server's comment about this engine
        
                            string
    getSupportInformationMessage()
        
    
    Information message on whether this storage engine is supported
        
                            array
    getVariables()
        
    
    Generates a list of MySQL variables that provide information about this engine. This function should be overridden when extending this class for a particular engine.
        
                            string
    getMysqlHelpPage()
        
    
    returns string with filename for the MySQL helppage about this storage engine
        
                            string
    getVariablesLikePattern()
        
    
    Returns the pattern to be used in the query for SQL variables related to the storage engine
        
                            array
    getInfoPages()
        
    
    Returns a list of available information pages with labels
        
                            string
    getPage(string $id)
        
    
    Generates the requested information page