Package com.google.refine.model

Examples of com.google.refine.model.AbstractOperation.createProcess()


            Project project = getProject(request);
           
            String columnName = request.getParameter("columnName");
           
            AbstractOperation op = new ColumnRemovalOperation(columnName);
            Process process = op.createProcess(project, new Properties());
           
            performProcessAndRespond(request, response, project, process);
        } catch (Exception e) {
            respondException(response, e);
        }
View Full Code Here


                    startColumnName, columnCount,
                    ignoreBlankCells, fillDown,
                    keyColumnName, valueColumnName);
            }
           
            Process process = op.createProcess(project, new Properties());
           
            performProcessAndRespond(request, response, project, process);
        } catch (Exception e) {
            respondException(response, e);
        }
View Full Code Here

   
    protected void reconstructOperation(Project project, JSONObject obj) {
        AbstractOperation operation = OperationRegistry.reconstruct(project, obj);
        if (operation != null) {
            try {
                Process process = operation.createProcess(project, new Properties());
               
                project.processManager.queueProcess(process);
            } catch (Exception e) {
                e.printStackTrace();
            }
View Full Code Here

            String jsonString = request.getParameter("schema");
            JSONObject json = ParsingUtilities.evaluateJsonStringToObject(jsonString);
            RdfSchema schema = RdfSchema.reconstruct(json);
           
            AbstractOperation op = new SaveRdfSchemaOperation(schema);
            Process process = op.createProcess(project, new Properties());
           
            performProcessAndRespond(request, response, project, process);
           
            /*project.schema = schema;
           
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.