Package com._1c.g5.v8.dt.ql.scoping
Interface IInnerFieldsFromSourceSectionFinder
-
- All Known Implementing Classes:
DcsInnerFieldsFromSourceSectionFinder
,InnerFieldsFromSourceSectionFinder
public interface IInnerFieldsFromSourceSectionFinder
Special finder for inner fields of tables from source section of the query
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<org.eclipse.xtext.resource.IEObjectDescription>
getInnerFieldsDescription(QuerySchemaOperator operator)
Gets descriptions of all inner fields from source section ofoperator
Collection<org.eclipse.xtext.resource.IEObjectDescription>
getInnerFieldsDescription(org.eclipse.emf.ecore.EObject context, List<QuerySchemaSource> sources)
Gets descriptions of all inner fields from list ofQuerySchemaSource
Collection<CaseInsensitiveString>
getSourceAlias(QuerySchemaOperator operator)
Gets all alias fromQuerySchemaOperator
Collection<org.eclipse.xtext.resource.IEObjectDescription>
getTableParameterFields(org.eclipse.emf.ecore.EObject context)
Gets descriptions of all fields for parameter of source tableboolean
isAmbiguousField(QuerySchemaOperator operator, DbViewElement field)
Checks that source section of theoperator
has another (not equals tofield
) field with the same nameboolean
isInnerField(QuerySchemaOperator operator, DbViewElement field)
Checks that source section of theoperator
has inner field equals tofield
-
-
-
Method Detail
-
getInnerFieldsDescription
Collection<org.eclipse.xtext.resource.IEObjectDescription> getInnerFieldsDescription(org.eclipse.emf.ecore.EObject context, List<QuerySchemaSource> sources)
Gets descriptions of all inner fields from list ofQuerySchemaSource
- Parameters:
context
- abstract object containing list ofQuerySchemaSource
, cannot benull
- Returns:
- collection of the
IEObjectDescription
of inner fields from source section
-
getInnerFieldsDescription
Collection<org.eclipse.xtext.resource.IEObjectDescription> getInnerFieldsDescription(QuerySchemaOperator operator)
Gets descriptions of all inner fields from source section ofoperator
- Parameters:
operator
-QuerySchemaOperator
with source section, cannot benull
- Returns:
- collection of the
IEObjectDescription
of inner fields from source section
-
getTableParameterFields
Collection<org.eclipse.xtext.resource.IEObjectDescription> getTableParameterFields(org.eclipse.emf.ecore.EObject context)
Gets descriptions of all fields for parameter of source table- 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
-
isAmbiguousField
boolean isAmbiguousField(QuerySchemaOperator operator, DbViewElement field)
Checks that source section of theoperator
has another (not equals tofield
) field with the same name- Parameters:
operator
-QuerySchemaOperator
with source section, cannot benull
field
- checking field, cannot benull
- Returns:
true
if source section of theoperator
has another (not equals tofield
) field with the same name,false
otherwise
-
isInnerField
boolean isInnerField(QuerySchemaOperator operator, DbViewElement field)
Checks that source section of theoperator
has inner field equals tofield
- Parameters:
operator
-QuerySchemaOperator
with source section, cannot benull
field
- checking field, cannot benull
- Returns:
true
that source section of theoperator
has inner field equals tofield
,false
otherwise
-
getSourceAlias
Collection<CaseInsensitiveString> getSourceAlias(QuerySchemaOperator operator)
Gets all alias fromQuerySchemaOperator
- Parameters:
operator
-QuerySchemaOperator
for getting alias, cannot benull
- Returns:
- collection of alias from
QuerySchemaOperator
, nevernull
-
-