use of com.torodb.d2r.model.TableMetadata in project torodb by torodb.
the class DocPartDataCollection method findDocPartData.
public DocPartDataImpl findDocPartData(PathInfo path) {
DocPartDataImpl docPartData = docPartDataMap.get(path);
if (docPartData == null) {
TableMetadata metadata = new TableMetadata(collectionMetaInfo, path.getTableRef());
DocPartDataImpl parentDocPartData = findParent(path);
docPartData = new DocPartDataImpl(metadata, parentDocPartData);
docPartDataMap.put(path, docPartData);
docPartDataList.add(docPartData);
}
return docPartData;
}
Aggregations