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 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 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: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
Description copied from class:InnerFieldsFromSourceSectionFinderCollects alias ofQuerySchemaSource- Overrides:
collectSourceAliasin classInnerFieldsFromSourceSectionFinder- Parameters:
source-QuerySchemaSourcefor getting alias, can't benull- Returns:
- collection of alias, never
null
-