- FatalException - Exception in org.wikidata.query.rdf.tool.exception
-
The operation failed and the whole application is likely busted and should be
stopped.
- FatalException(String, Throwable) - Constructor for exception org.wikidata.query.rdf.tool.exception.FatalException
-
- FatalException(String) - Constructor for exception org.wikidata.query.rdf.tool.exception.FatalException
-
- fetchLeftOffTime() - Method in class org.wikidata.query.rdf.tool.rdf.RdfRepository
-
Fetch where we left off updating the repository.
- fetchRdfForEntity(Change) - Method in class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository
-
Fetch the RDF for change in the entity.
- fetchRdfForEntity(String) - Method in class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository
-
Fetch the RDF for some entity.
- fetchRdfForEntity(String, long, String) - Method in class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository
-
Fetch the RDF for some entity.
- fetchRecentChanges(Instant, Continue, int) - Method in class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository
-
Fetch recent changes starting from nextStartTime or continuing from
lastContinue depending on the contents of lastContinue way to use
MediaWiki.
- fetchRecentChangesByTime(Instant, int) - Method in class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository
-
Fetch recent changes starting from nextStartTime or continuing from
lastContinue depending on the contents of lastContinue way to use
MediaWiki.
- FileStreamDumper - Class in org.wikidata.query.rdf.tool.utils
-
Wraps
OutputStreams and send a copy to file once it has been read.
- FileStreamDumper(Path) - Constructor for class org.wikidata.query.rdf.tool.utils.FileStreamDumper
-
- FileStreamDumper(Path, Clock, Duration) - Constructor for class org.wikidata.query.rdf.tool.utils.FileStreamDumper
-
Creates a StreamDumper that will dump to dumpDir.
- filtered(Collection<Statement>) - Static method in class org.wikidata.query.rdf.tool.FilteredStatements
-
Enriches the given collection of Statements.
- FilteredStatements - Class in org.wikidata.query.rdf.tool
-
Enriches collections of Statements with handy utility methods for
filtering based on common criteria.
- FilteredStatements(Collection<Statement>) - Constructor for class org.wikidata.query.rdf.tool.FilteredStatements
-
Enriches the given collection of Statements.
- firstBatch() - Method in interface org.wikidata.query.rdf.tool.change.Change.Source
-
Fetch the first batch.
- firstBatch() - Method in class org.wikidata.query.rdf.tool.change.IdListChangeSource
-
- firstBatch() - Method in class org.wikidata.query.rdf.tool.change.IdRangeChangeSource
-
- firstBatch() - Method in class org.wikidata.query.rdf.tool.change.KafkaPoller
-
- firstBatch() - Method in class org.wikidata.query.rdf.tool.change.RecentChangesPoller
-
- firstEntityIdForLabelStartingWith(String, String, String) - Method in class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository
-
Get the first id with the provided label in the provided language.
- forItems(String[], int) - Static method in class org.wikidata.query.rdf.tool.change.IdListChangeSource
-
Build and IdChangeSource for items as opposed to properties.
- forItems(long, long, long) - Static method in class org.wikidata.query.rdf.tool.change.IdRangeChangeSource
-
Build and IdChangeSource for items as opposed to properties.
- from() - Method in interface org.wikidata.query.rdf.tool.options.MungeOptions
-
- fromString(String) - Static method in class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository.Uris
-
- 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(UrisScheme, Munger, Reader, Munge.OutputPicker<Writer>) - Constructor for class org.wikidata.query.rdf.tool.Munge
-
- munge(String, Collection<Statement>, Collection<String>, Collection<String>, Change) - 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.BadSubjectException - Exception in org.wikidata.query.rdf.tool.rdf
-
Thrown when the munged triples contain a subject we don't recognize.
- Munger.Builder - Class in org.wikidata.query.rdf.tool.rdf
-
- 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) - 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
-
- 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.
- setRevisionCutoff(Duration) - Method in class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository
-
How old shout revision be to use latest fetch?
- 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.Builder
-
Build a munger that will load only a single label per entity.
- singleLabelMode(List<String>) - Method in class org.wikidata.query.rdf.tool.rdf.Munger.Builder
-
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.