Search in sources :

Example 1 with TableMetadata

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;
}
Also used : TableMetadata(com.torodb.d2r.model.TableMetadata) DocPartDataImpl(com.torodb.d2r.model.DocPartDataImpl)

Aggregations

DocPartDataImpl (com.torodb.d2r.model.DocPartDataImpl)1 TableMetadata (com.torodb.d2r.model.TableMetadata)1