| Package | Description |
|---|---|
| ca.uqac.dim.turtledb |
| Modifier and Type | Class and Description |
|---|---|
class |
BinaryRelation
A binary relation has exactly two operands.
|
class |
Intersection |
class |
Join |
class |
NAryRelation
An n-ary relation is an operator ☆ that accepts a variable number
of operands n, with n ≥ 2, i.e.
|
class |
Product |
class |
Projection |
class |
Renaming |
class |
Selection |
class |
Table
A Table is a list of tuples.
|
class |
UnaryRelation |
class |
Union
Union of two relations.
|
class |
VariableTable
A VariableTable is a placeholder for an actual relation.
|
| Modifier and Type | Field and Description |
|---|---|
protected Relation |
BinaryRelation.m_left |
protected Relation |
QueryProcessor.m_query |
protected Relation |
UnaryRelation.m_relation |
protected Relation |
HttpCommunicator.HttpQueryProcessor.m_result |
protected Relation |
CentralizedCommunicator.CentralizedQueryProcessor.m_result |
protected Relation |
BinaryRelation.m_right |
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<Relation> |
Engine.m_pendingQueries
The list of query plans that await computation
|
protected java.util.List<Relation> |
NAryRelation.m_relations
The list of relations the operator acts on
|
protected java.util.List<Relation> |
CentralizedCommunicator.m_results |
protected java.util.Map<java.lang.String,Relation> |
Engine.m_tables |
protected java.util.Map<java.lang.String,Relation> |
TableLinkVisitor.m_tables |
| Modifier and Type | Method and Description |
|---|---|
Relation |
BinaryRelation.getLeft() |
Relation |
HttpCommunicator.HttpQueryProcessor.getResult() |
Relation |
CentralizedCommunicator.CentralizedQueryProcessor.getResult() |
abstract Relation |
QueryProcessor.getResult() |
Relation |
BinaryRelation.getRight() |
static Relation |
XmlQueryParser.parse(org.w3c.dom.Document doc)
Builds a query from a DOM document
|
protected static Relation |
XmlQueryParser.parse(org.w3c.dom.Node e)
Parse an operand.
|
static Relation |
XmlQueryParser.parse(java.lang.String s)
Builds a query from a string
|
protected static Relation |
XmlQueryParser.parseIntersection(org.w3c.dom.Node e)
Parse an intersection.
|
protected static Relation |
XmlQueryParser.parseJoin(org.w3c.dom.Node e)
Parse a join.
|
protected static Relation |
XmlQueryParser.parseProduct(org.w3c.dom.Node e)
Parse a Cartesian product.
|
protected static Relation |
XmlQueryParser.parseProjection(org.w3c.dom.Node e)
Parse a projection.
|
protected static Relation |
XmlQueryParser.parseSelection(org.w3c.dom.Node e)
Parse a selection.
|
protected static Relation |
XmlQueryParser.parseUnion(org.w3c.dom.Node e)
Parse a union.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<Relation> |
Engine.processPendingQueries()
Process any pending queries
|
| Modifier and Type | Method and Description |
|---|---|
void |
Join.addOperand(Relation r) |
void |
NAryRelation.addOperand(Relation r) |
void |
Engine.addQuery(Relation query)
Add a query to process.
|
void |
Table.copy(Relation r)
Copies the contents of a relation into the current relation.
|
Table |
Engine.evaluate(Relation query)
Locally evaluates a query
|
QueryPlan |
Engine.getQueryPlan(Relation query)
Creates a query plan from a given query
|
QueryProcessor |
HttpCommunicator.getQueryProcessor(Relation query) |
QueryProcessor |
CentralizedCommunicator.getQueryProcessor(Relation query) |
abstract QueryProcessor |
Communicator.getQueryProcessor(Relation query) |
QueryProcessor |
CentralizedCommunicator.getQueryProcessor(Relation query,
java.lang.String site) |
void |
QueryPlan.put(java.lang.String key,
Relation r) |
void |
Engine.putRelation(java.lang.String name,
Relation r)
Stores a new relation within the engine.
|
protected void |
HttpCommunicator.sendQuery(java.lang.String site_name,
Relation r) |
void |
BinaryRelation.setLeft(Relation r) |
void |
UnaryRelation.setRelation(Relation r) |
void |
BinaryRelation.setRight(Relation r) |
static java.lang.String |
GraphvizQueryFormatter.toGraphviz(Relation q)
Serializes a relation as a DOM document.
|
static org.w3c.dom.Document |
XmlQueryFormatter.toXmlDocument(Relation q)
Serializes a relation as a DOM document.
|
static java.lang.String |
XmlQueryFormatter.toXmlString(Relation q)
Serializes a relation as a string containing an XML representation
of the relation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Engine.addQuery(java.util.Collection<Relation> queries)
Add a set of queries.
|
protected void |
HttpCommunicator.sendQuery(java.lang.String site_name,
java.util.Set<Relation> rels) |
| Constructor and Description |
|---|
Projection(Schema sch,
Relation rel) |
Renaming(Relation rel) |
Selection(Condition c,
Relation r) |
Table(Relation r)
Constructor by copy
|
| Constructor and Description |
|---|
TableLinkVisitor(java.util.Map<java.lang.String,Relation> tables) |
Copyright © Sylvain HallĂ©. All Rights Reserved.