Package com.google.refine.InterProjectModel

Examples of com.google.refine.InterProjectModel.ProjectJoin


           
            if (wrappedCell != null && wrappedCell instanceof WrappedCell &&
                toProjectName != null && toProjectName instanceof String &&
                toColumnName != null && toColumnName instanceof String) {
               
                ProjectJoin join = ProjectManager.singleton.getInterProjectModel().getJoin(
                        ProjectManager.singleton.getProjectMetadata(((Project) bindings.get("project")).id).getName(),
                        ((WrappedCell) wrappedCell).columnName,
                        (String) toProjectName,
                        (String) toColumnName
                        );
               
                return join.getRows(((WrappedCell) wrappedCell).cell.value);
            }
        }
        return new EvalError(ControlFunctionRegistry.getFunctionName(this) + " expects a cell, a project name to join with, and a column name in that project");
    }
View Full Code Here

TOP

Related Classes of com.google.refine.InterProjectModel.ProjectJoin

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.