Uses of Class
org.openrefine.model.Row
-
-
Uses of Row in org.openrefine
Methods in org.openrefine that return types with arguments of type Row Modifier and Type Method Description protected List<Row>
RefineTest. toRows(Cell[][] cells)
-
Uses of Row in org.openrefine.browsing.facets
Methods in org.openrefine.browsing.facets with parameters of type Row Modifier and Type Method Description protected com.google.common.collect.ImmutableList<ColumnStats>
AllFacetsAggregator. updateColumnStats(List<ColumnStats> statistics, Row row)
AllFacetsState
AllFacetsAggregator. withRow(AllFacetsState states, long rowId, Row row, Record record)
T
RowAggregator. withRow(T state, long rowId, Row row)
Adds statistics obtained from a single row to the aggregation state.T
RowInRecordAggregator. withRow(T state, long rowId, Row row)
abstract T
RowInRecordAggregator. withRow(T state, long rowId, Row row, Record record)
Adds statistics obtained from a single row to the facet state.StringFacetState
StringFacetAggregator. withRow(StringFacetState state, long rowId, Row row, Record record)
TextSearchFacet.TextSearchFacetState
TextSearchFacet.TextSearchAggregator. withRow(TextSearchFacet.TextSearchFacetState state, long rowId, Row row, Record record)
T
FacetAggregator. withRowOutsideView(T state, long rowId, Row row, Record record)
LikeRowAggregator.withRow(Object, long, Row)
} except that this method is called on rows that are excluded by at least two facets, so the values in this row do not normally count towards the statistics displayed in facets. -
Uses of Row in org.openrefine.browsing.filters
Methods in org.openrefine.browsing.filters with parameters of type Row Modifier and Type Method Description boolean
DualExpressionsNumberComparisonRowFilter. filterRow(long rowIndex, Row row, Record record)
boolean
ExpressionEqualRowFilter. filterRow(long rowIndex, Row row, Record record)
boolean
ExpressionNumberComparisonRowFilter. filterRow(long rowIndex, Row row, Record record)
boolean
ExpressionStringComparisonRowFilter. filterRow(long rowIndex, Row row, Record record)
boolean
ExpressionEqualRowFilter. internalFilterRow(long rowIndex, Row row, Record record)
-
Uses of Row in org.openrefine.browsing.util
Methods in org.openrefine.browsing.util with parameters of type Row Modifier and Type Method Description Object
ExpressionBasedRowEvaluable. eval(long rowIndex, Row row, Record record, Properties bindings)
Object
RowEvaluable. eval(long rowIndex, Row row, Record record, Properties bindings)
Evaluate on a given row.T
ExpressionValueFacetAggregator. withRow(T state, long rowId, Row row, Record record)
ScatterplotFacetState
ScatterplotFacetAggregator. withRow(ScatterplotFacetState state, long rowId, Row row, Record record)
ScatterplotFacetState
ScatterplotFacetAggregator. withRow(ScatterplotFacetState state, long rowId, Row row, Record record, boolean inView)
T
ExpressionValueFacetAggregator. withRowOutsideView(T state, long rowId, Row row, Record record)
ScatterplotFacetState
ScatterplotFacetAggregator. withRowOutsideView(ScatterplotFacetState state, long rowId, Row row, Record record)
-
Uses of Row in org.openrefine.commands.row
Fields in org.openrefine.commands.row declared as Row Modifier and Type Field Description protected Row
GetRowsCommand.WrappedRow. row
Constructors in org.openrefine.commands.row with parameters of type Row Constructor Description WrappedRow(Row rowOrRecord, long rowIndex, Long recordIndex, long paginationIndex)
-
Uses of Row in org.openrefine.expr
Fields in org.openrefine.expr declared as Row Modifier and Type Field Description Row
CellTuple. row
Row
WrappedRow. row
Methods in org.openrefine.expr with parameters of type Row Modifier and Type Method Description void
Binder. bind(Properties bindings, Row row, long rowIndex, String columnName, Cell cell)
static void
ExpressionUtils. bind(Properties bindings, ColumnModel columnModel, Row row, long rowIndex, Record record, String columnName, Cell cell, Map<String,OverlayModel> overlayModels, long projectId)
Prepares the context for the evaluation of an expression by storing certain context objects within the supplied bindings.static boolean
ExpressionUtils. dependsOnPendingValues(Evaluable evaluable, String baseColumnName, ColumnModel columnModel, Row row, Record record)
Checks if the given expression relies on any pending cells in the given evaluation context.Constructors in org.openrefine.expr with parameters of type Row Constructor Description CellTuple(ColumnModel columnModel, Row row)
WrappedRow(ColumnModel columnModel, long rowIndex, Row row)
Constructor to be used when the wrapped row is used in rows mode, where no record is available.WrappedRow(ColumnModel columnModel, long rowIndex, Row row, Record record)
Constructor to be used when the wrapped row is used in records mode, when the enclosing record is available. -
Uses of Row in org.openrefine.importers
Methods in org.openrefine.importers that return Row Modifier and Type Method Description Row
LegacyProjectImporter.SerializedRow. toRow(Map<Long,Recon> pool)
Method parameters in org.openrefine.importers with type arguments of type Row Modifier and Type Method Description void
JsonImporter. parseOneFile(TreeImportUtilities.ColumnIndexAllocator allocator, List<Row> rows, ProjectMetadata metadata, ImportingJob job, String fileSource, String archiveFileName, InputStream is, ImportColumnGroup rootColumnGroup, 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.void
XmlImporter. parseOneFile(TreeImportUtilities.ColumnIndexAllocator allocator, List<Row> rows, ProjectMetadata metadata, ImportingJob job, String fileSource, String archiveName, InputStream inputStream, ImportColumnGroup rootColumnGroup, long limit, com.fasterxml.jackson.databind.node.ObjectNode options)
-
Uses of Row in org.openrefine.importers.tree
Method parameters in org.openrefine.importers.tree with type arguments of type Row Modifier and Type Method Description protected static void
XmlImportUtilities. addImportRecordToProject(ImportRecord record, List<Row> project, boolean includeFileSources, String fileSource, boolean includeArchiveName, String archiveName)
protected static void
XmlImportUtilities. findRecord(TreeImportUtilities.ColumnIndexAllocator allocator, List<Row> rows, TreeReader parser, String[] recordPath, int pathIndex, ImportColumnGroup rootColumnGroup, int limit, ImportParameters parameters)
Deprecated.Use the version of this method which expands all parameters in the signature of the functionprotected static void
XmlImportUtilities. findRecord(TreeImportUtilities.ColumnIndexAllocator columnIndexAllocator, List<Row> rows, TreeReader parser, String[] recordPath, int pathIndex, ImportColumnGroup rootColumnGroup, long limit, boolean trimStrings, boolean storeEmptyStrings, boolean guessDataTypes, boolean includeFileSource, String fileSource, boolean includeArchiveName, String archiveFileName)
static void
XmlImportUtilities. importTreeData(TreeReader parser, TreeImportUtilities.ColumnIndexAllocator columnIndexAllocator, List<Row> rows, String[] recordPath, ImportColumnGroup rootColumnGroup, int limit, ImportParameters parameters)
Deprecated.2020-07-23 Use the version of this method which expands all parameters in the signature of the functionstatic void
XmlImportUtilities. importTreeData(TreeReader parser, TreeImportUtilities.ColumnIndexAllocator columnIndexAllocator, List<Row> rows, String[] recordPath, ImportColumnGroup rootColumnGroup, long limit, boolean trimStrings, boolean storeEmptyStrings, boolean guessDataTypes, boolean includeFileSources, String fileSource, boolean includeArchiveName, String archiveFileName)
void
TreeImportingParserBase. parseOneFile(TreeImportUtilities.ColumnIndexAllocator allocator, List<Row> rows, ProjectMetadata metadata, ImportingJob job, String fileSource, String archiveFileName, InputStream inputStream, ImportColumnGroup rootColumnGroup, long limit, com.fasterxml.jackson.databind.node.ObjectNode options)
Parse a single file from an InputStream.protected void
TreeImportingParserBase. parseOneFile(TreeImportUtilities.ColumnIndexAllocator allocator, List<Row> rows, ProjectMetadata metadata, ImportingJob job, String fileSource, String archiveFileName, TreeReader treeParser, ImportColumnGroup rootColumnGroup, long limit, com.fasterxml.jackson.databind.node.ObjectNode options)
Parse a single file from a TreeReader.void
TreeImportingParserBase. parseOneFile(TreeImportUtilities.ColumnIndexAllocator allocator, List<Row> rows, ProjectMetadata metadata, ImportingJob job, ImportingFileRecord fileRecord, ImportColumnGroup rootColumnGroup, long limit, com.fasterxml.jackson.databind.node.ObjectNode options, MultiFileReadingProgress progress)
protected static void
XmlImportUtilities. processFieldAsRecord(TreeImportUtilities.ColumnIndexAllocator columnIndexAllocator, List<Row> rows, TreeReader parser, ImportColumnGroup rootColumnGroup, boolean trimStrings, boolean storeEmptyStrings, boolean guessDataType, boolean includeFileSources, String fileSource, boolean includeArchiveName, String archiveFileName)
processFieldAsRecord parses Tree data for a single element and its sub-elements, adding the parsed data as a row to the projectprotected static void
XmlImportUtilities. processRecord(TreeImportUtilities.ColumnIndexAllocator columnIndexAllocator, List<Row> rows, TreeReader parser, ImportColumnGroup rootColumnGroup, boolean trimStrings, boolean storeEmptyStrings, boolean guessDataTypes, boolean includeFileSources, String fileSource, boolean includeArchiveName, String archiveFileName)
processRecord parses Tree data for a single element and it's sub-elements, adding the parsed data as a row to the projectprotected static void
XmlImportUtilities. processRecord(TreeImportUtilities.ColumnIndexAllocator allocator, List<Row> rows, TreeReader parser, ImportColumnGroup rootColumnGroup, ImportParameters parameter)
Deprecated.Use the version of this method which expands all parameters in the signature of the functionprotected static void
XmlImportUtilities. processSubRecord(TreeImportUtilities.ColumnIndexAllocator columnIndexAllocator, List<Row> rows, TreeReader parser, ImportColumnGroup columnGroup, ImportRecord record, int level, boolean trimStrings, boolean storeEmptyStrings, boolean guessDataType)
protected static void
XmlImportUtilities. processSubRecord(TreeImportUtilities.ColumnIndexAllocator columnIndexAllocator, List<Row> rows, TreeReader parser, ImportColumnGroup columnGroup, ImportRecord record, int level, ImportParameters parameter)
Deprecated. -
Uses of Row in org.openrefine.model
Methods in org.openrefine.model that return Row Modifier and Type Method Description Row
RowBuilder. build()
Builds the row.Row
RowBuilder. build(int size)
Builds the row, ensuring that it has a given final size.Row
RowInRecordMapper. call(long rowId, Row row)
abstract Row
RowInRecordMapper. call(Record record, long rowId, Row row)
Maps a row, in the context of a record.Row
RowMapper. call(long rowId, Row row)
Row
Grid. getRow(long id)
Returns a row by index.Row
IndexedRow. getRow()
The rowRow
Row. insertCell(int index, Cell cell)
Inserts a cell at a given index.Row
Row. insertCells(int index, List<Cell> cells)
Insest multiple cells contiguously, starting at a given indexstatic Row
Row. load(String s)
static Row
Row. loadStreaming(String s)
Row
RowScanMapper. map(S state, long rowId, Row row)
Given the accumulated state of all the previous rows (the list of states produced by feed and merged using combine), transform the current row to a new one.Row
Row. padWithNull(int finalSize)
Returns a copy of this row with null cells added at the end, such that the new row has the supplied size.Row
Row. removeCell(int index)
Removes a cell from the row (removing the corresponding column).Row
Row. withCell(int index, Cell cell)
Overwrite a cell at a given index.Row
Row. withFlagged(boolean newFlagged)
Changes the flag on the row.Row
Row. withStarred(boolean newStarred)
Changes the star on the row.Methods in org.openrefine.model that return types with arguments of type Row Modifier and Type Method Description List<Row>
RecordMapper. call(Record record)
Maps a record to a list of rows.List<Row>
RowFlatMapper. call(long rowId, Row row)
List<Row>
RowInRecordMapper. call(Record record)
List<Row>
Record. getRows()
The rows contained in this record.Methods in org.openrefine.model with parameters of type Row Modifier and Type Method Description Cell
RowCellMapper. apply(long rowId, Row row)
List<Row>
RowFlatMapper. call(long rowId, Row row)
Row
RowInRecordMapper. call(long rowId, Row row)
abstract Row
RowInRecordMapper. call(Record record, long rowId, Row row)
Maps a row, in the context of a record.Row
RowMapper. call(long rowId, Row row)
S
RowScanMapper. feed(long rowId, Row row)
Produces the state associated with a given row.boolean
RowFilter. filterRow(long rowIndex, Row row)
boolean
RowInRecordFilter. filterRow(long rowIndex, Row row)
abstract boolean
RowInRecordFilter. filterRow(long rowIndex, Row row, Record record)
Determines if a row matches the filter.static RowBuilder
RowBuilder. fromRow(Row initialRow)
Helper to make instantiation easier.static boolean
Record. isRecordStart(Row row, int keyCellIndex)
Determines when a row marks the start of a new record.Row
RowScanMapper. map(S state, long rowId, Row row)
Given the accumulated state of all the previous rows (the list of states produced by feed and merged using combine), transform the current row to a new one.Method parameters in org.openrefine.model with type arguments of type Row Modifier and Type Method Description 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.static CloseableIterator<Record>
Record. groupIntoRecords(CloseableIterator<IndexedRow> parentIter, int keyCellIndex, boolean ignoreFirstRows, List<Row> additionalRows)
Groups a stream of indexed rows into a stream of records.Constructors in org.openrefine.model with parameters of type Row Constructor Description IndexedRow(long id, Long originalId, Row row)
IndexedRow(long id, Row row)
RowBuilder(Row initialRow)
Constructs a new row builder whose state replicates that of an initial rowConstructor parameters in org.openrefine.model with type arguments of type Row Constructor Description Record(long startRowIndex, Long startRowOriginalIndex, List<Row> rows)
Record(long startRowIndex, List<Row> rows)
-
Uses of Row in org.openrefine.model.changes
Methods in org.openrefine.model.changes that return Row Modifier and Type Method Description Row
RowChangeDataJoiner. call(Row row, IndexedData<T> indexedData)
Given a row, its id and the pre-computed change data for this row, return the new row after the change.Methods in org.openrefine.model.changes that return types with arguments of type Row Modifier and Type Method Description List<Row>
RecordChangeDataJoiner. call(Record record, IndexedData<T> indexedData)
Given a record and the pre-computed change data for this record, return the new rows in the record after the change.List<Row>
RowChangeDataFlatJoiner. call(Row row, IndexedData<T> indexedData)
Given a row, its id and the pre-computed change data for this row, return the new row after the change.List<Row>
RowInRecordChangeDataJoiner. call(Record record, IndexedData<List<Cell>> indexedData)
Methods in org.openrefine.model.changes with parameters of type Row Modifier and Type Method Description List<Row>
RowChangeDataFlatJoiner. call(Row row, IndexedData<T> indexedData)
Given a row, its id and the pre-computed change data for this row, return the new row after the change.Row
RowChangeDataJoiner. call(Row row, IndexedData<T> indexedData)
Given a row, its id and the pre-computed change data for this row, return the new row after the change.T
RowChangeDataProducer. call(long rowId, Row row)
Compute the change data on a given row.T
RowInRecordChangeDataProducer. call(long rowId, Row row)
abstract T
RowInRecordChangeDataProducer. call(Record record, long rowId, Row row)
Maps a row, in the context of a record. -
Uses of Row in org.openrefine.model.recon
Methods in org.openrefine.model.recon with parameters of type Row Modifier and Type Method Description ReconJob
DataExtensionReconConfig. createJob(ColumnModel columnModel, long rowIndex, Row row, String columnName, Cell cell)
abstract ReconJob
ReconConfig. createJob(ColumnModel columnModel, long rowIndex, Row row, String columnName, Cell cell)
ReconJob
StandardReconConfig. createJob(ColumnModel columnModel, long rowIndex, Row row, String columnName, Cell cell)
-
Uses of Row in org.openrefine.operations
Methods in org.openrefine.operations that return Row Modifier and Type Method Description Row
ExpressionBasedOperation.NegativeRowMapper. call(Record record, long rowId, Row row)
Row
ExpressionBasedOperation.PositiveRowMapper. call(Record record, long rowId, Row row)
Methods in org.openrefine.operations with parameters of type Row Modifier and Type Method Description Row
ExpressionBasedOperation.NegativeRowMapper. call(Record record, long rowId, Row row)
Row
ExpressionBasedOperation.PositiveRowMapper. call(Record record, long rowId, Row row)
-
Uses of Row in org.openrefine.operations.cell
Methods in org.openrefine.operations.cell that return Row Modifier and Type Method Description Row
TextTransformOperation.Joiner. call(Row row, IndexedData<Cell> indexedData)
Methods in org.openrefine.operations.cell with parameters of type Row Modifier and Type Method Description Row
TextTransformOperation.Joiner. call(Row row, IndexedData<Cell> indexedData)
-
Uses of Row in org.openrefine.operations.column
Methods in org.openrefine.operations.column that return Row Modifier and Type Method Description Row
ColumnAdditionOperation.Joiner. call(Row row, IndexedData<Cell> indexedData)
Methods in org.openrefine.operations.column with parameters of type Row Modifier and Type Method Description Cell
ColumnAdditionByFetchingURLsOperation.URLFetchingChangeProducer. call(Record record, long rowId, Row row)
Row
ColumnAdditionOperation.Joiner. call(Row row, IndexedData<Cell> indexedData)
-
Uses of Row in org.openrefine.operations.recon
Methods in org.openrefine.operations.recon that return Row Modifier and Type Method Description Row
ReconOperation.Joiner. call(Row row, IndexedData<Cell> indexedData)
Methods in org.openrefine.operations.recon that return types with arguments of type Row Modifier and Type Method Description List<Row>
ExtendDataOperation.DataExtensionJoiner. call(Record record, IndexedData<ReconciledDataExtensionJob.RecordDataExtension> indexedData)
Methods in org.openrefine.operations.recon with parameters of type Row Modifier and Type Method Description Row
ReconOperation.Joiner. call(Row row, IndexedData<Cell> indexedData)
Cell
ReconOperation.ReconChangeDataProducer. call(Record record, long rowId, Row row)
boolean
ReconOperation.NonBlankRowFilter. filterRow(long rowIndex, Row row)
-
Uses of Row in org.openrefine.runners.local
Methods in org.openrefine.runners.local that return Row Modifier and Type Method Description Row
LocalGrid. getRow(long id)
Methods in org.openrefine.runners.local that return types with arguments of type Row Modifier and Type Method Description protected static Tuple2<Long,Row>
LocalRunner. parseIndexedRow(String source)
Method parameters in org.openrefine.runners.local with type arguments of type Row Modifier and Type Method Description 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)
Constructor parameters in org.openrefine.runners.local with type arguments of type Row Constructor Description LocalGrid(LocalRunner runner, PairPLL<Long,Row> grid, ColumnModel columnModel, Map<String,OverlayModel> overlayModels, long cachedRecordCount)
Convenience constructor to construct a grid from a PLL of a slightly different type. -
Uses of Row in org.openrefine.runners.local.logging
Methods in org.openrefine.runners.local.logging that return Row Modifier and Type Method Description Row
LoggedGrid. getRow(long id)
Method parameters in org.openrefine.runners.local.logging with type arguments of type Row Modifier and Type Method Description 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)
-
Uses of Row in org.openrefine.runners.local.pll
Fields in org.openrefine.runners.local.pll with type parameters of type Row Modifier and Type Field Description protected List<Row>
RecordPLL.RecordPartition. additionalRows
protected List<Row>
RecordPLL.RecordEnd. rows
Method parameters in org.openrefine.runners.local.pll with type arguments of type Row Modifier and Type Method Description protected static CloseableIterator<Tuple2<Long,Record>>
RecordPLL. groupIntoRecords(CloseableIterator<IndexedRow> indexedRows, int keyCellIndex, boolean ignoreFirstRows, List<Row> additionalRows)
Constructor parameters in org.openrefine.runners.local.pll with type arguments of type Row Constructor Description RecordEnd(List<Row> rows, boolean partitionExhausted)
RecordPartition(int index, List<Row> additionalRows, Partition parent)
-
Uses of Row in org.openrefine.runners.testing
Fields in org.openrefine.runners.testing with type parameters of type Row Modifier and Type Field Description protected List<Row>
RunnerTestBase. expectedRows
Methods in org.openrefine.runners.testing that return Row Modifier and Type Method Description Row
TestingGrid. getRow(long id)
protected Row
RunnerTestBase. row(Serializable... values)
Method parameters in org.openrefine.runners.testing with type arguments of type Row Modifier and Type Method Description 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)
Constructor parameters in org.openrefine.runners.testing with type arguments of type Row Constructor Description TestingGrid(ColumnModel columnModel, List<Row> rows, Map<String,OverlayModel> overlayModels)
-
Uses of Row in org.openrefine.templating
Methods in org.openrefine.templating with parameters of type Row Modifier and Type Method Description void
Template. internalVisit(long rowIndex, Row row, long total, Writer writer, Properties bindings, ColumnModel columnModel, Map<String,OverlayModel> overlayModels, long projectId, Record record)
-
Uses of Row in org.openrefine.wikibase.operations
Methods in org.openrefine.wikibase.operations that return Row Modifier and Type Method Description Row
PerformWikibaseEditsOperation.NewReconRowJoiner. call(Row row, IndexedData<PerformWikibaseEditsOperation.RowEditingResults> indexedData)
Methods in org.openrefine.wikibase.operations with parameters of type Row Modifier and Type Method Description Row
PerformWikibaseEditsOperation.NewReconRowJoiner. call(Row row, IndexedData<PerformWikibaseEditsOperation.RowEditingResults> indexedData)
PerformWikibaseEditsOperation.RowEditingResults
PerformWikibaseEditsOperation.RowEditingResultsProducer. call(long rowId, Row row)
-
Uses of Row in org.openrefine.wikibase.schema
Constructors in org.openrefine.wikibase.schema with parameters of type Row Constructor Description ExpressionContext(String baseIRI, Map<String,String> entityTypeBaseIRIs, String mediaWikiApiEndpoint, long rowId, Row row, ColumnModel columnModel, QAWarningStore warningStore)
Builds an expression context to evaluate a schema on a row
-