Package | Description |
---|---|
com.hp.hpl.jena.graph.query |
Defines the graph-level Query classes, allowing multi-pattern query
over arbitrary graphs.
|
Modifier and Type | Class and Description |
---|---|
class |
Dyadic
A base class for dyadic expressions with a built-in Valuator; subclasses must
define an evalObject or evalBool method which will be supplied with the
evaluated operands.
|
static class |
Expression.Application
An abstract base class for apply nodes; subclasses implement getFun(),
argCount(), and getArg().
|
static class |
Expression.Base
An abstract base class for Expressions; over-ride as appropriate.
|
static class |
Expression.BoolConstant
Base class used to implement
TRUE and FALSE . |
static class |
Expression.Constant
An abstract base class for literal nodes; subclasses implement getValue().
|
static class |
Expression.Fixed
A concrete class for representing fixed constants; each instance
can hold a separate value and its valuator returns that value.
|
static class |
Expression.Variable
An abstract base class for variable nodes; subclasses implement getName().
|
static class |
Rewrite.DyadicLiteral |
Modifier and Type | Field and Description |
---|---|
static Expression |
Expression.FALSE
An Expression which always evaluates to
false . |
static Expression |
Expression.TRUE
An Expression which always evaluates to
true . |
Modifier and Type | Method and Description |
---|---|
static Expression |
Dyadic.and(Expression L,
Expression R) |
static Expression |
Rewrite.contains(Expression L,
String content,
String modifiers) |
static Expression |
Rewrite.endsWith(Expression L,
String content,
String modifiers) |
Expression |
Expression.getArg(int i)
If this Expression is an application, and 0 <= i < argCount(), answer the
i th argument. |
Expression |
Expression.Base.getArg(int i) |
abstract Expression |
Expression.Application.getArg(int i) |
Expression |
Dyadic.getArg(int i) |
static Expression |
Rewrite.rewriteStringMatch(Expression e) |
static Expression |
Rewrite.startsWith(Expression L,
String content,
String modifiers) |
Modifier and Type | Method and Description |
---|---|
Iterator<Expression> |
ExpressionSet.iterator()
Answer an iterator over all the Expressions in this ExpressionSet.
|
Modifier and Type | Method and Description |
---|---|
ExpressionSet |
ExpressionSet.add(Expression e)
Answer this expressionset after e has been anded into it.
|
Query |
Query.addConstraint(Expression e) |
static Set<String> |
Expression.Util.addVariablesOf(Set<String> s,
Expression e)
Add all the variables of
e to s , and answer
s . |
static Expression |
Dyadic.and(Expression L,
Expression R) |
static Expression |
Rewrite.contains(Expression L,
String content,
String modifiers) |
static boolean |
Expression.Util.containsAllVariablesOf(Set<String> variables,
Expression e) |
static Expression |
Rewrite.endsWith(Expression L,
String content,
String modifiers) |
static boolean |
Expression.Util.equals(Expression L,
Expression R) |
static PatternLiteral |
Rewrite.getPattern(Expression E) |
static Expression |
Rewrite.rewriteStringMatch(Expression e) |
static boolean |
Expression.Util.sameApply(Expression L,
Expression R) |
static boolean |
Expression.Util.sameArgs(Expression L,
Expression R) |
static Expression |
Rewrite.startsWith(Expression L,
String content,
String modifiers) |
static Set<String> |
Expression.Util.variablesOf(Expression e)
Answer a set containing exactly the names of variables within
e . |
Constructor and Description |
---|
Dyadic(Expression L,
String F,
Expression R) |
Rewrite.DyadicLiteral(Expression L,
String F,
String R) |
Copyright ? 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP