public interface IInputKey
The input key, at the very minimum, is associated with an arity (number of columns), a user-friendly name, and a string identifier (for distributive purposes).
The input key itself must be an immutable data object that properly overrides equals() and hashCode(). It must be instantiable without using the query context object, so that query specifications may construct the appropriate PQueries.
Modifier and Type | Method and Description |
---|---|
int |
getArity()
The width of tuples in this relation.
|
java.lang.String |
getPrettyPrintableName()
A user-friendly name that can be shown on screen for degug purposes, included in exceptions, etc.
|
java.lang.String |
getStringID()
An internal string identifier that can be used to uniquely identify to input key (relevant for distributed applications).
|
boolean |
isEnumerable()
Returns true iff instance tuples of the key can be enumerated.
|
java.lang.String getPrettyPrintableName()
java.lang.String getStringID()
int getArity()
boolean isEnumerable()
If false, the runtime can only test tuple membership in the extensional relation identified by the key, but not enumerate member tuples in general.