|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectvishnu.planner.CannonicalPlanner
public final class CannonicalPlanner
Esta clase implementa un planificador canonico de instrucciones SQL.
![]() |
![]() |
![]() |
![]() |
| Nested Class Summary | |
|---|---|
static class |
CannonicalPlanner.Context
|
| Method Summary | |
|---|---|
protected java.util.Collection |
asCollection(int index)
|
protected java.util.List<java.lang.String> |
asList(java.lang.String name)
|
protected java.lang.String |
columnRename(java.lang.String columnName)
|
java.lang.String |
getExecutionPlan()
retorna el plan de ejecucion para el ultimo comando asignado. |
static CannonicalPlanner |
getInstance()
|
Relation |
getRelation()
retorna la expresion en algebra relacional planificada. |
protected Relation |
getRelationForTable(java.lang.String tableName)
|
protected java.lang.String |
selectedColumnName(SelectStatement s)
|
static void |
setContext(CannonicalPlanner.Context c)
|
void |
setStatement(SQLStatement s)
asigna el comando a planificar. |
protected SQLOperand |
translateExpression(SQLOperand o,
java.util.List<SelectStatement> i)
transforma los operadores IN en igualdades |
protected Relation |
translateRelation(SelectStatement s)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void setContext(CannonicalPlanner.Context c)
public static CannonicalPlanner getInstance()
throws vishnu.planner.CannonicalPlanner.ContextRequiredException
vishnu.planner.CannonicalPlanner.ContextRequiredExceptionpublic void setStatement(SQLStatement s)
Planner
setStatement in interface Plannerprotected java.util.Collection asCollection(int index)
protected java.util.List<java.lang.String> asList(java.lang.String name)
protected Relation translateRelation(SelectStatement s)
protected java.lang.String columnRename(java.lang.String columnName)
protected java.lang.String selectedColumnName(SelectStatement s)
protected SQLOperand translateExpression(SQLOperand o,
java.util.List<SelectStatement> i)
protected Relation getRelationForTable(java.lang.String tableName)
public java.lang.String getExecutionPlan()
Planner
getExecutionPlan in interface Plannerpublic Relation getRelation()
Planner
getRelation in interface Planner
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||