- main(String[]) - Static method in class org.wikidata.query.rdf.tool.Munge
-
Run a bulk munge configured from the command line.
- main(String[]) - Static method in class org.wikidata.query.rdf.tool.Update
-
Run updates configured from the command line.
- MapperUtils - Class in org.wikidata.query.rdf.tool
-
Object mapping service class.
- max(T, T) - Static method in class org.wikidata.query.rdf.tool.Utils
-
- MAX_RETRIES - Static variable in class org.wikidata.query.rdf.tool.HttpClientUtils
-
How many times we retry a failed HTTP call.
- merge(RecentChangesPoller.Batch) - Method in class org.wikidata.query.rdf.tool.change.RecentChangesPoller.Batch
-
Merge this batch with another batch.
- meta() - Method in class org.wikidata.query.rdf.tool.change.events.EventWithMeta
-
- metricDomain() - Method in interface org.wikidata.query.rdf.tool.options.UpdateOptions
-
- Munge - Class in org.wikidata.query.rdf.tool
-
Munges a Wikidata RDF dump so that it can be loaded in a single import.
- Munge(WikibaseUris, Munger, Reader, Munge.OutputPicker<Writer>) - Constructor for class org.wikidata.query.rdf.tool.Munge
-
- munge(String, Collection<Statement>, Collection<String>, Collection<String>, Change, Queue<Change.DelayedChange>) - Method in class org.wikidata.query.rdf.tool.rdf.Munger
-
Adds and removes entries from the statements collection to munge Wikibase
RDF exports into a more queryable form.
- munge(String, Collection<Statement>, Collection<String>, Collection<String>) - Method in class org.wikidata.query.rdf.tool.rdf.Munger
-
Adds and removes entries from the statements collection to munge Wikibase
RDF exports into a more queryable form.
- munge(String, Collection<Statement>) - Method in class org.wikidata.query.rdf.tool.rdf.Munger
-
Adds and removes entries from the statements collection to munge Wikibase
RDF exports into a more queryable form.
- Munge.AlwaysOutputPicker<T> - Class in org.wikidata.query.rdf.tool
-
An output picker that always returns one output.
- Munge.ChunkedFileWriterOutputPicker - Class in org.wikidata.query.rdf.tool
-
OutputPicker that writes to files.
- Munge.ChunkedPipedWriterOutputPicker - Class in org.wikidata.query.rdf.tool
-
OutputPicker writes to PipedOutput stream and throws the corresponding
PipedInputStreams on a BlockingQueue.
- Munge.Httpd - Class in org.wikidata.query.rdf.tool
-
Very simple HTTP server that only knows how to spit out results from a
queue.
- Munge.OutputPicker<T> - Interface in org.wikidata.query.rdf.tool
-
Picks the right RDFHandler for writing.
- MungeOptions - Interface in org.wikidata.query.rdf.tool.options
-
CLI options for use with JewelCli.
- Munger - Class in org.wikidata.query.rdf.tool.rdf
-
Munges RDF from Wikibase into a more queryable format.
- Munger(WikibaseUris) - Constructor for class org.wikidata.query.rdf.tool.rdf.Munger
-
- Munger.BadSubjectException - Exception in org.wikidata.query.rdf.tool.rdf
-
Thrown when the munged triples contain a subject we don't recognize.
- Munger.FormatHandler - Interface in org.wikidata.query.rdf.tool.rdf
-
Interface to handle format transformations.
- mungerFromOptions(OptionsUtils.MungerOptions) - Static method in class org.wikidata.query.rdf.tool.options.OptionsUtils
-
Build a munger from a MungerOptions instance.
- mungeWithValues(String, Collection<Statement>, Multimap<String, String>, Multimap<String, String>, Collection<String>, Collection<String>, Change, Queue<Change.DelayedChange>) - Method in class org.wikidata.query.rdf.tool.rdf.Munger
-
Adds and removes entries from the statements collection to munge Wikibase
RDF exports into a more queryable form.
- searchForLabel(String, String, String) - Method in class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository.Uris
-
Uri to search for a label in a language.
- SearchResponse - Class in org.wikidata.query.rdf.tool.wikibase
-
- SearchResponse(Object, List<SearchResponse.SearchResult>) - Constructor for class org.wikidata.query.rdf.tool.wikibase.SearchResponse
-
- SearchResponse.SearchResult - Class in org.wikidata.query.rdf.tool.wikibase
-
- SearchResult(String) - Constructor for class org.wikidata.query.rdf.tool.wikibase.SearchResponse.SearchResult
-
- selectToList(String, String, String) - Method in class org.wikidata.query.rdf.tool.rdf.client.RdfClient
-
Perform a SPARQL query and return the result as list from one column.
- selectToMap(String, String, String) - Method in class org.wikidata.query.rdf.tool.rdf.client.RdfClient
-
Perform a SPARQL query and return the result as a map.
- serve(NanoHTTPD.IHTTPSession) - Method in class org.wikidata.query.rdf.tool.Munge.Httpd
-
- setBackoff(boolean) - Method in class org.wikidata.query.rdf.tool.change.RecentChangesPoller
-
Whether to use backoff.
- setCollectConstraints(boolean) - Method in class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository
-
Should we collect constraints?
- setEntityNamespaces(Set<Long>) - Method in class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository.Uris
-
- setFormatVersion(String) - Method in class org.wikidata.query.rdf.tool.rdf.Munger
-
Set format version.
- setLabel(String, String, String, String) - Method in class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository
-
Edits or creates a page by setting a label.
- setPollerTs(Instant) - Method in class org.wikidata.query.rdf.tool.change.TailingChangesPoller
-
Set main poller timestamp.
- setRefCleanupList(Collection<String>) - Method in class org.wikidata.query.rdf.tool.change.Change
-
Set reference cleanup list.
- setStatements(Collection<Statement>) - Method in class org.wikidata.query.rdf.tool.change.Change
-
Return statements collection.
- setValueCleanupList(Collection<String>) - Method in class org.wikidata.query.rdf.tool.change.Change
-
Set value cleanup list.
- singleLabelLanguages() - Method in interface org.wikidata.query.rdf.tool.options.OptionsUtils.MungerOptions
-
- singleLabelMode(String...) - Method in class org.wikidata.query.rdf.tool.rdf.Munger
-
Build a munger that will load only a single label per entity.
- singleLabelMode(Collection<String>) - Method in class org.wikidata.query.rdf.tool.rdf.Munger
-
Build a munger that will load only a single label per entity.
- skipSiteLinks() - Method in interface org.wikidata.query.rdf.tool.options.OptionsUtils.MungerOptions
-
- sparqlUri(UpdateOptions) - Static method in interface org.wikidata.query.rdf.tool.options.UpdateOptions
-
Create the sparql URI from the given configuration.
- sparqlUrl() - Method in interface org.wikidata.query.rdf.tool.options.UpdateOptions
-
- splitByComma(List<String>) - Static method in class org.wikidata.query.rdf.tool.options.OptionsUtils
-
If list contains any options joined by commas, split them to separate options.
- start() - Method in interface org.wikidata.query.rdf.tool.options.UpdateOptions
-
- startInstant(UpdateOptions) - Static method in interface org.wikidata.query.rdf.tool.options.UpdateOptions
-
- startRDF() - Method in class org.wikidata.query.rdf.tool.rdf.DelegatingRdfHandler
-
- statementStatements - Variable in class org.wikidata.query.rdf.tool.rdf.ClassifiedStatements
-
Subject is entity.
- store(Map<TopicPartition, Long>) - Method in interface org.wikidata.query.rdf.tool.change.KafkaOffsetsRepository
-
Store Kafka offsets.
- store(Map<TopicPartition, Long>) - Method in class org.wikidata.query.rdf.tool.change.RdfKafkaOffsetsRepository
-
Store offsets in a permanent storage.
- StreamDumper - Interface in org.wikidata.query.rdf.tool.utils
-
Wraps OutputStreams and dump the content that has been read.
- StreamUtils - Class in org.wikidata.query.rdf.tool
-
Utilities for working with streams.
- sync(String, Collection<Statement>, Collection<String>) - Method in class org.wikidata.query.rdf.tool.rdf.RdfRepository
-
Synchronizes the RDF repository's representation of an entity to be
exactly the provided statements.
- sync(String, Collection<Statement>) - Method in class org.wikidata.query.rdf.tool.rdf.RdfRepository
-
Synchronizes the RDF repository's representation.
- syncDate(Instant) - Method in class org.wikidata.query.rdf.tool.TestUpdater
-
- syncDate(Instant) - Method in class org.wikidata.query.rdf.tool.Updater
-
Record that we reached certain date in permanent storage.
- syncFromChanges(Collection<Change>, boolean) - Method in class org.wikidata.query.rdf.tool.rdf.RdfRepository
-
Sync repository from changes list.
- systemDotErr() - Static method in class org.wikidata.query.rdf.tool.CliUtils.ForbiddenOk
-
Get System.err.
- systemDotIn() - Static method in class org.wikidata.query.rdf.tool.CliUtils.ForbiddenOk
-
Get System.in.
- systemDotOut() - Static method in class org.wikidata.query.rdf.tool.CliUtils.ForbiddenOk
-
Get System.out.