Uses of Interface
org.openrefine.wikibase.updates.EntityEdit
-
-
Uses of EntityEdit in org.openrefine.wikibase.commands
Fields in org.openrefine.wikibase.commands with type parameters of type EntityEdit Modifier and Type Field Description protected List<EntityEdit>PreviewResults. editsPreviewMethods in org.openrefine.wikibase.commands that return types with arguments of type EntityEdit Modifier and Type Method Description List<EntityEdit>PreviewResults. getEditsPreview() -
Uses of EntityEdit in org.openrefine.wikibase.editing
Methods in org.openrefine.wikibase.editing that return EntityEdit Modifier and Type Method Description EntityEditReconEntityRewriter. rewrite(EntityEdit edit)Rewrite an edit, replacing references to all entities already created by their fresh identifiers.Methods in org.openrefine.wikibase.editing with parameters of type EntityEdit Modifier and Type Method Description EntityEditReconEntityRewriter. rewrite(EntityEdit edit)Rewrite an edit, replacing references to all entities already created by their fresh identifiers.Constructor parameters in org.openrefine.wikibase.editing with type arguments of type EntityEdit Constructor Description EditBatchProcessor(org.wikidata.wdtk.wikibaseapi.WikibaseDataFetcher fetcher, org.wikidata.wdtk.wikibaseapi.WikibaseDataEditor editor, org.wikidata.wdtk.wikibaseapi.ApiConnection connection, List<EntityEdit> entityDocuments, NewEntityLibrary library, String summary, int maxLag, List<String> tags, int batchSize, int maxEditsPerMinute)Initiates the process of pushing a batch of updates to Wikibase. -
Uses of EntityEdit in org.openrefine.wikibase.exporters
Method parameters in org.openrefine.wikibase.exporters with type arguments of type EntityEdit Modifier and Type Method Description voidQuickStatementsExporter. translateItemList(List<EntityEdit> updates, Writer writer) -
Uses of EntityEdit in org.openrefine.wikibase.qa
Method parameters in org.openrefine.wikibase.qa with type arguments of type EntityEdit Modifier and Type Method Description voidEditInspector. inspect(List<EntityEdit> editBatch, WikibaseSchema schema)Inspect a batch of edits with the registered scrutinizers -
Uses of EntityEdit in org.openrefine.wikibase.qa.scrutinizers
Methods in org.openrefine.wikibase.qa.scrutinizers with parameters of type EntityEdit Modifier and Type Method Description voidEditScrutinizer. scrutinize(EntityEdit edit)Reads the candidate edit and emits warnings in the storevoidValueScrutinizer. scrutinize(EntityEdit update) -
Uses of EntityEdit in org.openrefine.wikibase.schema
Fields in org.openrefine.wikibase.schema with type parameters of type EntityEdit Modifier and Type Field Description protected List<WbExpression<? extends EntityEdit>>WikibaseSchema. entityEditExprsMethods in org.openrefine.wikibase.schema that return types with arguments of type EntityEdit 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.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.List<EntityEdit>WikibaseSchema. evaluateEntityDocuments(ExpressionContext ctxt)Evaluates all entity documents in a particular expression context.List<WbExpression<? extends EntityEdit>>WikibaseSchema. getEntityDocumentExpressions()Constructor parameters in org.openrefine.wikibase.schema with type arguments of type EntityEdit Constructor Description WikibaseSchema(List<WbExpression<? extends EntityEdit>> exprs, List<WbItemEditExpr> legacyItemExprs, String siteIri, Map<String,String> entityTypeSiteIri, String mediaWikiApiEndpoint)Constructor for deserialization via Jackson -
Uses of EntityEdit in org.openrefine.wikibase.updates
Subinterfaces of EntityEdit in org.openrefine.wikibase.updates Modifier and Type Interface Description interfaceStatementEntityEditA candidate edit on an entity which can bear statements.Classes in org.openrefine.wikibase.updates that implement EntityEdit Modifier and Type Class Description classItemEditRepresents a candidate edit on an existing item or the creation of a new one.classLabeledStatementEntityEditclassMediaInfoEditRepresents a candidate edit on a MediaInfo entity.classTermedStatementEntityEditA class to plan an update of an entity, after evaluating the statements but before fetching the current content of the entity (this is why it does not extend StatementsUpdate).Methods in org.openrefine.wikibase.updates that return EntityEdit Modifier and Type Method Description EntityEditEntityEdit. merge(EntityEdit otherEdit)Merges all the changes in other with this instance.Methods in org.openrefine.wikibase.updates that return types with arguments of type EntityEdit Modifier and Type Method Description static Map<org.wikidata.wdtk.datamodel.interfaces.EntityIdValue,EntityEdit>EntityEdit. groupBySubject(List<EntityEdit> entityDocuments)Group a list ofEntityUpdates by subject: this is useful to make one single edit per entity.Methods in org.openrefine.wikibase.updates with parameters of type EntityEdit Modifier and Type Method Description EntityEditEntityEdit. merge(EntityEdit otherEdit)Merges all the changes in other with this instance.ItemEditItemEdit. merge(EntityEdit otherEdit)Merges all the changes in other with this instance.MediaInfoEditMediaInfoEdit. merge(EntityEdit otherEdit)Method parameters in org.openrefine.wikibase.updates with type arguments of type EntityEdit Modifier and Type Method Description static Map<org.wikidata.wdtk.datamodel.interfaces.EntityIdValue,EntityEdit>EntityEdit. groupBySubject(List<EntityEdit> entityDocuments)Group a list ofEntityUpdates by subject: this is useful to make one single edit per entity. -
Uses of EntityEdit in org.openrefine.wikibase.updates.scheduler
Methods in org.openrefine.wikibase.updates.scheduler that return types with arguments of type EntityEdit Modifier and Type Method Description List<EntityEdit>UpdateSequence. getUpdates()List<EntityEdit>QuickStatementsUpdateScheduler. schedule(List<EntityEdit> updates)List<EntityEdit>UpdateScheduler. schedule(List<EntityEdit> updates)Performs the scheduling.List<EntityEdit>WikibaseAPIUpdateScheduler. schedule(List<EntityEdit> updates)Methods in org.openrefine.wikibase.updates.scheduler with parameters of type EntityEdit Modifier and Type Method Description voidUpdateSequence. add(EntityEdit update)Adds a new update to the list, merging it with any existing one with the same subject.protected voidQuickStatementsUpdateScheduler. splitUpdate(EntityEdit edit)Separates out the statements which refer to new entities from the rest of the update.protected voidWikibaseAPIUpdateScheduler. splitUpdate(EntityEdit edit)Splits an update into two partsMethod parameters in org.openrefine.wikibase.updates.scheduler with type arguments of type EntityEdit Modifier and Type Method Description List<EntityEdit>QuickStatementsUpdateScheduler. schedule(List<EntityEdit> updates)List<EntityEdit>UpdateScheduler. schedule(List<EntityEdit> updates)Performs the scheduling.List<EntityEdit>WikibaseAPIUpdateScheduler. schedule(List<EntityEdit> updates)
-