Uses of Class
org.openrefine.model.ColumnModel
-
-
Uses of ColumnModel in org.openrefine.browsing.facets
Fields in org.openrefine.browsing.facets declared as ColumnModel Modifier and Type Field Description protected ColumnModel
RangeFacet. _columnModel
protected ColumnModel
TimeRangeFacet. _columnModel
protected ColumnModel
ScatterplotFacet. columnModel
Methods in org.openrefine.browsing.facets with parameters of type ColumnModel Modifier and Type Method Description Facet
FacetConfig. apply(ColumnModel columnModel, Map<String,OverlayModel> overlayModels, long projectId)
Instantiates the given facet on a particular column model.ListFacet
ListFacet.ListFacetConfig. apply(ColumnModel columnModel, Map<String,OverlayModel> overlayModels, long projectId)
RangeFacet
RangeFacet.RangeFacetConfig. apply(ColumnModel columnModel, Map<String,OverlayModel> overlayModels, long projectId)
ScatterplotFacet
ScatterplotFacet.ScatterplotFacetConfig. apply(ColumnModel columnModel, Map<String,OverlayModel> overlayModels, long projectId)
Facet
StringFacet.Config. apply(ColumnModel columnModel, Map<String,OverlayModel> overlayModels, long projectId)
TextSearchFacet
TextSearchFacet.TextSearchFacetConfig. apply(ColumnModel columnModel, Map<String,OverlayModel> overlayModels, long projectId)
TimeRangeFacet
TimeRangeFacet.TimeRangeFacetConfig. apply(ColumnModel columnModel, Map<String,OverlayModel> overlayModels, long projectId)
Constructors in org.openrefine.browsing.facets with parameters of type ColumnModel Constructor Description ListFacet(ListFacet.ListFacetConfig config, ColumnModel model, Map<String,OverlayModel> overlayModels, long projectId)
RangeFacet(RangeFacet.RangeFacetConfig config, int cellIndex, ColumnModel columnModel, Map<String,OverlayModel> overlayModels, long projectId)
ScatterplotFacet(ScatterplotFacet.ScatterplotFacetConfig config, int cellIndexX, int cellIndexY, ColumnModel columnModel, Map<String,OverlayModel> overlayModels)
TimeRangeFacet(TimeRangeFacet.TimeRangeFacetConfig config, int cellIndex, ColumnModel columnModel, Map<String,OverlayModel> overlayModels, long projectId)
-
Uses of ColumnModel in org.openrefine.browsing.util
Fields in org.openrefine.browsing.util declared as ColumnModel Modifier and Type Field Description protected ColumnModel
ExpressionBasedRowEvaluable. _columnModel
protected ColumnModel
StringValuesFacetAggregator. _columnModel
Constructors in org.openrefine.browsing.util with parameters of type ColumnModel Constructor Description ExpressionBasedRowEvaluable(String columnName, int cellIndex, Evaluable eval, ColumnModel columnModel, Map<String,OverlayModel> overlayModels, long projectId)
StringValuesFacetAggregator(ColumnModel columnModel, int cellIndex, RowEvaluable evaluable, Set<String> selected, boolean selectBlanks, boolean selectErrors, boolean invert)
Constructor. -
Uses of ColumnModel in org.openrefine.commands.expr
Methods in org.openrefine.commands.expr with parameters of type ColumnModel Modifier and Type Method Description protected static PreviewExpressionCommand.RowResult
PreviewExpressionCommand. evaluate(Properties bindings, ColumnModel columnModel, IndexedRow indexedRow, Record record, String columnName, Cell cell, Map<String,OverlayModel> overlayModels, long projectId, Evaluable eval, boolean repeat, int repeatCount)
-
Uses of ColumnModel in org.openrefine.commands.project
Fields in org.openrefine.commands.project declared as ColumnModel Modifier and Type Field Description protected ColumnModel
GetModelsCommand.ModelsResponse. columnModel
Constructors in org.openrefine.commands.project with parameters of type ColumnModel Constructor Description ModelsResponse(ColumnModel columns, Map<String,OverlayModel> overlays, Map<String,MetaParser.LanguageInfo> languageInfos, Map<String,HttpHeadersSupport.HttpHeaderInfo> headers)
-
Uses of ColumnModel in org.openrefine.expr
Fields in org.openrefine.expr declared as ColumnModel Modifier and Type Field Description ColumnModel
CellTuple. columnModel
ColumnModel
WrappedRow. columnModel
Methods in org.openrefine.expr with parameters of type ColumnModel Modifier and Type Method Description 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 ColumnModel 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 ColumnModel in org.openrefine.history.dag
Fields in org.openrefine.history.dag declared as ColumnModel Modifier and Type Field Description ColumnModel
OpaqueSlice. columnModel
Methods in org.openrefine.history.dag that return ColumnModel Modifier and Type Method Description ColumnModel
AdditionSlice. applyToColumns(ColumnModel columns)
ColumnModel
DagSlice. applyToColumns(ColumnModel columns)
Given the list of columns before the change, return the list of columns after the slice.ColumnModel
OpaqueSlice. applyToColumns(ColumnModel columns)
ColumnModel
ReorderSlice. applyToColumns(ColumnModel columns)
ColumnModel
TransformationSlice. applyToColumns(ColumnModel columns)
ColumnModel
IncompatibleSliceException. getColumnModel()
ColumnModel
OpaqueSlice. getColumnModel()
Methods in org.openrefine.history.dag with parameters of type ColumnModel Modifier and Type Method Description ColumnModel
AdditionSlice. applyToColumns(ColumnModel columns)
ColumnModel
DagSlice. applyToColumns(ColumnModel columns)
Given the list of columns before the change, return the list of columns after the slice.ColumnModel
OpaqueSlice. applyToColumns(ColumnModel columns)
ColumnModel
ReorderSlice. applyToColumns(ColumnModel columns)
ColumnModel
TransformationSlice. applyToColumns(ColumnModel columns)
Constructors in org.openrefine.history.dag with parameters of type ColumnModel Constructor Description IncompatibleSliceException(DagSlice slice, ColumnModel columns)
OpaqueSlice(ColumnModel columnModel)
Creates an opaque slice. -
Uses of ColumnModel in org.openrefine.importers
Methods in org.openrefine.importers that return ColumnModel Modifier and Type Method Description static ColumnModel
ImporterUtilities. expandColumnModelIfNeeded(ColumnModel columnModel, int c)
Adds columns to a column model if it misses one column to store a cell at a given index.protected ColumnModel
LegacyProjectImporter. loadColumnModel(LineNumberReader reader)
static ColumnModel
ImporterUtilities. setupColumns(List<String> columnNames)
Methods in org.openrefine.importers with parameters of type ColumnModel Modifier and Type Method Description static ColumnModel
ImporterUtilities. expandColumnModelIfNeeded(ColumnModel columnModel, int c)
Adds columns to a column model if it misses one column to store a cell at a given index. -
Uses of ColumnModel in org.openrefine.importers.tree
Methods in org.openrefine.importers.tree that return ColumnModel Modifier and Type Method Description static ColumnModel
TreeImportUtilities. createColumnsFromImport(ColumnModel columnModel, ImportColumnGroup columnGroup, List<Integer> columnIndexTranslation)
Methods in org.openrefine.importers.tree with parameters of type ColumnModel Modifier and Type Method Description static ColumnModel
TreeImportUtilities. createColumnsFromImport(ColumnModel columnModel, ImportColumnGroup columnGroup, List<Integer> columnIndexTranslation)
-
Uses of ColumnModel in org.openrefine.model
Fields in org.openrefine.model declared as ColumnModel Modifier and Type Field Description ColumnModel
Grid.Metadata. columnModel
Methods in org.openrefine.model that return ColumnModel Modifier and Type Method Description ColumnModel
ColumnModel. appendUnduplicatedColumn(ColumnMetadata columnMetadata)
Shortcut forinsertUnduplicatedColumn(int, ColumnMetadata)
, for inserting at the last position.ColumnModel
Grid. getColumnModel()
ColumnModel
Project. getColumnModel()
Convenience function to return the current column model from the history.ColumnModel
ColumnModel. insertColumn(int index, ColumnMetadata column)
Inserts a column at the given index.ColumnModel
ColumnModel. insertUnduplicatedColumn(int index, ColumnMetadata column)
Inserts a column at the given index, possibly changing the name to ensure that it does not conflict with any other column.ColumnModel
ColumnModel. merge(ColumnModel other)
Given another column model with the same number of columns, merge the recon configuration and other metadata in each n-th column.ColumnModel
ColumnModel. removeColumn(int index)
Removes a column at the given index.ColumnModel
ColumnModel. renameColumn(int index, String newName)
Change the name of a column.ColumnModel
ColumnModel. replaceColumn(int index, ColumnMetadata column)
Replace a column metadata at the given index.ColumnModel
ColumnModel. withHasRecords(boolean newHasRecords)
Returns a copy of this column model with a different value for thehasRecords()
field.ColumnModel
ColumnModel. withKeyColumnIndex(int keyColumnIndex)
Returns a copy of this column model with a different key column.ColumnModel
ColumnModel. withReconConfig(int index, ReconConfig config)
Replaces the recon config at the given column index.Methods in org.openrefine.model with parameters of type ColumnModel Modifier and Type Method Description Grid
Grid. flatMapRows(RowFlatMapper mapper, ColumnModel newColumnModel)
Returns a new grid, where the rows have been mapped by the flat mapper.CellTuple
Row. getCellTuple(ColumnModel columnModel)
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.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.ColumnModel
ColumnModel. merge(ColumnModel other)
Given another column model with the same number of columns, merge the recon configuration and other metadata in each n-th column.Grid
Grid. withColumnModel(ColumnModel newColumnModel)
-
Uses of ColumnModel in org.openrefine.model.recon
Methods in org.openrefine.model.recon with parameters of type ColumnModel 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 ColumnModel in org.openrefine.operations
Fields in org.openrefine.operations declared as ColumnModel Modifier and Type Field Description protected ColumnModel
RowMapOperation.GridMap. columnModel
Methods in org.openrefine.operations that return ColumnModel Modifier and Type Method Description 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.Methods in org.openrefine.operations with parameters of type ColumnModel Modifier and Type Method Description static RowInRecordChangeDataProducer<Cell>
ExpressionBasedOperation. evaluatingChangeDataProducer(int columnIndex, String baseColumnName, OnError onError, int repeatCount, Evaluable eval, ColumnModel columnModel, Map<String,OverlayModel> overlayModels, long projectId)
Constructors in org.openrefine.operations with parameters of type ColumnModel Constructor Description GridMap(ColumnModel columnModel, RowInRecordMapper positiveMapper, RowInRecordMapper negativeMapper, Map<String,OverlayModel> overlayModels)
-
Uses of ColumnModel in org.openrefine.operations.column
Methods in org.openrefine.operations.column that return ColumnModel Modifier and Type Method Description 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)
-
Uses of ColumnModel in org.openrefine.operations.recon
Methods in org.openrefine.operations.recon that return ColumnModel Modifier and Type Method Description protected ColumnModel
ReconMarkNewTopicsOperation. getNewColumnModel(Grid state, ChangeContext context)
protected ColumnModel
ReconUseValuesAsIdentifiersOperation. getNewColumnModel(Grid newState, ChangeContext context)
Constructors in org.openrefine.operations.recon with parameters of type ColumnModel Constructor Description ReconChangeDataProducer(String columnName, int columnIndex, ReconConfig reconConfig, long historyEntryId, ColumnModel columnModel)
-
Uses of ColumnModel in org.openrefine.runners.local
Fields in org.openrefine.runners.local declared as ColumnModel Modifier and Type Field Description protected ColumnModel
LocalGrid. columnModel
Methods in org.openrefine.runners.local that return ColumnModel Modifier and Type Method Description ColumnModel
LocalGrid. getColumnModel()
Methods in org.openrefine.runners.local with parameters of type ColumnModel Modifier and Type Method Description 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. mapRecords(RecordMapper mapper, ColumnModel newColumnModel)
Grid
LocalGrid. mapRows(RowMapper mapper, ColumnModel newColumnModel)
<S extends Serializable>
GridLocalGrid. mapRows(RowScanMapper<S> mapper, ColumnModel newColumnModel)
Grid
LocalGrid. withColumnModel(ColumnModel newColumnModel)
Constructors in org.openrefine.runners.local with parameters of type ColumnModel Constructor Description LocalGrid(LocalRunner runner, ColumnModel columnModel, PairPLL<Long,IndexedRow> grid, Map<String,OverlayModel> overlayModels, long cachedRecordCount)
Constructs a grid, supplying all required fields.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.LocalGrid(PairPLL<Long,Record> records, LocalRunner runner, ColumnModel columnModel, Map<String,OverlayModel> overlayModels, long rowCount)
Constructs a grid from a grid of records. -
Uses of ColumnModel in org.openrefine.runners.local.logging
Methods in org.openrefine.runners.local.logging that return ColumnModel Modifier and Type Method Description ColumnModel
LoggedGrid. getColumnModel()
Methods in org.openrefine.runners.local.logging with parameters of type ColumnModel Modifier and Type Method Description 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. mapRecords(RecordMapper mapper, ColumnModel newColumnModel)
Grid
LoggedGrid. mapRows(RowMapper mapper, ColumnModel newColumnModel)
<S extends Serializable>
GridLoggedGrid. mapRows(RowScanMapper<S> mapper, ColumnModel newColumnModel)
Grid
LoggedGrid. withColumnModel(ColumnModel newColumnModel)
-
Uses of ColumnModel in org.openrefine.runners.testing
Methods in org.openrefine.runners.testing that return ColumnModel Modifier and Type Method Description ColumnModel
TestingGrid. getColumnModel()
Methods in org.openrefine.runners.testing with parameters of type ColumnModel Modifier and Type Method Description 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
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. withColumnModel(ColumnModel newColumnModel)
Constructors in org.openrefine.runners.testing with parameters of type ColumnModel Constructor Description TestingGrid(List<IndexedRow> indexedRows, ColumnModel columnModel, Map<String,OverlayModel> overlayModels)
TestingGrid(ColumnModel columnModel, List<Row> rows, Map<String,OverlayModel> overlayModels)
-
Uses of ColumnModel in org.openrefine.sorting
Methods in org.openrefine.sorting with parameters of type ColumnModel Modifier and Type Method Description Criterion.KeyMaker
BooleanCriterion. createKeyMaker(ColumnModel columnModel)
abstract Criterion.KeyMaker
Criterion. createKeyMaker(ColumnModel columnModel)
Instantiates the criterion on a particular column model, making it possible to compare two rows together (since we now have access to the column index of the target column).Criterion.KeyMaker
DateCriterion. createKeyMaker(ColumnModel columnModel)
Criterion.KeyMaker
NumberCriterion. createKeyMaker(ColumnModel columnModel)
Criterion.KeyMaker
StringCriterion. createKeyMaker(ColumnModel columnModel)
Constructors in org.openrefine.sorting with parameters of type ColumnModel Constructor Description KeyMaker(ColumnModel columnModel, String columnName)
-
Uses of ColumnModel in org.openrefine.templating
Methods in org.openrefine.templating with parameters of type ColumnModel 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)
void
Template. writeRecords(CloseableIterator<Record> records, Writer writer, ColumnModel columnModel, Map<String,OverlayModel> overlayModels, long projectId, int limit)
void
Template. writeRows(CloseableIterator<IndexedRow> rows, Writer writer, ColumnModel columnModel, Map<String,OverlayModel> overlayModels, long projectId, int limit)
-
Uses of ColumnModel in org.openrefine.wikibase.operations
Fields in org.openrefine.wikibase.operations declared as ColumnModel Modifier and Type Field Description protected ColumnModel
PerformWikibaseEditsOperation.RowEditingResultsProducer. columnModel
-
Uses of ColumnModel in org.openrefine.wikibase.schema
Methods in org.openrefine.wikibase.schema that return ColumnModel Modifier and Type Method Description ColumnModel
ExpressionContext. getColumnModel()
Methods in org.openrefine.wikibase.schema with parameters of type ColumnModel Modifier and Type Method Description List<EntityEdit>
WikibaseSchema. evaluate(ColumnModel columnModel, Iterable<IndexedRow> indexedRows, QAWarningStore warningStore)
Evaluates the schema on a list of rows, returning a list of EntityUpdates generated by the schema.Constructors in org.openrefine.wikibase.schema with parameters of type ColumnModel 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 -
Uses of ColumnModel in org.openrefine.wikibase.schema.validation
Methods in org.openrefine.wikibase.schema.validation that return ColumnModel Modifier and Type Method Description ColumnModel
ValidationState. getColumnModel()
Returns the column model in the context of which this schema is validated.Constructors in org.openrefine.wikibase.schema.validation with parameters of type ColumnModel Constructor Description ValidationState(ColumnModel columnModel)
-