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 ColumnModelRangeFacet. _columnModelprotected ColumnModelTimeRangeFacet. _columnModelprotected ColumnModelScatterplotFacet. columnModelMethods in org.openrefine.browsing.facets with parameters of type ColumnModel Modifier and Type Method Description FacetFacetConfig. apply(ColumnModel columnModel, Map<String,OverlayModel> overlayModels, long projectId)Instantiates the given facet on a particular column model.ListFacetListFacet.ListFacetConfig. apply(ColumnModel columnModel, Map<String,OverlayModel> overlayModels, long projectId)RangeFacetRangeFacet.RangeFacetConfig. apply(ColumnModel columnModel, Map<String,OverlayModel> overlayModels, long projectId)ScatterplotFacetScatterplotFacet.ScatterplotFacetConfig. apply(ColumnModel columnModel, Map<String,OverlayModel> overlayModels, long projectId)FacetStringFacet.Config. apply(ColumnModel columnModel, Map<String,OverlayModel> overlayModels, long projectId)TextSearchFacetTextSearchFacet.TextSearchFacetConfig. apply(ColumnModel columnModel, Map<String,OverlayModel> overlayModels, long projectId)TimeRangeFacetTimeRangeFacet.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 ColumnModelExpressionBasedRowEvaluable. _columnModelprotected ColumnModelStringValuesFacetAggregator. _columnModelConstructors 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.RowResultPreviewExpressionCommand. 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 ColumnModelGetModelsCommand.ModelsResponse. columnModelConstructors 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 ColumnModelCellTuple. columnModelColumnModelWrappedRow. columnModelMethods in org.openrefine.expr with parameters of type ColumnModel Modifier and Type Method Description static voidExpressionUtils. 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 booleanExpressionUtils. 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 ColumnModelOpaqueSlice. columnModelMethods in org.openrefine.history.dag that return ColumnModel Modifier and Type Method Description ColumnModelAdditionSlice. applyToColumns(ColumnModel columns)ColumnModelDagSlice. applyToColumns(ColumnModel columns)Given the list of columns before the change, return the list of columns after the slice.ColumnModelOpaqueSlice. applyToColumns(ColumnModel columns)ColumnModelReorderSlice. applyToColumns(ColumnModel columns)ColumnModelTransformationSlice. applyToColumns(ColumnModel columns)ColumnModelIncompatibleSliceException. getColumnModel()ColumnModelOpaqueSlice. getColumnModel()Methods in org.openrefine.history.dag with parameters of type ColumnModel Modifier and Type Method Description ColumnModelAdditionSlice. applyToColumns(ColumnModel columns)ColumnModelDagSlice. applyToColumns(ColumnModel columns)Given the list of columns before the change, return the list of columns after the slice.ColumnModelOpaqueSlice. applyToColumns(ColumnModel columns)ColumnModelReorderSlice. applyToColumns(ColumnModel columns)ColumnModelTransformationSlice. 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 ColumnModelImporterUtilities. 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 ColumnModelLegacyProjectImporter. loadColumnModel(LineNumberReader reader)static ColumnModelImporterUtilities. setupColumns(List<String> columnNames)Methods in org.openrefine.importers with parameters of type ColumnModel Modifier and Type Method Description static ColumnModelImporterUtilities. 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 ColumnModelTreeImportUtilities. 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 ColumnModelTreeImportUtilities. 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 ColumnModelGrid.Metadata. columnModelMethods in org.openrefine.model that return ColumnModel Modifier and Type Method Description ColumnModelColumnModel. appendUnduplicatedColumn(ColumnMetadata columnMetadata)Shortcut forinsertUnduplicatedColumn(int, ColumnMetadata), for inserting at the last position.ColumnModelGrid. getColumnModel()ColumnModelProject. getColumnModel()Convenience function to return the current column model from the history.ColumnModelColumnModel. insertColumn(int index, ColumnMetadata column)Inserts a column at the given index.ColumnModelColumnModel. 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.ColumnModelColumnModel. 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.ColumnModelColumnModel. removeColumn(int index)Removes a column at the given index.ColumnModelColumnModel. renameColumn(int index, String newName)Change the name of a column.ColumnModelColumnModel. replaceColumn(int index, ColumnMetadata column)Replace a column metadata at the given index.ColumnModelColumnModel. withHasRecords(boolean newHasRecords)Returns a copy of this column model with a different value for thehasRecords()field.ColumnModelColumnModel. withKeyColumnIndex(int keyColumnIndex)Returns a copy of this column model with a different key column.ColumnModelColumnModel. 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 GridGrid. flatMapRows(RowFlatMapper mapper, ColumnModel newColumnModel)Returns a new grid, where the rows have been mapped by the flat mapper.CellTupleRow. getCellTuple(ColumnModel columnModel)default GridRunner. gridFromIterable(ColumnModel columnModel, CloseableIterable<Row> rows, Map<String,OverlayModel> overlayModels, long rowCount, long recordCount)Creates aGridfrom an iterable collection of rows.GridRunner. gridFromList(ColumnModel columnModel, List<Row> rows, Map<String,OverlayModel> overlayModels)Creates aGridfrom an in-memory list of rows, which will be numbered from 0 to length-1.<T> GridGrid. join(ChangeData<T> changeData, RecordChangeDataJoiner<T> recordJoiner, ColumnModel newColumnModel)Joins pre-computed change data with the current grid data, record by record.<T> GridGrid. 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> GridGrid. join(ChangeData<T> changeData, RowChangeDataJoiner<T> rowJoiner, ColumnModel newColumnModel)Joins pre-computed change data with the current grid data, row by row.GridGrid. mapRecords(RecordMapper mapper, ColumnModel newColumnModel)Returns a new grid, where the records have been mapped by the mapperGridGrid. 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.ColumnModelColumnModel. 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.GridGrid. 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 ReconJobDataExtensionReconConfig. createJob(ColumnModel columnModel, long rowIndex, Row row, String columnName, Cell cell)abstract ReconJobReconConfig. createJob(ColumnModel columnModel, long rowIndex, Row row, String columnName, Cell cell)ReconJobStandardReconConfig. 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 ColumnModelRowMapOperation.GridMap. columnModelMethods in org.openrefine.operations that return ColumnModel Modifier and Type Method Description protected ColumnModelExpressionBasedOperation. getNewColumnModel(Grid state, ChangeContext context, Evaluable eval)Returns the new column model after the operation has run.protected ColumnModelRowMapOperation. 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 ColumnModelColumnAdditionByFetchingURLsOperation. getNewColumnModel(Grid grid, ChangeContext context, Evaluable evaluable)protected ColumnModelColumnAdditionOperation. getNewColumnModel(Grid state, ChangeContext context, Evaluable eval)ColumnModelColumnMoveOperation. getNewColumnModel(Grid grid, ChangeContext context)ColumnModelColumnRemovalOperation. getNewColumnModel(Grid state, ChangeContext context)ColumnModelColumnRenameOperation. getNewColumnModel(Grid state, ChangeContext context)ColumnModelColumnReorderOperation. 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 ColumnModelReconMarkNewTopicsOperation. getNewColumnModel(Grid state, ChangeContext context)protected ColumnModelReconUseValuesAsIdentifiersOperation. 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 ColumnModelLocalGrid. columnModelMethods in org.openrefine.runners.local that return ColumnModel Modifier and Type Method Description ColumnModelLocalGrid. getColumnModel()Methods in org.openrefine.runners.local with parameters of type ColumnModel Modifier and Type Method Description GridLocalGrid. flatMapRows(RowFlatMapper mapper, ColumnModel newColumnModel)GridLocalRunner. gridFromIterable(ColumnModel columnModel, CloseableIterable<Row> rows, Map<String,OverlayModel> overlayModels, long rowCount, long recordCount)GridLocalRunner. gridFromList(ColumnModel columnModel, List<Row> rows, Map<String,OverlayModel> overlayModels)<T> GridLocalGrid. join(ChangeData<T> changeData, RecordChangeDataJoiner<T> recordJoiner, ColumnModel newColumnModel)<T> GridLocalGrid. join(ChangeData<T> changeData, RowChangeDataFlatJoiner<T> rowJoiner, ColumnModel newColumnModel)<T> GridLocalGrid. join(ChangeData<T> changeData, RowChangeDataJoiner<T> rowJoiner, ColumnModel newColumnModel)GridLocalGrid. mapRecords(RecordMapper mapper, ColumnModel newColumnModel)GridLocalGrid. mapRows(RowMapper mapper, ColumnModel newColumnModel)<S extends Serializable>
GridLocalGrid. mapRows(RowScanMapper<S> mapper, ColumnModel newColumnModel)GridLocalGrid. 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 ColumnModelLoggedGrid. getColumnModel()Methods in org.openrefine.runners.local.logging with parameters of type ColumnModel Modifier and Type Method Description GridLoggedGrid. flatMapRows(RowFlatMapper mapper, ColumnModel newColumnModel)GridLoggedRunner. gridFromIterable(ColumnModel columnModel, CloseableIterable<Row> rows, Map<String,OverlayModel> overlayModels, long rowCount, long recordCount)GridLoggedRunner. gridFromList(ColumnModel columnModel, List<Row> rows, Map<String,OverlayModel> overlayModels)<T> GridLoggedGrid. join(ChangeData<T> changeData, RecordChangeDataJoiner<T> recordJoiner, ColumnModel newColumnModel)<T> GridLoggedGrid. join(ChangeData<T> changeData, RowChangeDataFlatJoiner<T> rowJoiner, ColumnModel newColumnModel)<T> GridLoggedGrid. join(ChangeData<T> changeData, RowChangeDataJoiner<T> rowJoiner, ColumnModel newColumnModel)GridLoggedGrid. mapRecords(RecordMapper mapper, ColumnModel newColumnModel)GridLoggedGrid. mapRows(RowMapper mapper, ColumnModel newColumnModel)<S extends Serializable>
GridLoggedGrid. mapRows(RowScanMapper<S> mapper, ColumnModel newColumnModel)GridLoggedGrid. 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 ColumnModelTestingGrid. getColumnModel()Methods in org.openrefine.runners.testing with parameters of type ColumnModel Modifier and Type Method Description GridTestingGrid. flatMapRows(RowFlatMapper mapper, ColumnModel newColumnModel)GridTestingRunner. gridFromIterable(ColumnModel columnModel, CloseableIterable<Row> rows, Map<String,OverlayModel> overlayModels, long rowCount, long recordCount)GridTestingRunner. gridFromList(ColumnModel columnModel, List<Row> rows, Map<String,OverlayModel> overlayModels)<T> GridTestingGrid. join(ChangeData<T> changeData, RecordChangeDataJoiner<T> recordJoiner, ColumnModel newColumnModel)<T> GridTestingGrid. join(ChangeData<T> changeData, RowChangeDataFlatJoiner<T> rowJoiner, ColumnModel newColumnModel)<T> GridTestingGrid. join(ChangeData<T> changeData, RowChangeDataJoiner<T> rowJoiner, ColumnModel newColumnModel)GridTestingGrid. mapRecords(RecordMapper mapper, ColumnModel newColumnModel)GridTestingGrid. mapRows(RowMapper mapper, ColumnModel newColumnModel)<S extends Serializable>
GridTestingGrid. mapRows(RowScanMapper<S> mapper, ColumnModel newColumnModel)GridTestingGrid. 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.KeyMakerBooleanCriterion. createKeyMaker(ColumnModel columnModel)abstract Criterion.KeyMakerCriterion. 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.KeyMakerDateCriterion. createKeyMaker(ColumnModel columnModel)Criterion.KeyMakerNumberCriterion. createKeyMaker(ColumnModel columnModel)Criterion.KeyMakerStringCriterion. 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 voidTemplate. internalVisit(long rowIndex, Row row, long total, Writer writer, Properties bindings, ColumnModel columnModel, Map<String,OverlayModel> overlayModels, long projectId, Record record)voidTemplate. writeRecords(CloseableIterator<Record> records, Writer writer, ColumnModel columnModel, Map<String,OverlayModel> overlayModels, long projectId, int limit)voidTemplate. 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 ColumnModelPerformWikibaseEditsOperation.RowEditingResultsProducer. columnModel -
Uses of ColumnModel in org.openrefine.wikibase.schema
Methods in org.openrefine.wikibase.schema that return ColumnModel Modifier and Type Method Description ColumnModelExpressionContext. 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 ColumnModelValidationState. 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)
-