Class RAExpressionAttributeOccurrences
- java.lang.Object
-
- it.unibz.inf.ontop.spec.sqlparser.RAExpressionAttributeOccurrences
-
public class RAExpressionAttributeOccurrences extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<RelationID>get(QuotedID id)it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<QuotedID>getAttributes()booleanisAbsent(QuotedID attribute)checks if there is an occurrence of the non-qualified attributebooleanisAmbiguous(QuotedID attribute)checks if occurrence of the non-qualified attribute are ambiguous (at least two relations contain the attribute)booleanisUnique(QuotedID attribute)checks if occurrence of the non-qualified attribute is unique (exactly one relation contains the attribute)StringtoString()
-
-
-
Method Detail
-
isAbsent
public boolean isAbsent(QuotedID attribute)
checks if there is an occurrence of the non-qualified attribute- Parameters:
attribute- aQuotedID- Returns:
- true if contains the attribute; otherwise false
-
isAmbiguous
public boolean isAmbiguous(QuotedID attribute)
checks if occurrence of the non-qualified attribute are ambiguous (at least two relations contain the attribute)- Parameters:
attribute- aQuotedID- Returns:
- true if the attribute is ambiguous; otherwise false
-
isUnique
public boolean isUnique(QuotedID attribute)
checks if occurrence of the non-qualified attribute is unique (exactly one relation contains the attribute)- Parameters:
attribute- aQuotedID- Returns:
- true if the attribute is unique; otherwise false
-
getAttributes
public it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<QuotedID> getAttributes()
-
get
public it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<RelationID> get(QuotedID id)
-
-