Package tools.refinery.store.query.view
Class TuplePreservingView<T>
java.lang.Object
tools.refinery.store.query.view.SymbolView<T>
tools.refinery.store.query.view.TuplePreservingView<T>
- All Implemented Interfaces:
Constraint
,AnySymbolView
- Direct Known Subclasses:
FilteredView
,ForbiddenView
,KeyOnlyView
,MayView
,MustView
-
Constructor Summary
ModifierConstructorDescriptionprotected
TuplePreservingView
(Symbol<T> symbol) protected
TuplePreservingView
(Symbol<T> symbol, String name) -
Method Summary
Modifier and TypeMethodDescriptionboolean
canIndexSlot
(int slot) boolean
Object[]
forwardMap
(Tuple key) Object[]
forwardMap
(Tuple key, T value) boolean
getAdjacent
(Model model, int slot, Object value) int
hashCode()
Methods inherited from class tools.refinery.store.query.view.SymbolView
doFilter, 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.store.query.view.AnySymbolView
getFunctionalDependencies, getImpliedRelationViews
Methods inherited from interface tools.refinery.logic.Constraint
aggregateBy, aggregateBy, arity, call, call, call, callTransitive, count, count, equals, getReduction, invalidIndex, leftJoinBy, leftJoinBy
-
Constructor Details
-
TuplePreservingView
-
TuplePreservingView
-
-
Method Details
-
forwardMap
-
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>
-