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

Method Tuple

src/java/simpledb/storage/Tuple.java:37–41  ·  view source on GitHub ↗

Create a new tuple with the specified schema (type). @param td the schema of this tuple. It must be a valid TupleDesc instance with at least one field.

(TupleDesc td)

Source from the content-addressed store, hash-verified

35 * instance with at least one field.
36 */
37 public Tuple(TupleDesc td) {
38 // some code goes here
39 this.tupleDesc = td;
40 this.fieldList = new ArrayList<>(td.numFields());
41 }
42
43 /**
44 * @return The TupleDesc representing the schema of this tuple.

Callers

nothing calls this directly

Calls 1

numFieldsMethod · 0.45

Tested by

no test coverage detected