com.metamatrix.query.resolver.util
Class AccessPattern
java.lang.Object
com.metamatrix.query.resolver.util.AccessPattern
- All Implemented Interfaces:
- java.lang.Cloneable, java.lang.Comparable<AccessPattern>
public class AccessPattern
- extends java.lang.Object
- implements java.lang.Comparable<AccessPattern>, java.lang.Cloneable
This class represents both virtual and physical access patterns.
If a virtual access pattern is initially unsatisfied, it may be
transformed by RuleMergeVirtual. In this case, the history of the
access pattern will contain its previous definitions.
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AccessPattern
public AccessPattern(java.util.Collection<ElementSymbol> elements)
getCurrentElements
public java.util.Collection<ElementSymbol> getCurrentElements()
addElementHistory
public void addElementHistory(java.util.Collection<ElementSymbol> elements)
getHistory
public java.util.LinkedList<java.util.Collection<ElementSymbol>> getHistory()
- Returns:
- Returns the history.
getUnsatisfied
public java.util.Set<ElementSymbol> getUnsatisfied()
- Returns:
- Returns the unsatisfied.
setUnsatisfied
public void setUnsatisfied(java.util.Set<ElementSymbol> unstaisfied)
- Parameters:
unstaisfied - The unsatisfied to set.
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
- See Also:
Object.toString()
compareTo
public int compareTo(AccessPattern other)
- Specified by:
compareTo in interface java.lang.Comparable<AccessPattern>
clone
public java.lang.Object clone()
- Overrides:
clone in class java.lang.Object
- See Also:
Object.clone()
Copyright © 2009. All Rights Reserved.