Package com._1c.g5.v8.dt.ql.dcs.resource
Class QlDcsDerivedStateComputer
- java.lang.Object
-
- com._1c.g5.v8.dt.ql.resource.QlDerivedStateComputer
-
- com._1c.g5.v8.dt.ql.dcs.resource.QlDcsDerivedStateComputer
-
- All Implemented Interfaces:
org.eclipse.xtext.resource.IDerivedStateComputer
public class QlDcsDerivedStateComputer extends QlDerivedStateComputer
ImplementationIDerivedStateComputer
for QlDcs language- See Also:
QlDerivedStateComputer
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com._1c.g5.v8.dt.ql.resource.QlDerivedStateComputer
QlDerivedStateComputer.GetterObjectByType, QlDerivedStateComputer.NotAllowedNameForTempTableProvider
-
-
Constructor Summary
Constructors Constructor Description QlDcsDerivedStateComputer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
computeDbView(AbstractQuerySchemaQuery query, org.eclipse.xtext.resource.DerivedStateAwareResource resource)
Compute all DbView for one query for Ql.Dcsprotected List<DbViewDef>
createDbViewForEachSource(QuerySchemaSource source, QlDerivedStateComputer.NotAllowedNameForTempTableProvider notAllowedNamesForTempTableProvider, List<DbViewDef> earlierCreatedDbViewSource)
Creates DbView for each source in 'from' sectionprotected void
discardDbViewForEachSource(QuerySchemaSource source)
DiscardsDbView
for each sourceprotected AliasComputer
getAliasComputer()
Getting object for computing alias for Ql.Dcs-
Methods inherited from class com._1c.g5.v8.dt.ql.resource.QlDerivedStateComputer
createDbviewDescriptionTempTable, createDbViewForEachQuery, createProxyForDbView, discardDbViewForEachQuery, discardDerivedState, getAllDbViewNamesWithSinglePart, installDerivedState
-
-
-
-
Method Detail
-
createDbViewForEachSource
protected List<DbViewDef> createDbViewForEachSource(QuerySchemaSource source, QlDerivedStateComputer.NotAllowedNameForTempTableProvider notAllowedNamesForTempTableProvider, List<DbViewDef> earlierCreatedDbViewSource)
Description copied from class:QlDerivedStateComputer
Creates DbView for each source in 'from' section- Overrides:
createDbViewForEachSource
in classQlDerivedStateComputer
- Parameters:
source
-QuerySchemaSource
notAllowedNamesForTempTableProvider
- provider for not allowed names forDbViewDescriptionTempTable
, cannot benull
earlierCreatedDbViewSource
- list of earlier created DbViewDef from source section, can't benull
- Returns:
- list of DbViewDef computed by
QuerySchemaSource
-
computeDbView
protected void computeDbView(AbstractQuerySchemaQuery query, org.eclipse.xtext.resource.DerivedStateAwareResource resource)
Compute all DbView for one query for Ql.Dcs- Overrides:
computeDbView
in classQlDerivedStateComputer
resource
- ql grammarDerivedStateAwareResource
-
getAliasComputer
protected AliasComputer getAliasComputer()
Getting object for computing alias for Ql.Dcs- Overrides:
getAliasComputer
in classQlDerivedStateComputer
- Returns:
- object for computing alias
- See Also:
AliasComputerDcs
-
discardDbViewForEachSource
protected void discardDbViewForEachSource(QuerySchemaSource source)
Description copied from class:QlDerivedStateComputer
DiscardsDbView
for each source- Overrides:
discardDbViewForEachSource
in classQlDerivedStateComputer
- Parameters:
source
-QuerySchemaSource
-
-