public final class CqnAnalyzer extends Object
CqnStructuredTypeRef(s) and
CqnStatement(s)| Modifier and Type | Class and Description |
|---|---|
static interface |
CqnAnalyzer.CqnAnalyzerSPI
Service Provider Interface for the
CqnAnalyzer. |
| Modifier and Type | Method and Description |
|---|---|
AnalysisResult |
analyze(CqnDelete delete)
|
AnalysisResult |
analyze(CqnSelect select)
|
AnalysisResult |
analyze(CqnStructuredTypeRef ref)
Analyzes the
Segment(s) of the given
CqnStructuredTypeRef. |
AnalysisResult |
analyze(CqnUpdate update)
|
static CqnAnalyzer |
create(CdsModel model)
Creates an instance of
CqnAnalyzer. |
static CqnAnalyzer |
create(Supplier<CdsModel> modelSupplier)
Creates an instance of
CqnAnalyzer. |
Iterable<ResolvedRefItem> |
resolveRefItems(CqnSelect query) |
public static CqnAnalyzer create(CdsModel model)
CqnAnalyzer.model - the CdsModelCqnAnalyzer instancepublic static CqnAnalyzer create(Supplier<CdsModel> modelSupplier)
CqnAnalyzer.modelSupplier - the CdsModel supplierCqnAnalyzer instancepublic AnalysisResult analyze(CqnStructuredTypeRef ref)
Segment(s) of the given
CqnStructuredTypeRef.ref - the CqnStructuredTypeRef to be analyzedAnalysisResult with information on the segments of the
CqnStructuredTypeRefpublic AnalysisResult analyze(CqnSelect select)
select - the CqnSelect statement to be analyzedAnalysisResult with information on the ref
Segment(s) and where condition of the selectpublic AnalysisResult analyze(CqnUpdate update)
update - the CqnUpdate statement to be analyzedAnalysisResult with information on the ref
Segment(s) and where condition of the updatepublic AnalysisResult analyze(CqnDelete delete)
delete - the CqnDelete statement to be analyzedAnalysisResult with information on the ref
Segment(s) and where condition of the delete@Beta public Iterable<ResolvedRefItem> resolveRefItems(CqnSelect query)
Copyright © 2020 SAP. All rights reserved.