Constructs a Path rooted at the given rootDesc.
(TupleDescriptor rootDesc, List<String> rawPath)
| 181 | * Constructs a Path rooted at the given rootDesc. |
| 182 | */ |
| 183 | public Path(TupleDescriptor rootDesc, List<String> rawPath) { |
| 184 | Preconditions.checkNotNull(rootDesc); |
| 185 | Preconditions.checkNotNull(rawPath); |
| 186 | rootTable_ = rootDesc.getTable(); |
| 187 | rootDesc_ = rootDesc; |
| 188 | rootPath_ = null; |
| 189 | rawPath_ = rawPath; |
| 190 | } |
| 191 | |
| 192 | /** |
| 193 | * Constructs a Path rooted at the given rootTable. |
nothing calls this directly
no test coverage detected