Semantic MediaWiki and related extensions
Public Member Functions | List of all members
SMW\SQLStore\QueryEngine\HierarchyTempTableBuilder Class Reference

Public Member Functions

 __construct (Database $connection, TemporaryTableBuilder $temporaryTableBuilder)
 
 emptyHierarchyCache ()
 
 getHierarchyCache ()
 
 setPropertyHierarchyTableDefinition ($table, $depth)
 
 setClassHierarchyTableDefinition ($table, $depth)
 
 getHierarchyTableDefinitionForType ($type)
 
 createHierarchyTempTableFor ($type, $tablename, $valueComposite)
 

Detailed Description

GNU GPL v2+

Since
2.3
Author
Markus Krötzsch
mwjames

Constructor & Destructor Documentation

SMW\SQLStore\QueryEngine\HierarchyTempTableBuilder::__construct ( Database  $connection,
TemporaryTableBuilder  $temporaryTableBuilder 
)
Since
2.3
Parameters
Database$connection
TemporaryTableBuilder$temporaryTableBuilder

Member Function Documentation

SMW\SQLStore\QueryEngine\HierarchyTempTableBuilder::createHierarchyTempTableFor (   $type,
  $tablename,
  $valueComposite 
)
Since
2.3
Parameters
string$type
string$tablename
string$valueComposite
Exceptions
RuntimeException
SMW\SQLStore\QueryEngine\HierarchyTempTableBuilder::emptyHierarchyCache ( )
Since
2.3
SMW\SQLStore\QueryEngine\HierarchyTempTableBuilder::getHierarchyCache ( )
Since
2.3
Returns
array
SMW\SQLStore\QueryEngine\HierarchyTempTableBuilder::getHierarchyTableDefinitionForType (   $type)
Since
2.3
Parameters
string$type
Returns
array
Exceptions
RuntimeException
SMW\SQLStore\QueryEngine\HierarchyTempTableBuilder::setClassHierarchyTableDefinition (   $table,
  $depth 
)
Since
2.3
Parameters
string$table
integer$depth
SMW\SQLStore\QueryEngine\HierarchyTempTableBuilder::setPropertyHierarchyTableDefinition (   $table,
  $depth 
)
Since
2.3
Parameters
string$table
integer$depth

The documentation for this class was generated from the following file: