orc.ast.sites
Class Site
java.lang.Object
orc.ast.sites.Site
- Direct Known Subclasses:
- JavaSite, OrcSite
public abstract class Site
- extends java.lang.Object
A portable representation of sites. When creating the execution graph,
these are converted to in-memory objects.
- Author:
- dkitchin
Constructor Summary |
Site()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ORC
public static final java.lang.String ORC
- See Also:
- Constant Field Values
JAVA
public static final java.lang.String JAVA
- See Also:
- Constant Field Values
LET
public static Site LET
IF
public static Site IF
NOT
public static Site NOT
SOME
public static Site SOME
NONE
public static Site NONE
ISSOME
public static Site ISSOME
ISNONE
public static Site ISNONE
CONS
public static Site CONS
NIL
public static Site NIL
ISCONS
public static Site ISCONS
ISNIL
public static Site ISNIL
HEAD
public static Site HEAD
TAIL
public static Site TAIL
EQUAL
public static Site EQUAL
Site
public Site()
build
public static Site build(java.lang.String protocol,
java.lang.String location)
build
public static Site build(java.lang.String protocol,
java.net.URI location)
buildCoreSite
public static Site buildCoreSite(java.lang.String primitive)
getLocation
public abstract java.net.URI getLocation()
getProtocol
public abstract java.lang.String getProtocol()
instantiate
public abstract Site instantiate()
equals
public boolean equals(Site that)
- Equality on sites.
Two sites are equal if their protocols are equal
and their locations are equal.
- Parameters:
that
- The site to which to compare.