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
public class DcsInnerFieldsFromSourceSectionFinder extends InnerFieldsFromSourceSectionFinder
Implementation ofInnerFieldsFromSourceSectionFinderfor Dcs
-
-
Field Summary
-
Fields inherited from class com._1c.g5.v8.dt.ql.scoping.InnerFieldsFromSourceSectionFinder
dbViewFieldComputer, qualifiedNameConverter
-
-
Constructor Summary
Constructors Constructor Description DcsInnerFieldsFromSourceSectionFinder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <T> Collection<T>collectItems(QuerySchemaSource source, com.google.common.base.Function<DbViewElement,T> func)Collects items fromQuerySchemaSourceand transform it to typeTprotected Collection<CaseInsensitiveString>collectSourceAlias(QuerySchemaSource source)Collects alias ofQuerySchemaSourceCollection<org.eclipse.xtext.resource.IEObjectDescription>getTableParameterFields(org.eclipse.emf.ecore.EObject context)Gets descriptions of all fields for parameter of source table-
Methods inherited from class com._1c.g5.v8.dt.ql.scoping.InnerFieldsFromSourceSectionFinder
createEObjectDescriptionByField, getInnerFieldsDescription, getInnerFieldsDescription, getSourceAlias, isAmbiguousField, isInnerField
-
-
-
-
Method Detail
-
collectItems
protected <T> Collection<T> collectItems(QuerySchemaSource source, com.google.common.base.Function<DbViewElement,T> func)
Description copied from class:InnerFieldsFromSourceSectionFinderCollects items fromQuerySchemaSourceand transform it to typeT- Overrides:
collectItemsin classInnerFieldsFromSourceSectionFinder- Parameters:
source- actualQuerySchemaSourcefor getting inner elements, can't benullfunc- specialFunctionfor transforming elements to typeT, can't benull- Returns:
- collection of inner
QuerySchemaSourcetransformed byfunc, nevernull
-
getTableParameterFields
public Collection<org.eclipse.xtext.resource.IEObjectDescription> getTableParameterFields(org.eclipse.emf.ecore.EObject context)
Description copied from interface:IInnerFieldsFromSourceSectionFinderGets descriptions of all fields for parameter of source table- Specified by:
getTableParameterFieldsin interfaceIInnerFieldsFromSourceSectionFinder- Overrides:
getTableParameterFieldsin classInnerFieldsFromSourceSectionFinder- Parameters:
context- context object from parameter of source table, each parameter has own set of allowed fields, cannot benull- Returns:
- collection of the
IEObjectDescriptionfields for parameter of source table, nevernull
-
collectSourceAlias
protected Collection<CaseInsensitiveString> collectSourceAlias(QuerySchemaSource source)
Description copied from class:InnerFieldsFromSourceSectionFinderCollects alias ofQuerySchemaSource- Overrides:
collectSourceAliasin classInnerFieldsFromSourceSectionFinder- Parameters:
source-QuerySchemaSourcefor getting alias, can't benull- Returns:
- collection of alias, never
null
-
-