public class AttributeSemantics extends java.lang.Object implements SemanticChecks
INFO Performance und Speicherverbrauch kann verbessert werden, wenn überprüft wird, welcher Bereich zuerst kommt.
| Modifier and Type | Field and Description |
|---|---|
private java.util.HashMap<RealAttributeDescription,RealAttributeDescription> |
_aggregationInformation
Enthält reale Attribute, zu denen Aggregationsinformationen abgelegt wurden.
|
private int |
_attributeCount
Zähler der angibt, wieviele reale Attribute und temporäre Attribute, die auf ein reales Attribut verweisen im Bereich Spalten definiert wurden.
|
private java.util.ArrayList<RealAttributeDescription> |
_attributeInformation
Enthält reale Attribute, aus dem Spalten-Bereich oder aus Ausdrücken.
|
| Constructor and Description |
|---|
AttributeSemantics()
Konstruktor
|
| Modifier and Type | Method and Description |
|---|---|
void |
cleanUp(ProcessingParameter pp,
boolean processScript)
Führt abschließende Semantische Überprüfungen durch.
|
void |
incAttributeCount()
Erhöht den Attributzähler.
|
RealAttributeDescription[] |
storeAggregationInformation(RealAttributeDescription[] attributes)
Hinterlegt Aggregationsinformationen für die Attribute.
|
RealAttributeDescription[] |
storeAttributeInformation(RealAttributeDescription[] attributes)
Hinterlegt Attributsbeschreibungen.
|
private int _attributeCount
private final java.util.HashMap<RealAttributeDescription,RealAttributeDescription> _aggregationInformation
private final java.util.ArrayList<RealAttributeDescription> _attributeInformation
public RealAttributeDescription[] storeAggregationInformation(RealAttributeDescription[] attributes) throws SemanticErrorException
attributes - Attributbeschreibungen mit Aggregationsinformationen.SemanticErrorException - Falls zu einem Attribut unterschiedliche Aggregationsinformationen hinterlegt wreden.storeAttributeInformation(RealAttributeDescription[])public RealAttributeDescription[] storeAttributeInformation(RealAttributeDescription[] attributes)
attributes - AttributbeschreibungenstoreAggregationInformation(RealAttributeDescription[])public void incAttributeCount()
public void cleanUp(ProcessingParameter pp, boolean processScript) throws SemanticErrorException
cleanUp in interface SemanticCheckspp - Wird nicht berücksichtigtprocessScript - Keine BedeutungSemanticErrorException - Es wird kein reales Attribut verwendet.