public enum EMFQueryMetaContext extends java.lang.Enum<EMFQueryMetaContext> implements IQueryMetaContext
TODO generics? TODO TODO no subtyping between EDataTypes? no EDataTypes metainfo at all?
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
void |
ensureValidKey(IInputKey key) |
org.eclipse.emf.ecore.EReference |
featureOpposite(org.eclipse.emf.ecore.EStructuralFeature typeObject) |
org.eclipse.emf.ecore.EClass |
featureSourceType(org.eclipse.emf.ecore.EStructuralFeature feature) |
org.eclipse.emf.ecore.EClassifier |
featureTargetType(org.eclipse.emf.ecore.EStructuralFeature typeObject) |
java.util.Map<java.util.Set<java.lang.Integer>,java.util.Set<java.lang.Integer>> |
getFunctionalDependencies(IInputKey key)
Returns functional dependencies of the input key expressed in terms of column indices.
|
java.util.Collection<InputKeyImplication> |
getImplications(IInputKey implyingKey)
Returns known implications, e.g.
|
void |
illegalInputKey(IInputKey key) |
boolean |
isEnumerable(IInputKey key)
Returns true iff instance tuples of the given key can be enumerated.
|
boolean |
isFeatureMultiplicityOneTo(org.eclipse.emf.ecore.EStructuralFeature typeObject) |
boolean |
isFeatureMultiplicityToOne(org.eclipse.emf.ecore.EStructuralFeature feature) |
boolean |
isStateless(IInputKey key)
Returns true iff the set of instance tuples of the given key is immutable.
|
static EMFQueryMetaContext |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EMFQueryMetaContext[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EMFQueryMetaContext INSTANCE
public static EMFQueryMetaContext[] values()
for (EMFQueryMetaContext c : EMFQueryMetaContext.values()) System.out.println(c);
public static EMFQueryMetaContext valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean isEnumerable(IInputKey key)
IQueryMetaContext
If false, the runtime can only test tuple membership in the extensional relation identified by the key, but not enumerate member tuples in general.
Equivalent to IInputKey.isEnumerable()
.
isEnumerable
in interface IQueryMetaContext
public boolean isStateless(IInputKey key)
IQueryMetaContext
If false, the runtime provides notifications upon change.
isStateless
in interface IQueryMetaContext
public java.util.Map<java.util.Set<java.lang.Integer>,java.util.Set<java.lang.Integer>> getFunctionalDependencies(IInputKey key)
IQueryMetaContext
Each entry of the map is a functional dependency rule, where the entry key specifies source columns and the entry value specifies target columns.
getFunctionalDependencies
in interface IQueryMetaContext
public java.util.Collection<InputKeyImplication> getImplications(IInputKey implyingKey)
IQueryMetaContext
Note that for the obvious reasons, only enumerable keys can imply enumerable keys.
getImplications
in interface IQueryMetaContext
public void ensureValidKey(IInputKey key)
public void illegalInputKey(IInputKey key)
public boolean isFeatureMultiplicityToOne(org.eclipse.emf.ecore.EStructuralFeature feature)
public boolean isFeatureMultiplicityOneTo(org.eclipse.emf.ecore.EStructuralFeature typeObject)
public org.eclipse.emf.ecore.EClass featureSourceType(org.eclipse.emf.ecore.EStructuralFeature feature)
public org.eclipse.emf.ecore.EClassifier featureTargetType(org.eclipse.emf.ecore.EStructuralFeature typeObject)
public org.eclipse.emf.ecore.EReference featureOpposite(org.eclipse.emf.ecore.EStructuralFeature typeObject)