Package tools.refinery.store.query.view
Class AbstractFunctionView<T>
java.lang.Object
tools.refinery.store.query.view.SymbolView<T>
tools.refinery.store.query.view.AbstractFunctionView<T>
- All Implemented Interfaces:
Constraint
,AnySymbolView
- Direct Known Subclasses:
FunctionView
,NodeFunctionView
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractFunctionView
(Symbol<T> symbol, String name, Parameter outParameter) -
Method Summary
Modifier and TypeMethodDescriptionboolean
canIndexSlot
(int slot) protected boolean
boolean
Object[]
forwardMap
(Tuple key, T value) protected Object
forwardMapValue
(T value) boolean
getAdjacent
(Model model, int slot, Object value) int
hashCode()
protected boolean
valueEquals
(T value, Object otherForwardMappedValue) Methods inherited from class tools.refinery.store.query.view.SymbolView
filter, getAll, getSymbol, getViewName, name, toReferenceString, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface tools.refinery.logic.Constraint
aggregateBy, aggregateBy, arity, call, call, call, callTransitive, count, count, equals, getReduction, invalidIndex, leftJoinBy, leftJoinBy
-
Constructor Details
-
AbstractFunctionView
-
-
Method Details
-
getFunctionalDependencies
-
getImpliedRelationViews
-
doFilter
- Specified by:
doFilter
in classSymbolView<T>
-
forwardMapValue
-
valueEquals
-
forwardMap
- Specified by:
forwardMap
in classSymbolView<T>
-
get
-
canIndexSlot
public boolean canIndexSlot(int slot) -
getAdjacent
-
getParameters
-
equals
- Overrides:
equals
in classSymbolView<T>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classSymbolView<T>
-