Package com._1c.g5.v8.dt.ql.dcs.scoping
Class DcsInnerFieldsFromSourceSectionFinder
java.lang.Object
com._1c.g5.v8.dt.ql.scoping.InnerFieldsFromSourceSectionFinder
com._1c.g5.v8.dt.ql.dcs.scoping.DcsInnerFieldsFromSourceSectionFinder
- All Implemented Interfaces:
IInnerFieldsFromSourceSectionFinder
Implementation of
InnerFieldsFromSourceSectionFinder
for Dcs-
Field Summary
Fields inherited from class com._1c.g5.v8.dt.ql.scoping.InnerFieldsFromSourceSectionFinder
dbViewFieldComputer, qualifiedNameConverter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected <T> Collection<T>
collectItems
(QuerySchemaSource source, com.google.common.base.Function<DbViewElement, T> func) Collects items fromQuerySchemaSource
and transform it to typeT
protected Collection<CaseInsensitiveString>
collectSourceAlias
(QuerySchemaSource source) Collects alias ofQuerySchemaSource
Collection<org.eclipse.xtext.resource.IEObjectDescription>
getTableParameterFields
(org.eclipse.emf.ecore.EObject context) Gets descriptions of all fields for parameter of source tableMethods inherited from class com._1c.g5.v8.dt.ql.scoping.InnerFieldsFromSourceSectionFinder
createEObjectDescriptionByField, getInnerFieldsDescription, getInnerFieldsDescription, getSourceAlias, isAmbiguousField, isInnerField
-
Constructor Details
-
DcsInnerFieldsFromSourceSectionFinder
public DcsInnerFieldsFromSourceSectionFinder()
-
-
Method Details
-
collectItems
protected <T> Collection<T> collectItems(QuerySchemaSource source, com.google.common.base.Function<DbViewElement, T> func) Description copied from class:InnerFieldsFromSourceSectionFinder
Collects items fromQuerySchemaSource
and transform it to typeT
- Overrides:
collectItems
in classInnerFieldsFromSourceSectionFinder
- Parameters:
source
- actualQuerySchemaSource
for getting inner elements, can't benull
func
- specialFunction
for transforming elements to typeT
, can't benull
- Returns:
- collection of inner
QuerySchemaSource
transformed byfunc
, nevernull
-
getTableParameterFields
public Collection<org.eclipse.xtext.resource.IEObjectDescription> getTableParameterFields(org.eclipse.emf.ecore.EObject context) Description copied from interface:IInnerFieldsFromSourceSectionFinder
Gets descriptions of all fields for parameter of source table- Specified by:
getTableParameterFields
in interfaceIInnerFieldsFromSourceSectionFinder
- Overrides:
getTableParameterFields
in classInnerFieldsFromSourceSectionFinder
- Parameters:
context
- context object from parameter of source table, each parameter has own set of allowed fields, cannot benull
- Returns:
- collection of the
IEObjectDescription
fields for parameter of source table, nevernull
-
collectSourceAlias
Description copied from class:InnerFieldsFromSourceSectionFinder
Collects alias ofQuerySchemaSource
- Overrides:
collectSourceAlias
in classInnerFieldsFromSourceSectionFinder
- Parameters:
source
-QuerySchemaSource
for getting alias, can't benull
- Returns:
- collection of alias, never
null
-