Package io.lumify.palantir.dataImport.model

Examples of io.lumify.palantir.dataImport.model.PtObjectType


        super(dataImporter, PtObject.class);
    }

    @Override
    protected void processRow(PtObject row) {
        PtObjectType ptObjectType = getDataImporter().getObjectTypes().get(row.getType());
        if (ptObjectType == null) {
            throw new LumifyException("Could not find object type: " + row.getType());
        }
        String conceptTypeUri = getConceptTypeUri(ptObjectType.getUri());

        VertexBuilder v = getDataImporter().getGraph().prepareVertex(getObjectId(row), getDataImporter().getVisibility());
        LumifyProperties.CONCEPT_TYPE.setProperty(v, conceptTypeUri, getDataImporter().getVisibility());
        v.save(getDataImporter().getAuthorizations());
    }
View Full Code Here

TOP

Related Classes of io.lumify.palantir.dataImport.model.PtObjectType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.