|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.glitter.util.Glitter
public class Glitter
The Glitter class provides a variety of static utility methods.
| Method Summary | |
|---|---|
static java.net.URI |
createURI(java.lang.String s)
Synonym for URI.create(String). |
static org.apache.commons.logging.Log |
getLog()
Provides access to a common log. |
static java.lang.String |
getReadableQueryPlan(TreeNode n,
QueryExecutionPlan plan)
Pretty-printer for QueryExecutionPlan. |
static boolean |
isUsedOutsideOfNode(Bindable b,
TreeNode n,
QueryInformation qc)
Tests if a given variable (or blank node) appears in the query outside of a given node and its descendants. |
static TreeNode |
rewriteTree(TreeNode node,
TreeRewriter rewriter)
Implements a post-order traversal which rewrites tree nodes. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static org.apache.commons.logging.Log getLog()
public static java.net.URI createURI(java.lang.String s)
URI.create(String).
s - String representation of URI
public static java.lang.String getReadableQueryPlan(TreeNode n,
QueryExecutionPlan plan)
QueryExecutionPlan.
n - The root node for query planning.plan - The plan.
public static TreeNode rewriteTree(TreeNode node,
TreeRewriter rewriter)
node - The root of the nodes to rewrite.rewriter - A TreeRewriter that examines each node.
public static boolean isUsedOutsideOfNode(Bindable b,
TreeNode n,
QueryInformation qc)
b - The variable or blank node to test.n - The root node of the tree segment that should be excluded from a searchqc - The QueryInformation that provides a look at the entire query
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||