Examples of HistoryEntry


Examples of com.google.refine.history.HistoryEntry

                column.getName(),
                column.getReconConfig(),
                stats
            );

            return new HistoryEntry(
                historyEntryID, _project, description, null, change);
        }
View Full Code Here

Examples of com.google.refine.history.HistoryEntry

    @Override
    protected HistoryEntry createHistoryEntry(Project project, long historyEntryID) throws Exception {
        Change change = new ProtographChange(_protograph);
       
        return new HistoryEntry(historyEntryID, project, getBriefDescription(project), SaveProtographOperation.this, change);
    }
View Full Code Here

Examples of com.google.refine.history.HistoryEntry

                List<FreebaseType> columnTypes = new ArrayList<FreebaseType>();
                for (ColumnInfo info : _job.columns) {
                    columnTypes.add(info.expectedType);
                }
               
                HistoryEntry historyEntry = new HistoryEntry(
                    _historyEntryID,
                    _project,
                    _description,
                    ExtendDataOperation.this,
                    new DataExtensionChange(
View Full Code Here

Examples of com.google.refine.history.HistoryEntry

                    }
                }
            }
        }

        return new HistoryEntry(
            historyEntryID,
            project,
            getBriefDescription(project),
            this,
            new MassReconChange(newRecons, oldRecons)
View Full Code Here

Examples of com.google.refine.history.HistoryEntry

            e.printStackTrace();
        }
       
        String description = createDescription(column, cellChanges);
       
        return new HistoryEntry(
            historyEntryID, project, description, this, createChange(project, column, cellChanges));
    }
View Full Code Here

Examples of com.google.refine.history.HistoryEntry

            throw new Exception("New column index out of range " + _index);
        }
       
        Change change = new ColumnMoveChange(_columnName, _index);
       
        return new HistoryEntry(historyEntryID, project, getBriefDescription(null), ColumnMoveOperation.this, change);
    }
View Full Code Here

Examples of com.google.refine.history.HistoryEntry

        return "Reorder columns";
    }

   @Override
protected HistoryEntry createHistoryEntry(Project project, long historyEntryID) throws Exception {
        return new HistoryEntry(
            historyEntryID,
            project,
            "Reorder columns",
            this,
            new ColumnReorderChange(_columnNames)
View Full Code Here

Examples of com.google.refine.history.HistoryEntry

            }
           
            r = r2 - 1; // r will be incremented by the for loop anyway
        }
       
        return new HistoryEntry(
            historyEntryID,
            project,
            getBriefDescription(null),
            this,
            new MassRowChange(newRows)
View Full Code Here

Examples of com.google.refine.history.HistoryEntry

       
        String description = "Remove column " + column.getName();
       
        Change change = new ColumnRemovalChange(project.columnModel.columns.indexOf(column));
       
        return new HistoryEntry(historyEntryID, project, description, ColumnRemovalOperation.this, change);
    }
View Full Code Here

Examples of com.google.refine.history.HistoryEntry

        List<Change> changes = new ArrayList<Change>(project.rows.size());
       
        FilteredRows filteredRows = engine.getAllFilteredRows();
        filteredRows.accept(project, createRowVisitor(project, changes));
       
        return new HistoryEntry(
            historyEntryID,
            project,
            (_starred ? "Star" : "Unstar") + " " + changes.size() + " rows",
            this,
            new MassChange(changes, false)
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.