MCPcopy Create free account
hub / github.com/1345414527/MIT6.830 / Project

Method Project

src/java/simpledb/execution/Project.java:29–32  ·  view source on GitHub ↗

Constructor accepts a child operator to read tuples to apply projection to and a list of fields in output tuple @param fieldList The ids of the fields child's tupleDesc to project out @param typesList the types of the fields in the final projection @param child The child operator

(List<Integer> fieldList, List<Type> typesList,
                   OpIterator child)

Source from the content-addressed store, hash-verified

27 * @param child The child operator
28 */
29 public Project(List<Integer> fieldList, List<Type> typesList,
30 OpIterator child) {
31 this(fieldList, typesList.toArray(new Type[]{}), child);
32 }
33
34 public Project(List<Integer> fieldList, Type[] types,
35 OpIterator child) {

Callers

nothing calls this directly

Calls 3

getFieldNameMethod · 0.95
getMethod · 0.80
getTupleDescMethod · 0.65

Tested by

no test coverage detected