Package com.google.refine.browsing

Examples of com.google.refine.browsing.RecordVisitor


            }
           
            filteredRows.accept(project, visitor);
        } else {
            FilteredRecords filteredRecords = engine.getFilteredRecords();
            RecordVisitor visitor = template.getRecordVisitor(writer, limit);
           
            if (sortingJson != null) {
                try {
                    SortingRecordVisitor srv = new SortingRecordVisitor(visitor);
                    srv.initializeFromJSON(project, sortingJson);
View Full Code Here


                jsonWriter.endArray();
                jsonWriter.key("filtered"); jsonWriter.value(rwv.total);
                jsonWriter.key("total"); jsonWriter.value(project.rows.size());
            } else {
                FilteredRecords filteredRecords = engine.getFilteredRecords();
                RecordVisitor visitor = rwv;
               
                if (sortingJson != null) {
                    SortingRecordVisitor srv = new SortingRecordVisitor(visitor);
                   
                    srv.initializeFromJSON(project, sortingJson);
View Full Code Here

                }
            }

            engine.getAllRows().accept(project, visitor);
        } else {
            RecordVisitor visitor = new IndexingVisitor(rowIndices);
            if (_sorting != null) {
                SortingRecordVisitor srv = new SortingRecordVisitor(visitor);

                srv.initializeFromJSON(project, _sorting);
                if (srv.hasCriteria()) {
View Full Code Here

TOP

Related Classes of com.google.refine.browsing.RecordVisitor

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.