MCPcopy Create free account
hub / github.com/MIT-DB-Class/simple-db-hw / addPlan

Method addPlan

src/java/simpledb/PlanCache.java:21–25  ·  view source on GitHub ↗

Add a new cost, cardinality and ordering for a particular join set. Does not verify that the new cost is less than any previously added cost -- simply adds or replaces an existing plan for the specified join set @param s the set of joins for which a new ordering (plan) is be

(Set<LogicalJoinNode> s, double cost, int card, Vector<LogicalJoinNode> order)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected