Uses of Interface
org.openrefine.model.Grid
-
-
Uses of Grid in org.openrefine
Methods in org.openrefine that return Grid Modifier and Type Method Description protected Grid
RefineTest. createGrid(String[] columns, Serializable[][] rows)
protected Grid
RefineTest. createGridWithRecords(String[] columns, Serializable[][] rows)
Methods in org.openrefine with parameters of type Grid Modifier and Type Method Description protected void
RefineTest. assertGridEquals(Grid actual, Grid expected)
protected FacetCountCacheManager.FacetCount
FacetCountCacheManager. computeFacetCount(Grid grid, String columnName, String expression, long changeId, long projectId)
protected Project
RefineTest. createProject(String projectName, Grid grid)
-
Uses of Grid in org.openrefine.benchmark
Fields in org.openrefine.benchmark declared as Grid Modifier and Type Field Description Grid
GridSerializationBenchmark.ExecutionPlan. grid
-
Uses of Grid in org.openrefine.browsing
Fields in org.openrefine.browsing declared as Grid Modifier and Type Field Description protected Grid
Engine. _state
Methods in org.openrefine.browsing that return Grid Modifier and Type Method Description Grid
Engine. getGrid()
Constructors in org.openrefine.browsing with parameters of type Grid Constructor Description Engine(Grid state, EngineConfig config, long projectId)
-
Uses of Grid in org.openrefine.clustering
Fields in org.openrefine.clustering declared as Grid Modifier and Type Field Description protected Grid
Clusterer. _grid
Methods in org.openrefine.clustering with parameters of type Grid Modifier and Type Method Description abstract Clusterer
ClustererConfig. apply(Grid state)
Instantiate the configuration on a particular project.protected void
Clusterer. initializeFromConfig(Grid grid, ClustererConfig c)
-
Uses of Grid in org.openrefine.clustering.binning
Methods in org.openrefine.clustering.binning with parameters of type Grid Modifier and Type Method Description BinningClusterer
BinningClusterer.BinningClustererConfig. apply(Grid state)
void
BinningClusterer. initializeFromConfig(Grid state, BinningClusterer.BinningClustererConfig config)
-
Uses of Grid in org.openrefine.clustering.knn
Methods in org.openrefine.clustering.knn with parameters of type Grid Modifier and Type Method Description kNNClusterer
kNNClusterer.kNNClustererConfig. apply(Grid state)
void
kNNClusterer. initializeFromConfig(Grid state, kNNClusterer.kNNClustererConfig config)
-
Uses of Grid in org.openrefine.commands.recon
Methods in org.openrefine.commands.recon with parameters of type Grid Modifier and Type Method Description protected List<GuessTypesOfColumnCommand.TypeGroup>
GuessTypesOfColumnCommand. guessTypes(Grid grid, int cellIndex, String serviceUrl)
Run relevance searches for the first n cells in the given column and count the types of the results. -
Uses of Grid in org.openrefine.exporters
Methods in org.openrefine.exporters with parameters of type Grid Modifier and Type Method Description static int[]
CustomizableTabularExporterUtilities. countColumnsRows(Grid grid, Engine engine, Properties params)
void
CsvExporter. export(Grid grid, ProjectMetadata projectMetadata, long projectId, Properties params, Engine engine, Writer writer)
void
HtmlTableExporter. export(Grid grid, ProjectMetadata projectMetadata, long projectId, Properties params, Engine engine, Writer writer)
void
OdsExporter. export(Grid grid, ProjectMetadata projectMetadata, long projectId, Properties params, Engine engine, OutputStream outputStream)
void
StreamExporter. export(Grid grid, ProjectMetadata projectMetadata, long projectId, Properties options, Engine engine, OutputStream outputStream)
void
TemplatingExporter. export(Grid grid, ProjectMetadata projectMetadata, long projectId, Properties options, Engine engine, Writer writer)
void
WriterExporter. export(Grid grid, ProjectMetadata projectMetadata, long projectId, Properties options, Engine engine, Writer writer)
void
XlsExporter. export(Grid grid, ProjectMetadata projectMetadata, long projectId, Properties params, Engine engine, OutputStream outputStream)
static void
CustomizableTabularExporterUtilities. exportRows(Grid grid, Engine engine, Properties params, TabularSerializer serializer, SortingConfig sortingConfig)
-
Uses of Grid in org.openrefine.exporters.sql
Methods in org.openrefine.exporters.sql with parameters of type Grid Modifier and Type Method Description void
SqlExporter. export(Grid grid, ProjectMetadata projectMetadata, long projectId, Properties params, Engine engine, Writer writer)
-
Uses of Grid in org.openrefine.extension.gdata
Methods in org.openrefine.extension.gdata that return Grid Modifier and Type Method Description static Grid
GDataImporter. parse(Runner runner, com.google.api.services.sheets.v4.Sheets service, ProjectMetadata metadata, ImportingJob job, int limit, com.fasterxml.jackson.databind.node.ObjectNode options)
static Grid
GDataImporter. parse(Runner runner, String token, ProjectMetadata metadata, ImportingJob job, int limit, com.fasterxml.jackson.databind.node.ObjectNode options)
static Grid
GDataImporter. parseOneWorkSheet(Runner runner, com.google.api.services.sheets.v4.Sheets service, ProjectMetadata metadata, ImportingJob job, URL docURL, int worksheetIndex, int limit, com.fasterxml.jackson.databind.node.ObjectNode options)
-
Uses of Grid in org.openrefine.history
Fields in org.openrefine.history declared as Grid Modifier and Type Field Description protected Grid
History.Step. grid
Methods in org.openrefine.history that return Grid Modifier and Type Method Description Grid
History. getCurrentGrid()
Returns the state of the grid at the current position in the history.protected Grid
History. getGrid(int position, boolean refresh)
Returns the state of the grid at a given index in the historyGrid
History. getInitialGrid()
Returns the state of the grid at before any operation was applied on itConstructors in org.openrefine.history with parameters of type Grid Constructor Description History(Grid initialGrid, ChangeDataStore dataStore, GridCache gridStore, long projectId)
Creates an empty on an initial grid.History(Grid initialGrid, ChangeDataStore dataStore, GridCache gridStore, List<HistoryEntry> entries, int position, long projectId)
Constructs a history with an initial grid and a list of history entries.Step(Grid grid, boolean cachedOnDisk, boolean inProgress)
-
Uses of Grid in org.openrefine.importers
Methods in org.openrefine.importers that return Grid Modifier and Type Method Description protected static Grid
ImporterUtilities. mergeGrids(List<Grid> grids)
Given two grids with potentially different columns, unify the two into a single grid by adding columns of the second grid which are not present in the first at the end.Grid
ImportingParserBase. parse(Runner runner, ProjectMetadata metadata, ImportingJob job, List<ImportingFileRecord> fileRecords, String format, long limit, com.fasterxml.jackson.databind.node.ObjectNode options)
protected Grid
ImporterTest. parseFiles(ImportingParser parser, List<ImportingFileRecord> files, com.fasterxml.jackson.databind.node.ObjectNode options)
Grid
ExcelImporter. parseOneFile(Runner runner, ProjectMetadata metadata, ImportingJob job, String fileSource, String archiveFileName, Supplier<InputStream> inputStreamSupplier, long limit, com.fasterxml.jackson.databind.node.ObjectNode options)
Grid
FixedWidthImporter. parseOneFile(Runner runner, ProjectMetadata metadata, ImportingJob job, String fileSource, String archiveFileName, Supplier<Reader> reader, long limit, com.fasterxml.jackson.databind.node.ObjectNode options)
protected Grid
ImporterTest. parseOneFile(InputStreamImporter parser, Supplier<InputStream> inputStream)
protected Grid
ImporterTest. parseOneFile(InputStreamImporter parser, Supplier<InputStream> inputStream, com.fasterxml.jackson.databind.node.ObjectNode options)
protected Grid
ImporterTest. parseOneFile(ReaderImporter parser, Supplier<Reader> reader)
protected Grid
ImporterTest. parseOneFile(ReaderImporter parser, Supplier<Reader> reader, com.fasterxml.jackson.databind.node.ObjectNode options)
protected Grid
ImporterTest. parseOneFile(ImportingParser parser, File file, com.fasterxml.jackson.databind.node.ObjectNode options)
Grid
ImportingParserBase. parseOneFile(Runner runner, ProjectMetadata metadata, ImportingJob job, ImportingFileRecord fileRecord, long limit, com.fasterxml.jackson.databind.node.ObjectNode options, MultiFileReadingProgress progress)
abstract Grid
InputStreamImporter. parseOneFile(Runner runner, ProjectMetadata metadata, ImportingJob job, String fileSource, String archiveFileName, Supplier<InputStream> inputStream, long limit, com.fasterxml.jackson.databind.node.ObjectNode options)
Parses one file, read from anInputStream
object, into a Grid.Grid
LegacyProjectImporter. parseOneFile(Runner runner, ProjectMetadata metadata, ImportingJob job, String fileSource, String archiveFileName, Supplier<InputStream> inputStreamSupplier, long limit, com.fasterxml.jackson.databind.node.ObjectNode options)
Grid
LineBasedImporter. parseOneFile(Runner runner, ProjectMetadata metadata, ImportingJob job, String fileSource, String archiveFileName, Supplier<Reader> reader, long limit, com.fasterxml.jackson.databind.node.ObjectNode options)
Grid
OdsImporter. parseOneFile(Runner runner, ProjectMetadata metadata, ImportingJob job, String fileSource, String archiveFileName, Supplier<InputStream> inputStreamSupplier, long limit, com.fasterxml.jackson.databind.node.ObjectNode options)
Grid
RdfTripleImporter. parseOneFile(Runner runner, ProjectMetadata metadata, ImportingJob job, String fileSource, String archiveFileName, Supplier<Reader> readerSupplier, long limit, com.fasterxml.jackson.databind.node.ObjectNode options)
abstract Grid
ReaderImporter. parseOneFile(Runner runner, ProjectMetadata metadata, ImportingJob job, String fileSource, String archiveFileName, Supplier<Reader> reader, long limit, com.fasterxml.jackson.databind.node.ObjectNode options)
Parses one file, read from aReader
object, into a Grid.Grid
SeparatorBasedImporter. parseOneFile(Runner runner, ProjectMetadata metadata, ImportingJob job, String fileSource, String archiveFileName, Supplier<Reader> reader, long limit, com.fasterxml.jackson.databind.node.ObjectNode options)
static Grid
TabularParserHelper. parseOneFile(Runner runner, String fileSource, String archiveFileName, CloseableIterable<Row> dataReader, long limit, com.fasterxml.jackson.databind.node.ObjectNode options)
Parse a grid from a stream of rows, handling the generic processing generally available in tabular importers.Grid
TabularParserHelper. parseOneFile(Runner runner, ProjectMetadata metadata, ImportingJob job, String fileSource, String archiveFileName, TabularParserHelper.TableDataReader dataReader, long limit, com.fasterxml.jackson.databind.node.ObjectNode options)
Deprecated.useTabularParserHelper.parseOneFile(Runner, String, String, CloseableIterable, long, ObjectNode)
because it avoids loading the entire grid in memory.Grid
WikitextImporter. parseOneFile(Runner runner, ProjectMetadata metadata, ImportingJob job, String fileSource, String archiveFileName, Supplier<Reader> reader, long limit, com.fasterxml.jackson.databind.node.ObjectNode options)
protected Grid
ImporterTest. parseOneString(ImportingParser parser, String string)
protected Grid
ImporterTest. parseOneString(ImportingParser parser, String contents, com.fasterxml.jackson.databind.node.ObjectNode options)
static Grid
TabularParserHelper. prependColumn(String columnName, String cellValue, Grid grid)
Adds a column to the grid, with the same string content in all cells.Methods in org.openrefine.importers with parameters of type Grid Modifier and Type Method Description static Grid
TabularParserHelper. prependColumn(String columnName, String cellValue, Grid grid)
Adds a column to the grid, with the same string content in all cells.Method parameters in org.openrefine.importers with type arguments of type Grid Modifier and Type Method Description protected static Grid
ImporterUtilities. mergeGrids(List<Grid> grids)
Given two grids with potentially different columns, unify the two into a single grid by adding columns of the second grid which are not present in the first at the end. -
Uses of Grid in org.openrefine.importers.tree
Methods in org.openrefine.importers.tree that return Grid Modifier and Type Method Description Grid
TreeImportingParserBase. parse(Runner runner, ProjectMetadata metadata, ImportingJob job, List<ImportingFileRecord> fileRecords, String format, long limit, com.fasterxml.jackson.databind.node.ObjectNode options)
-
Uses of Grid in org.openrefine.importing
Methods in org.openrefine.importing that return Grid Modifier and Type Method Description Grid
ImportingParser. parse(Runner runner, ProjectMetadata metadata, ImportingJob job, List<ImportingFileRecord> fileRecords, String format, long limit, com.fasterxml.jackson.databind.node.ObjectNode options)
Main method of the parser: parse a grid out of input files -
Uses of Grid in org.openrefine.model
Methods in org.openrefine.model that return Grid Modifier and Type Method Description default Grid
Grid. concatenate(List<Grid> otherGrids)
Concatenates this with other grids, in the given order.Grid
Grid. concatenate(Grid other)
Creates a new grid containing all rows in this grid, followed by all rows in the other grid supplied.default Grid
Grid. dropRows(long rowsToDrop)
Drop the first rows.Grid
Grid. flatMapRows(RowFlatMapper mapper, ColumnModel newColumnModel)
Returns a new grid, where the rows have been mapped by the flat mapper.Grid
Project. getCurrentGrid()
Convenience function to return the current grid.default Grid
Runner. gridFromIterable(ColumnModel columnModel, CloseableIterable<Row> rows, Map<String,OverlayModel> overlayModels, long rowCount, long recordCount)
Creates aGrid
from an iterable collection of rows.Grid
Runner. gridFromList(ColumnModel columnModel, List<Row> rows, Map<String,OverlayModel> overlayModels)
Creates aGrid
from an in-memory list of rows, which will be numbered from 0 to length-1.<T> Grid
Grid. join(ChangeData<T> changeData, RecordChangeDataJoiner<T> recordJoiner, ColumnModel newColumnModel)
Joins pre-computed change data with the current grid data, record by record.<T> Grid
Grid. join(ChangeData<T> changeData, RowChangeDataFlatJoiner<T> rowJoiner, ColumnModel newColumnModel)
Joins pre-computed change data with the current grid data, with a joiner function that can return multiple rows for a given original row.<T> Grid
Grid. join(ChangeData<T> changeData, RowChangeDataJoiner<T> rowJoiner, ColumnModel newColumnModel)
Joins pre-computed change data with the current grid data, row by row.default Grid
Grid. limitRows(long rowLimit)
Only keep the first rows.Grid
Runner. loadGrid(File path)
Loads aGrid
serialized at a given location.Grid
Runner. loadTextFile(String path, MultiFileReadingProgress progress, Charset encoding)
Loads a text file as aGrid
with a single column named "Column" and whose contents are the lines in the file, parsed as strings.Grid
Runner. loadTextFile(String path, MultiFileReadingProgress progress, Charset encoding, long limit)
Loads a text file as aGrid
with a single column named "Column" and whose contents are the lines in the file, parsed as strings.Grid
Grid. mapRecords(RecordMapper mapper, ColumnModel newColumnModel)
Returns a new grid, where the records have been mapped by the mapperGrid
Grid. mapRows(RowMapper mapper, ColumnModel newColumnModel)
Returns a new grid, where the rows have been mapped by the mapper.<S extends Serializable>
GridGrid. mapRows(RowScanMapper<S> mapper, ColumnModel newColumnModel)
Returns a new grid where the rows have been mapped by the stateful mapper.Grid
Grid. removeRecords(RecordFilter filter)
Removes all records selected by a filterGrid
Grid. removeRows(RowFilter filter)
Removes all rows selected by a filterGrid
Grid. reorderRecords(SortingConfig sortingConfig, boolean permanent)
Returns a new grid where records have been reordered according to the configuration supplied.Grid
Grid. reorderRows(SortingConfig sortingConfig, boolean permanent)
Returns a new grid where rows have been reordered according to the configuration supplied.Grid
Grid. withColumnModel(ColumnModel newColumnModel)
Grid
Grid. withOverlayModels(Map<String,OverlayModel> overlayModel)
Returns a new grid where the overlay models have changed.Methods in org.openrefine.model with parameters of type Grid Modifier and Type Method Description Grid
Grid. concatenate(Grid other)
Creates a new grid containing all rows in this grid, followed by all rows in the other grid supplied.Method parameters in org.openrefine.model with type arguments of type Grid Modifier and Type Method Description default Grid
Grid. concatenate(List<Grid> otherGrids)
Concatenates this with other grids, in the given order.Constructors in org.openrefine.model with parameters of type Grid Constructor Description Project(long projectId, Grid initialState, ChangeDataStore dataStore, GridCache gridStore)
Creates a new project from an initial grid and a project id.Project(Grid initialState, ChangeDataStore dataStore, GridCache gridStore)
Creates a new project from an initial grid. -
Uses of Grid in org.openrefine.model.changes
Fields in org.openrefine.model.changes with type parameters of type Grid Modifier and Type Field Description protected Map<Long,Grid>
LazyGridCache. _cache
Methods in org.openrefine.model.changes that return Grid Modifier and Type Method Description Grid
FileGridCache. cacheGrid(long id, Grid grid)
Grid
GridCache. cacheGrid(long id, Grid grid)
Caches a grid on disk.Grid
LazyGridCache. cacheGrid(long id, Grid grid)
Grid
FileGridCache. getCachedGrid(long id)
Grid
GridCache. getCachedGrid(long id)
Retrieves a disk-cached grid.Grid
LazyGridCache. getCachedGrid(long id)
Methods in org.openrefine.model.changes with parameters of type Grid Modifier and Type Method Description Grid
FileGridCache. cacheGrid(long id, Grid grid)
Grid
GridCache. cacheGrid(long id, Grid grid)
Caches a grid on disk.Grid
LazyGridCache. cacheGrid(long id, Grid grid)
-
Uses of Grid in org.openrefine.operations
Fields in org.openrefine.operations declared as Grid Modifier and Type Field Description protected Grid
ChangeResult. grid
Methods in org.openrefine.operations that return Grid Modifier and Type Method Description Grid
ChangeResult. getGrid()
protected Grid
ExpressionBasedOperation. postTransform(Grid state, ChangeContext context, Evaluable eval)
protected Grid
RowMapOperation. postTransform(Grid grid, ChangeContext context)
Method run at the end of the change to update any statistics (such as ReconStats or overlay models) on the resulting state.Methods in org.openrefine.operations with parameters of type Grid Modifier and Type Method Description ChangeResult
ExpressionBasedOperation. apply(Grid projectState, ChangeContext context)
ChangeResult
Operation. apply(Grid projectState, ChangeContext context)
Derives the new grid state from the current grid state.ChangeResult
RowMapOperation. apply(Grid projectState, ChangeContext context)
ChangeResult
UnknownOperation. apply(Grid projectState, ChangeContext context)
protected abstract RowInRecordChangeDataJoiner
ExpressionBasedOperation. changeDataJoiner(Grid grid, ChangeContext context)
Returns the joiner used to insert the result of the evaluation of the expression into a row or record.protected RowInRecordChangeDataProducer<Cell>
ExpressionBasedOperation. getChangeDataProducer(Grid state, ChangeContext context)
protected Engine
EngineDependentOperation. getEngine(Grid grid, long projectId)
protected RowMapOperation.GridMap
ExpressionBasedOperation. getGridMap(Grid state, ChangeContext context)
protected RowMapOperation.GridMap
RowMapOperation. getGridMap(Grid state, ChangeContext context)
Returns the function that is applied to each row and row index, the new column model applied to the grid, and the new overlay models.protected RowInRecordMapper
RowMapOperation. getNegativeRowMapper(Grid state, ChangeContext context)
Returns the row mapper applied to the rows not matched by the filter.protected ColumnModel
ExpressionBasedOperation. getNewColumnModel(Grid state, ChangeContext context, Evaluable eval)
Returns the new column model after the operation has run.protected ColumnModel
RowMapOperation. getNewColumnModel(Grid state, ChangeContext context)
Returns the column model after the change is applied to the given grid.protected Map<String,OverlayModel>
ExpressionBasedOperation. getNewOverlayModels(Grid state, ChangeContext context, Evaluable evaluable)
Returns the new overlay models after this change is applied.protected Map<String,OverlayModel>
RowMapOperation. getNewOverlayModels(Grid state, ChangeContext context)
Returns the new overlay models after this change is applied.protected RowInRecordMapper
RowMapOperation. getPositiveRowMapper(Grid state, ChangeContext context)
Returns the row mapper applied to the rows matched by the filter.protected Grid
ExpressionBasedOperation. postTransform(Grid state, ChangeContext context, Evaluable eval)
protected Grid
RowMapOperation. postTransform(Grid grid, ChangeContext context)
Method run at the end of the change to update any statistics (such as ReconStats or overlay models) on the resulting state.Constructors in org.openrefine.operations with parameters of type Grid Constructor Description ChangeResult(Grid grid, GridPreservation gridPreservation, List<FacetConfig> createdFacets, DagSlice dagSlice)
ChangeResult(Grid grid, GridPreservation gridPreservation, DagSlice dagSlice)
-
Uses of Grid in org.openrefine.operations.cell
Methods in org.openrefine.operations.cell with parameters of type Grid Modifier and Type Method Description ChangeResult
BlankDownOperation. apply(Grid projectState, ChangeContext context)
ChangeResult
CellEditOperation. apply(Grid projectState, ChangeContext context)
ChangeResult
FillDownOperation. apply(Grid state, ChangeContext context)
ChangeResult
KeyValueColumnizeOperation. apply(Grid projectState, ChangeContext context)
ChangeResult
MultiValuedCellJoinOperation. apply(Grid projectState, ChangeContext context)
ChangeResult
MultiValuedCellSplitOperation. apply(Grid projectState, ChangeContext context)
ChangeResult
ReconEditOperation. apply(Grid state, ChangeContext context)
ChangeResult
TransposeColumnsIntoRowsOperation. apply(Grid projectState, ChangeContext context)
ChangeResult
TransposeRowsIntoColumnsOperation. apply(Grid projectState, ChangeContext context)
protected RowInRecordChangeDataJoiner
MassEditOperation. changeDataJoiner(Grid grid, ChangeContext context)
protected RowInRecordChangeDataJoiner
TextTransformOperation. changeDataJoiner(Grid grid, ChangeContext context)
-
Uses of Grid in org.openrefine.operations.column
Methods in org.openrefine.operations.column with parameters of type Grid Modifier and Type Method Description protected RowInRecordChangeDataJoiner
ColumnAdditionByFetchingURLsOperation. changeDataJoiner(Grid grid, ChangeContext context)
protected RowInRecordChangeDataJoiner
ColumnAdditionOperation. changeDataJoiner(Grid grid, ChangeContext context)
protected RowInRecordChangeDataProducer<Cell>
ColumnAdditionByFetchingURLsOperation. getChangeDataProducer(Grid state, ChangeContext context)
protected Engine
ColumnSplitOperation. getEngine(Grid grid, long projectId)
RowMapOperation.GridMap
ColumnSplitOperation. getGridMap(Grid state, ChangeContext context)
protected ColumnModel
ColumnAdditionByFetchingURLsOperation. getNewColumnModel(Grid grid, ChangeContext context, Evaluable evaluable)
protected ColumnModel
ColumnAdditionOperation. getNewColumnModel(Grid state, ChangeContext context, Evaluable eval)
ColumnModel
ColumnMoveOperation. getNewColumnModel(Grid grid, ChangeContext context)
ColumnModel
ColumnRemovalOperation. getNewColumnModel(Grid state, ChangeContext context)
ColumnModel
ColumnRenameOperation. getNewColumnModel(Grid state, ChangeContext context)
ColumnModel
ColumnReorderOperation. getNewColumnModel(Grid grid, ChangeContext context)
RowInRecordMapper
ColumnMoveOperation. getPositiveRowMapper(Grid state, ChangeContext context)
RowInRecordMapper
ColumnRemovalOperation. getPositiveRowMapper(Grid state, ChangeContext context)
protected RowInRecordMapper
ColumnRenameOperation. getPositiveRowMapper(Grid state, ChangeContext context)
RowInRecordMapper
ColumnReorderOperation. getPositiveRowMapper(Grid state, ChangeContext context)
-
Uses of Grid in org.openrefine.operations.recon
Methods in org.openrefine.operations.recon with parameters of type Grid Modifier and Type Method Description ChangeResult
ExtendDataOperation. apply(Grid projectState, ChangeContext context)
ChangeResult
ReconOperation. apply(Grid projectState, ChangeContext context)
protected ColumnModel
ReconMarkNewTopicsOperation. getNewColumnModel(Grid state, ChangeContext context)
protected ColumnModel
ReconUseValuesAsIdentifiersOperation. getNewColumnModel(Grid newState, ChangeContext context)
protected RowInRecordMapper
ReconClearSimilarCellsOperation. getPositiveRowMapper(Grid state, ChangeContext context)
RowInRecordMapper
ReconCopyAcrossColumnsOperation. getPositiveRowMapper(Grid projectState, ChangeContext context)
RowInRecordMapper
ReconDiscardJudgmentsOperation. getPositiveRowMapper(Grid projectState, ChangeContext context)
RowInRecordMapper
ReconJudgeSimilarCellsOperation. getPositiveRowMapper(Grid grid, ChangeContext context)
RowInRecordMapper
ReconMarkNewTopicsOperation. getPositiveRowMapper(Grid state, ChangeContext context)
RowInRecordMapper
ReconMatchBestCandidatesOperation. getPositiveRowMapper(Grid state, ChangeContext context)
RowInRecordMapper
ReconMatchSpecificTopicOperation. getPositiveRowMapper(Grid state, ChangeContext context)
RowInRecordMapper
ReconUseValuesAsIdentifiersOperation. getPositiveRowMapper(Grid state, ChangeContext context)
-
Uses of Grid in org.openrefine.operations.row
Methods in org.openrefine.operations.row with parameters of type Grid Modifier and Type Method Description ChangeResult
AnnotateOneRowOperation. apply(Grid projectState, ChangeContext context)
ChangeResult
RowRemovalOperation. apply(Grid projectState, ChangeContext context)
ChangeResult
RowReorderOperation. apply(Grid projectState, ChangeContext context)
RowInRecordMapper
RowFlagOperation. getPositiveRowMapper(Grid grid, ChangeContext context)
protected RowInRecordMapper
RowStarOperation. getPositiveRowMapper(Grid state, ChangeContext context)
-
Uses of Grid in org.openrefine.pcaxis
Methods in org.openrefine.pcaxis that return Grid Modifier and Type Method Description Grid
PCAxisImporter. parseOneFile(Runner runner, ProjectMetadata metadata, ImportingJob job, String fileSource, String archiveFileName, Supplier<Reader> reader, long limit, com.fasterxml.jackson.databind.node.ObjectNode options)
-
Uses of Grid in org.openrefine.runners.local
Classes in org.openrefine.runners.local that implement Grid Modifier and Type Class Description class
LocalGrid
A PLL-based implementation of a Grid.Methods in org.openrefine.runners.local that return Grid Modifier and Type Method Description Grid
LocalGrid. concatenate(List<Grid> otherGrids)
Grid
LocalGrid. concatenate(Grid other)
protected static Grid
LocalGrid. concatenateGridList(List<Grid> grids)
Grid
LocalGrid. dropRows(long rowsToDrop)
Drop the first rows.Grid
LocalGrid. flatMapRows(RowFlatMapper mapper, ColumnModel newColumnModel)
Grid
LocalRunner. gridFromIterable(ColumnModel columnModel, CloseableIterable<Row> rows, Map<String,OverlayModel> overlayModels, long rowCount, long recordCount)
Grid
LocalRunner. gridFromList(ColumnModel columnModel, List<Row> rows, Map<String,OverlayModel> overlayModels)
<T> Grid
LocalGrid. join(ChangeData<T> changeData, RecordChangeDataJoiner<T> recordJoiner, ColumnModel newColumnModel)
<T> Grid
LocalGrid. join(ChangeData<T> changeData, RowChangeDataFlatJoiner<T> rowJoiner, ColumnModel newColumnModel)
<T> Grid
LocalGrid. join(ChangeData<T> changeData, RowChangeDataJoiner<T> rowJoiner, ColumnModel newColumnModel)
Grid
LocalGrid. limitRows(long rowLimit)
Only keep the first rows.Grid
LocalRunner. loadGrid(File path)
Grid
LocalRunner. loadTextFile(String path, MultiFileReadingProgress progress, Charset encoding)
Grid
LocalRunner. loadTextFile(String path, MultiFileReadingProgress progress, Charset encoding, long limit)
Grid
LocalGrid. mapRecords(RecordMapper mapper, ColumnModel newColumnModel)
Grid
LocalGrid. mapRows(RowMapper mapper, ColumnModel newColumnModel)
<S extends Serializable>
GridLocalGrid. mapRows(RowScanMapper<S> mapper, ColumnModel newColumnModel)
Grid
LocalGrid. removeRecords(RecordFilter filter)
Grid
LocalGrid. removeRows(RowFilter filter)
Grid
LocalGrid. reorderRecords(SortingConfig sortingConfig, boolean permanent)
Grid
LocalGrid. reorderRows(SortingConfig sortingConfig, boolean permanent)
Grid
LocalGrid. withColumnModel(ColumnModel newColumnModel)
Grid
LocalGrid. withOverlayModels(Map<String,OverlayModel> newOverlayModels)
Methods in org.openrefine.runners.local with parameters of type Grid Modifier and Type Method Description Grid
LocalGrid. concatenate(Grid other)
Method parameters in org.openrefine.runners.local with type arguments of type Grid Modifier and Type Method Description Grid
LocalGrid. concatenate(List<Grid> otherGrids)
protected static Grid
LocalGrid. concatenateGridList(List<Grid> grids)
-
Uses of Grid in org.openrefine.runners.local.logging
Classes in org.openrefine.runners.local.logging that implement Grid Modifier and Type Class Description class
LoggedGrid
A grid which wraps another one, adding logging to keep track of the timing of each operation.Fields in org.openrefine.runners.local.logging declared as Grid Modifier and Type Field Description protected Grid
LoggedGrid. grid
Methods in org.openrefine.runners.local.logging that return Grid Modifier and Type Method Description Grid
LoggedGrid. concatenate(List<Grid> others)
Grid
LoggedGrid. concatenate(Grid other)
Grid
LoggedGrid. dropRows(long rowsToDrop)
Grid
LoggedGrid. flatMapRows(RowFlatMapper mapper, ColumnModel newColumnModel)
Grid
LoggedRunner. gridFromIterable(ColumnModel columnModel, CloseableIterable<Row> rows, Map<String,OverlayModel> overlayModels, long rowCount, long recordCount)
Grid
LoggedRunner. gridFromList(ColumnModel columnModel, List<Row> rows, Map<String,OverlayModel> overlayModels)
<T> Grid
LoggedGrid. join(ChangeData<T> changeData, RecordChangeDataJoiner<T> recordJoiner, ColumnModel newColumnModel)
<T> Grid
LoggedGrid. join(ChangeData<T> changeData, RowChangeDataFlatJoiner<T> rowJoiner, ColumnModel newColumnModel)
<T> Grid
LoggedGrid. join(ChangeData<T> changeData, RowChangeDataJoiner<T> rowJoiner, ColumnModel newColumnModel)
Grid
LoggedGrid. limitRows(long rowLimit)
Grid
LoggedRunner. loadGrid(File path)
Grid
LoggedRunner. loadTextFile(String path, MultiFileReadingProgress progress, Charset encoding)
Grid
LoggedRunner. loadTextFile(String path, MultiFileReadingProgress progress, Charset encoding, long limit)
Grid
LoggedGrid. mapRecords(RecordMapper mapper, ColumnModel newColumnModel)
Grid
LoggedGrid. mapRows(RowMapper mapper, ColumnModel newColumnModel)
<S extends Serializable>
GridLoggedGrid. mapRows(RowScanMapper<S> mapper, ColumnModel newColumnModel)
Grid
LoggedGrid. removeRecords(RecordFilter filter)
Grid
LoggedGrid. removeRows(RowFilter filter)
Grid
LoggedGrid. reorderRecords(SortingConfig sortingConfig, boolean permanent)
Grid
LoggedGrid. reorderRows(SortingConfig sortingConfig, boolean permanent)
Grid
LoggedGrid. withColumnModel(ColumnModel newColumnModel)
Grid
LoggedGrid. withOverlayModels(Map<String,OverlayModel> overlayModel)
protected Grid
LoggedGrid. wrap(String name, Supplier<Grid> action)
protected Grid
LoggedGrid. wrap(Grid grid)
protected Grid
LoggedRunner. wrap(Grid grid)
Methods in org.openrefine.runners.local.logging with parameters of type Grid Modifier and Type Method Description Grid
LoggedGrid. concatenate(Grid other)
protected Grid
LoggedGrid. wrap(Grid grid)
protected Grid
LoggedRunner. wrap(Grid grid)
Method parameters in org.openrefine.runners.local.logging with type arguments of type Grid Modifier and Type Method Description Grid
LoggedGrid. concatenate(List<Grid> others)
protected Grid
LoggedGrid. wrap(String name, Supplier<Grid> action)
Constructors in org.openrefine.runners.local.logging with parameters of type Grid Constructor Description LoggedGrid(LoggedRunner runner, Grid grid)
-
Uses of Grid in org.openrefine.runners.testing
Classes in org.openrefine.runners.testing that implement Grid Modifier and Type Class Description class
TestingGrid
A massively inefficient but very simple implementation of a Grid, for testing purposes.Fields in org.openrefine.runners.testing declared as Grid Modifier and Type Field Description protected Grid
RunnerTestBase. gridToSort
protected Grid
RunnerTestBase. longerGrid
protected Grid
RunnerTestBase. simpleGrid
Methods in org.openrefine.runners.testing that return Grid Modifier and Type Method Description Grid
TestingGrid. concatenate(Grid other)
protected Grid
RunnerTestBase. createGrid(String[] columnNames, Serializable[][] cellValues)
protected Grid
RunnerTestBase. createGrid(String[] columnNames, Cell[][] cells)
Grid
TestingGrid. flatMapRows(RowFlatMapper mapper, ColumnModel newColumnModel)
Grid
TestingRunner. gridFromIterable(ColumnModel columnModel, CloseableIterable<Row> rows, Map<String,OverlayModel> overlayModels, long rowCount, long recordCount)
Grid
TestingRunner. gridFromList(ColumnModel columnModel, List<Row> rows, Map<String,OverlayModel> overlayModels)
<T> Grid
TestingGrid. join(ChangeData<T> changeData, RecordChangeDataJoiner<T> recordJoiner, ColumnModel newColumnModel)
<T> Grid
TestingGrid. join(ChangeData<T> changeData, RowChangeDataFlatJoiner<T> rowJoiner, ColumnModel newColumnModel)
<T> Grid
TestingGrid. join(ChangeData<T> changeData, RowChangeDataJoiner<T> rowJoiner, ColumnModel newColumnModel)
Grid
TestingRunner. loadGrid(File path)
Grid
TestingRunner. loadTextFile(String path, MultiFileReadingProgress progress, Charset encoding)
Grid
TestingRunner. loadTextFile(String path, MultiFileReadingProgress progress, Charset encoding, long limit)
Grid
TestingGrid. mapRecords(RecordMapper mapper, ColumnModel newColumnModel)
Grid
TestingGrid. mapRows(RowMapper mapper, ColumnModel newColumnModel)
<S extends Serializable>
GridTestingGrid. mapRows(RowScanMapper<S> mapper, ColumnModel newColumnModel)
Grid
TestingGrid. removeRecords(RecordFilter filter)
Grid
TestingGrid. removeRows(RowFilter filter)
Grid
TestingGrid. reorderRecords(SortingConfig sortingConfig, boolean permanent)
Grid
TestingGrid. reorderRows(SortingConfig sortingConfig, boolean permanent)
Grid
TestingGrid. withColumnModel(ColumnModel newColumnModel)
Grid
TestingGrid. withOverlayModels(Map<String,OverlayModel> overlayModel)
Methods in org.openrefine.runners.testing with parameters of type Grid Modifier and Type Method Description static void
RunnerTestBase. assertGridEquals(Grid actual, Grid expected)
BecauseGrid
implementations are not required to use theObject.equals(Object)
method to compare the contents of grids, we use this helper to check that two grids have the same contents.Grid
TestingGrid. concatenate(Grid other)
-
Uses of Grid in org.openrefine.sorting
Constructors in org.openrefine.sorting with parameters of type Grid Constructor Description BaseSorter(Grid state, SortingConfig config)
RecordSorter(Grid state, SortingConfig config)
RowSorter(Grid state, SortingConfig config)
-
Uses of Grid in org.openrefine.wikibase.exporters
Methods in org.openrefine.wikibase.exporters with parameters of type Grid Modifier and Type Method Description void
QuickStatementsExporter. export(Grid grid, ProjectMetadata projectMetadata, long projectId, Properties options, Engine engine, Writer writer)
void
SchemaExporter. export(Grid grid, ProjectMetadata projectMetadata, long projectId, Properties options, Engine engine, Writer writer)
void
QuickStatementsExporter. translateSchema(Grid grid, Engine engine, WikibaseSchema schema, Writer writer)
Exports a project and a schema to a QuickStatements file -
Uses of Grid in org.openrefine.wikibase.operations
Methods in org.openrefine.wikibase.operations with parameters of type Grid Modifier and Type Method Description ChangeResult
PerformWikibaseEditsOperation. apply(Grid projectState, ChangeContext context)
ChangeResult
SaveWikibaseSchemaOperation. apply(Grid projectState, ChangeContext context)
-
Uses of Grid in org.openrefine.wikibase.schema
Methods in org.openrefine.wikibase.schema with parameters of type Grid Modifier and Type Method Description List<EntityEdit>
WikibaseSchema. evaluate(Grid grid, Engine engine)
Same as above, ignoring any warnings.List<EntityEdit>
WikibaseSchema. evaluate(Grid grid, Engine engine, QAWarningStore warningStore)
Evaluates the schema on a project, returning a list of EntityUpdates generated by the schema.
-