All Data Structures Functions Variables Pages
Public Member Functions | Protected Member Functions
ReadOptimizationModelWhereAndJoinBuilder Class Reference
Inheritance diagram for ReadOptimizationModelWhereAndJoinBuilder:
ModelWhereAndJoinBuilder ModelJoinBuilder

Public Member Functions

 __construct (ReadOptimizationDerivedAttributeToDataProviderAdapter $modelAttributeToDataProviderAdapter, RedBeanModelJoinTablesQueryAdapter $joinTablesAdapter)
 
 resolveJoinsAndBuildWhere ($operatorType, $value, &$clausePosition, &$where, $onTableAliasName=null, $resolveAsSubquery=false)
 
- Public Member Functions inherited from ModelWhereAndJoinBuilder
 __construct (RedBeanModelAttributeToDataProviderAdapter $modelAttributeToDataProviderAdapter, RedBeanModelJoinTablesQueryAdapter $joinTablesAdapter, $setDistinct=false, $wherePartColumnModifierType=null)
 
 resolveJoinsAndBuildWhere ($operatorType, $value, &$clausePosition, &$where, $onTableAliasName=null, $resolveAsSubquery=false)
 
- Public Member Functions inherited from ModelJoinBuilder
 __construct (RedBeanModelAttributeToDataProviderAdapter $modelAttributeToDataProviderAdapter, RedBeanModelJoinTablesQueryAdapter $joinTablesAdapter, $setDistinct=false)
 
 getTableAliasNameForBaseModel ()
 
 getTableAliasNameForRelatedModel ()
 
 resolveJoins ($onTableAliasName=null, $canUseFromJoins=true)
 
 resolveOnlyAttributeJoins ($onTableAliasName=null, $canUseFromJoins=true)
 
 resolveOnTableAliasName ($onTableAliasName=null)
 

Protected Member Functions

 addReadOptimizationWhereClause (&$where, $whereKey, $tableAliasName)
 
- Protected Member Functions inherited from ModelWhereAndJoinBuilder
 buildJoinAndWhereForRelatedAttribute ($operatorType, $value, $whereKey, &$where, $onTableAliasName=null, $resolveAsSubquery=false)
 
 resolveRelationAttributeTableAliasNameForResolveSubquery ($onTableAliasName, $resolveAsSubquery=false)
 
 resolveRelationAttributeTableAliasNameForResolveSubqueryAsTrue ($onTableAliasName)
 
 buildWhereForRelatedAttributeThatIsItselfAHasManyRelation ($onTableAliasName, $operatorType, $value, &$where, $whereKey)
 
 resolveJoinsForRelatedId ($onTableAliasName=null)
 
 addWherePartByClauseInformation ($operatorType, $value, &$where, $whereKey, $tableAliasName, $columnName)
 
 resolveWhereColumnContentForModifier ($tableAliasName, $columnName)
 
 resolveLeftJoinsForARelationAttribute ($onTableAliasName)
 
 resolveTimeZoneAdjustmentForACalculatedDateTimeModifier ()
 
- Protected Member Functions inherited from ModelJoinBuilder
 resolveJoinsForAttribute ($onTableAliasName, $canUseFromJoins=true)
 
 resolveJoinsForDerivedRelationViaCastedUpModel ($onTableAliasName, $canUseFromJoins=true)
 
 resolveJoinsForDerivedRelationViaCastedUpModelThatIsCastedUp ($onTableAliasName, $canUseFromJoins=true)
 
 resolveJoinsForDerivedRelationViaCastedUpModelThatIsManyToMany ($onTableAliasName)
 
 resolveJoinsForInferredRelation ($onTableAliasName, $canUseFromJoins=true)
 
 resolveJoinsForInferredRelationThatIsCastedUp ($onTableAliasName, $canUseFromJoins=true)
 
 resolveAttributeModelClassNameWithCastingHintForCastingDown ($attributeModelClassName)
 
 resolveJoinsForAttributeOnDifferentModel ($onTableAliasName, $canUseFromJoins=true)
 
 resolveJoinsForAttributeOnSameModelThatIsARelation ($onTableAliasName)
 
 resolveJoinsForAttributeOnSameModelThatIsNotARelation ($onTableAliasName)
 
 resolveJoinsForAttributeOnDifferentModelThatIsARelation ($onTableAliasName, $canUseFromJoins=true)
 
 resolveLeftJoinsForARelationAttribute ($onTableAliasName)
 
 resolveJoinsForAttributeOnDifferentModelThatIsNotARelation ($onTableAliasName, $canUseFromJoins=true)
 
 addMixedInOrCastedUpFromJoinsForAttribute ($onTableAliasName)
 
 addMixedInOrCastedUpLeftJoinsForAttribute ($onTableAliasName)
 
 addFromJoinsForAttributeThatIsMixedIn ($onTableAliasName)
 
 addFromJoinsForAttributeThatIsCastedUp ()
 
 addLeftJoinsForAttributeThatIsMixedIn ($onTableAliasName)
 
 addLeftJoinForMixedInAttribute ($onTableAliasName, $attributeTableName)
 
 addLeftJoinsForAttributeThatIsCastedUp ($onTableAliasName)
 
 addLeftJoinsForARelationAttribute ($onTableAliasName)
 
 resolveSettingDistinctForARelationAttributeThatIsHasMany ()
 
 resolveSetToDistinct ()
 
 resolveJoinsForForARelationAttributeThatIsManyToMany ($onTableAliasName)
 
 resolveJoinsForForARelationAttributeThatIsAHasManyVariant ($onTableAliasName)
 
 resolveJoinsForForARelationAttributeThatIsAHasOne ($onTableAliasName)
 
 resolveAndProcessLeftJoinsForAttributeThatIsCastedDownOrUp ($modelClassName, $castedDownModelClassName, $onTableAliasName)
 
 processLeftJoinsForAttributeThatIsCastedDown ($modelClassName, $castedDownModelClassName, $onTableAliasName)
 
 resolveModelDerivationPathToItemForCastingDown ($modelClassName, $castedDownModelClassName)
 

Additional Inherited Members

- Static Public Member Functions inherited from ModelJoinBuilder
static makeColumnNameWithTableAlias ($tableAliasName, $columnName)
 
- Static Protected Member Functions inherited from ModelJoinBuilder
static resolveForeignKey ($idName)
 
static resolveModelClassNameThatCanHaveTable ($modelClassName, $castedDownModelClassName)
 
- Protected Attributes inherited from ModelWhereAndJoinBuilder
 $wherePartColumnModifierType
 
- Protected Attributes inherited from ModelJoinBuilder
 $modelAttributeToDataProviderAdapter
 
 $joinTablesAdapter
 
 $setDistinct
 
 $resolvedOnTableAliasName
 
 $tableAliasNameForBaseModel
 
 $tableAliasNameForRelatedModel
 

Detailed Description

Special Builder for handling read optimization where clause when this is a sub-select clause.

Definition at line 40 of file ReadOptimizationModelWhereAndJoinBuilder.php.

Constructor & Destructor Documentation

__construct ( ReadOptimizationDerivedAttributeToDataProviderAdapter  $modelAttributeToDataProviderAdapter,
RedBeanModelJoinTablesQueryAdapter  $joinTablesAdapter 
)
Parameters
ReadOptimizationDerivedAttributeToDataProviderAdapter$modelAttributeToDataProviderAdapter
RedBeanModelJoinTablesQueryAdapter$joinTablesAdapter

Definition at line 46 of file ReadOptimizationModelWhereAndJoinBuilder.php.

Member Function Documentation

resolveJoinsAndBuildWhere (   $operatorType,
  $value,
$clausePosition,
$where,
  $onTableAliasName = null,
  $resolveAsSubquery = false 
)
Parameters
$operatorType
$value
$clausePosition
$where
null$onTableAliasName
bool$resolveAsSubquery

Definition at line 62 of file ReadOptimizationModelWhereAndJoinBuilder.php.


The documentation for this class was generated from the following file:
Generated on Mon Jan 27 2020 07:10:47