Skip navigation links
A B C D E F G H I J K L M N O P Q R S T U V W 

A

aboutStatements - Variable in class org.wikidata.query.rdf.tool.rdf.ClassifiedStatements
Not entity, not statement, not value and not reference.
AbstractDefaultImplementation(ImmutableList<Change>, long, Object) - Constructor for class org.wikidata.query.rdf.tool.change.Change.Batch.AbstractDefaultImplementation
 
addFormatHandler(String, Munger.FormatHandler) - Method in class org.wikidata.query.rdf.tool.rdf.Munger
Add handler for specific non-default format.
advanced() - Method in class org.wikidata.query.rdf.tool.change.Change.Batch.AbstractDefaultImplementation
 
advanced() - Method in interface org.wikidata.query.rdf.tool.change.Change.Batch
How much this batch is "worth" in units of advancedUnits().
advancedUnits() - Method in interface org.wikidata.query.rdf.tool.change.Change.Batch
The unit of advanced() in English.
advancedUnits() - Method in class org.wikidata.query.rdf.tool.change.IdListChangeSource.Batch
 
advancedUnits() - Method in class org.wikidata.query.rdf.tool.change.IdRangeChangeSource.Batch
 
advancedUnits() - Method in class org.wikidata.query.rdf.tool.change.KafkaPoller.Batch
 
advancedUnits() - Method in class org.wikidata.query.rdf.tool.change.RecentChangesPoller.Batch
 
AlwaysOutputPicker(T) - Constructor for class org.wikidata.query.rdf.tool.Munge.AlwaysOutputPicker
 
ask(String) - Method in class org.wikidata.query.rdf.tool.rdf.client.RdfClient
Execute a SPARQL ask and parse the boolean result.

B

BadSubjectException(Set<String>, WikibaseUris) - Constructor for exception org.wikidata.query.rdf.tool.rdf.Munger.BadSubjectException
 
Batch(ImmutableList<Change>, long, String, Instant) - Constructor for class org.wikidata.query.rdf.tool.change.KafkaPoller.Batch
 
batchDone() - Method in class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository
Notifies repository that a batch of changes has been processed.
batchSize() - Method in interface org.wikidata.query.rdf.tool.options.UpdateOptions
 
bind(String, String) - Method in class org.wikidata.query.rdf.tool.rdf.UpdateBuilder
Bind a string to a name.
bindStatements(String, Collection<Statement>) - Method in class org.wikidata.query.rdf.tool.rdf.UpdateBuilder
Bind some statements to a string.
bindUri(String, String) - Method in class org.wikidata.query.rdf.tool.rdf.UpdateBuilder
Bind a URI to a name.
bindUri(String, URI) - Method in class org.wikidata.query.rdf.tool.rdf.UpdateBuilder
Bind a URI to a name.
bindUris(String, Collection<String>) - Method in class org.wikidata.query.rdf.tool.rdf.UpdateBuilder
Bind some uris to a string.
bindUris(String, Collection<String>, String) - Method in class org.wikidata.query.rdf.tool.rdf.UpdateBuilder
Bind some uris to a string.
bindValue(String, Object) - Method in class org.wikidata.query.rdf.tool.rdf.UpdateBuilder
Bind a value to a name.
bindValues(String, Collection<Statement>) - Method in class org.wikidata.query.rdf.tool.rdf.UpdateBuilder
Bind some values to a string.
buildChangeSource(UpdateOptions, Instant, WikibaseRepository, RdfClient, URI, MetricRegistry) - Static method in class org.wikidata.query.rdf.tool.change.ChangeSourceContext
Build a change source.
builder() - Method in class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository.Uris
Build a URIBuilder for wikibase requests.
buildHttpClient(String, Integer) - Static method in class org.wikidata.query.rdf.tool.HttpClientUtils
 
buildHttpClientRetryer() - Static method in class org.wikidata.query.rdf.tool.HttpClientUtils
 
buildKafkaPoller(String, String, Collection<String>, WikibaseRepository.Uris, int, Instant, boolean, KafkaOffsetsRepository, MetricRegistry) - Static method in class org.wikidata.query.rdf.tool.change.KafkaPoller
 
buildWriter(long) - Method in class org.wikidata.query.rdf.tool.Munge.ChunkedFileWriterOutputPicker
 
buildWriter(long) - Method in class org.wikidata.query.rdf.tool.Munge.ChunkedPipedWriterOutputPicker
 

C

Change - Class in org.wikidata.query.rdf.tool.change
A change in an entity in Wikibase.
Change(String, long, Instant, long) - Constructor for class org.wikidata.query.rdf.tool.change.Change
 
Change.Batch - Interface in org.wikidata.query.rdf.tool.change
A batch of changes.
Change.Batch.AbstractDefaultImplementation - Class in org.wikidata.query.rdf.tool.change
Simple default implementation of Batch.
Change.DelayedChange - Class in org.wikidata.query.rdf.tool.change
 
Change.Source<B extends Change.Batch> - Interface in org.wikidata.query.rdf.tool.change
Detects changes.
ChangeEvent - Interface in org.wikidata.query.rdf.tool.change.events
Generic change event.
changes() - Method in class org.wikidata.query.rdf.tool.change.Change.Batch.AbstractDefaultImplementation
 
changes() - Method in interface org.wikidata.query.rdf.tool.change.Change.Batch
The changes in the batch.
ChangeSourceContext - Class in org.wikidata.query.rdf.tool.change
Provides methods to initialize change sources.
ChunkedFileWriterOutputPicker(String, int) - Constructor for class org.wikidata.query.rdf.tool.Munge.ChunkedFileWriterOutputPicker
 
ChunkedPipedWriterOutputPicker(BlockingQueue<InputStream>, int) - Constructor for class org.wikidata.query.rdf.tool.Munge.ChunkedPipedWriterOutputPicker
 
chunkSize() - Method in interface org.wikidata.query.rdf.tool.options.MungeOptions
 
ClassifiedStatements - Class in org.wikidata.query.rdf.tool.rdf
Sort statements into a set of specialized collections, by subject.
ClassifiedStatements(WikibaseUris) - Constructor for class org.wikidata.query.rdf.tool.rdf.ClassifiedStatements
 
classify(Collection<Statement>, String) - Method in class org.wikidata.query.rdf.tool.rdf.ClassifiedStatements
Sort statements into a set of specialized collections, by subject.
clear() - Method in class org.wikidata.query.rdf.tool.rdf.ClassifiedStatements
 
CliUtils - Class in org.wikidata.query.rdf.tool
Utilities for command line scripts.
CliUtils.ForbiddenOk - Class in org.wikidata.query.rdf.tool
Methods in this class are ignored by the forbiddenapis checks.
close() - Method in class org.wikidata.query.rdf.tool.change.IdListChangeSource
 
close() - Method in class org.wikidata.query.rdf.tool.change.IdRangeChangeSource
 
close() - Method in class org.wikidata.query.rdf.tool.change.JsonDeserializer
 
close() - Method in class org.wikidata.query.rdf.tool.change.KafkaPoller
 
close() - Method in class org.wikidata.query.rdf.tool.change.RecentChangesPoller
 
close() - Method in class org.wikidata.query.rdf.tool.Updater
 
close() - Method in class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository
 
clusterNames(UpdateOptions) - Static method in interface org.wikidata.query.rdf.tool.options.UpdateOptions
 
clusters() - Method in interface org.wikidata.query.rdf.tool.options.UpdateOptions
 
compareTo(Change) - Method in class org.wikidata.query.rdf.tool.change.Change
 
compareTo(Delayed) - Method in class org.wikidata.query.rdf.tool.change.Change.DelayedChange
 
conceptUri() - Method in interface org.wikidata.query.rdf.tool.options.OptionsUtils.WikibaseOptions
 
configure(Map<String, ?>, boolean) - Method in class org.wikidata.query.rdf.tool.change.JsonDeserializer
 
constraints() - Method in interface org.wikidata.query.rdf.tool.options.UpdateOptions
 
constraints(String) - Method in class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository.Uris
Uri to get the rdf for constraints status of an entity.
consumerId() - Method in interface org.wikidata.query.rdf.tool.options.UpdateOptions
 
ContainedException - Exception in org.wikidata.query.rdf.tool.exception
The operation failed and likely won't succeed with those parameters unless some action is taken but the rest of the operation should proceed.
ContainedException(String, Throwable) - Constructor for exception org.wikidata.query.rdf.tool.exception.ContainedException
 
ContainedException(String) - Constructor for exception org.wikidata.query.rdf.tool.exception.ContainedException
 
Continue - Class in org.wikidata.query.rdf.tool.wikibase
 
Continue(String, String) - Constructor for class org.wikidata.query.rdf.tool.wikibase.Continue
 
createMetricRegistry(Closer, String) - Static method in class org.wikidata.query.rdf.tool.Update
 
csrfToken() - Method in class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository.Uris
Uri to fetch a csrf token.
CsrfTokenResponse - Class in org.wikidata.query.rdf.tool.wikibase
 
CsrfTokenResponse(Object, CsrfTokenResponse.Query) - Constructor for class org.wikidata.query.rdf.tool.wikibase.CsrfTokenResponse
 
CsrfTokenResponse.Query - Class in org.wikidata.query.rdf.tool.wikibase
 
CsrfTokenResponse.Tokens - Class in org.wikidata.query.rdf.tool.wikibase
 
currentOffsets() - Method in class org.wikidata.query.rdf.tool.change.KafkaPoller
 

D

DEFAULT_ENTITY_NAMESPACES - Static variable in class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository.Uris
 
delay(Queue<Change.DelayedChange>, long) - Method in class org.wikidata.query.rdf.tool.change.Change
 
DelegatingRdfHandler - Class in org.wikidata.query.rdf.tool.rdf
RDFHandler that delegates all operations to a next handler.
DelegatingRdfHandler(RDFHandler) - Constructor for class org.wikidata.query.rdf.tool.rdf.DelegatingRdfHandler
 
delete(String) - Method in class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository
Delete entity from repository.
delete(String) - Method in class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository.Uris
Uri for deleting an entity.
DeleteResponse - Class in org.wikidata.query.rdf.tool.wikibase
 
DeleteResponse(Object) - Constructor for class org.wikidata.query.rdf.tool.wikibase.DeleteResponse
 
deserialize(String, byte[]) - Method in class org.wikidata.query.rdf.tool.change.JsonDeserializer
 
domain() - Method in interface org.wikidata.query.rdf.tool.change.events.ChangeEvent
Domain for the event.
domain() - Method in class org.wikidata.query.rdf.tool.change.events.EventsMeta
 
domain() - Method in class org.wikidata.query.rdf.tool.change.events.EventWithMeta
 
dumpDir() - Method in interface org.wikidata.query.rdf.tool.options.UpdateOptions
 
dumpDirPath(UpdateOptions) - Static method in interface org.wikidata.query.rdf.tool.options.UpdateOptions
 

E

edit(String, String, String) - Method in class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository.Uris
Uri to which you can post to edit an entity.
EditRequest - Class in org.wikidata.query.rdf.tool.wikibase
 
EditRequest(String, Map<String, EditRequest.Label>) - Constructor for class org.wikidata.query.rdf.tool.wikibase.EditRequest
 
EditRequest.Label - Class in org.wikidata.query.rdf.tool.wikibase
 
EditResponse - Class in org.wikidata.query.rdf.tool.wikibase
 
EditResponse(Object, EditResponse.Entity) - Constructor for class org.wikidata.query.rdf.tool.wikibase.EditResponse
 
EditResponse.Entity - Class in org.wikidata.query.rdf.tool.wikibase
 
endRDF() - Method in class org.wikidata.query.rdf.tool.rdf.DelegatingRdfHandler
 
entitiesMunged(int) - Method in class org.wikidata.query.rdf.tool.Munge.AlwaysOutputPicker
 
entitiesMunged(int) - Method in interface org.wikidata.query.rdf.tool.Munge.OutputPicker
Update the number of entities already handled.
Entity(String) - Constructor for class org.wikidata.query.rdf.tool.wikibase.EditResponse.Entity
 
entityId() - Method in class org.wikidata.query.rdf.tool.change.Change
The entity that changed.
entityNamespaces() - Method in interface org.wikidata.query.rdf.tool.options.UpdateOptions
 
entityStatements - Variable in class org.wikidata.query.rdf.tool.rdf.ClassifiedStatements
Subject is any statement.
equals(Object) - Method in class org.wikidata.query.rdf.tool.change.Change.DelayedChange
 
EventsMeta - Class in org.wikidata.query.rdf.tool.change.events
Metadata for event record.
EventsMeta(Instant, String, String) - Constructor for class org.wikidata.query.rdf.tool.change.events.EventsMeta
 
EventWithMeta - Class in org.wikidata.query.rdf.tool.change.events
Base class for event that has metadata.

F

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(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
 

G

getChange() - Method in class org.wikidata.query.rdf.tool.change.Change.DelayedChange
 
getChangeFromContinue(Continue) - Method in class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository
Extract timestamp from continue JSON object.
getContinue() - Method in class org.wikidata.query.rdf.tool.wikibase.Continue
 
getContinue() - Method in class org.wikidata.query.rdf.tool.wikibase.RecentChangeResponse
 
getCsrfToken() - Method in class org.wikidata.query.rdf.tool.wikibase.CsrfTokenResponse.Tokens
 
getDataSize() - Method in class org.wikidata.query.rdf.tool.rdf.ClassifiedStatements
 
getDatatype() - Method in class org.wikidata.query.rdf.tool.wikibase.EditRequest
 
getDelay(TimeUnit) - Method in class org.wikidata.query.rdf.tool.change.Change.DelayedChange
 
getEntity() - Method in class org.wikidata.query.rdf.tool.wikibase.EditResponse
 
getError() - Method in class org.wikidata.query.rdf.tool.wikibase.WikibaseResponse
A representation of an error if it occured, null otherwise.
getHost() - Method in class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository.Uris
The wikibase host.
getHttpProxyHost() - Static method in class org.wikidata.query.rdf.tool.HttpClientUtils
 
getHttpProxyPort() - Static method in class org.wikidata.query.rdf.tool.HttpClientUtils
 
getId() - Method in class org.wikidata.query.rdf.tool.wikibase.EditResponse.Entity
 
getId() - Method in class org.wikidata.query.rdf.tool.wikibase.SearchResponse.SearchResult
 
getLabels() - Method in class org.wikidata.query.rdf.tool.wikibase.EditRequest
 
getLanguage() - Method in class org.wikidata.query.rdf.tool.wikibase.EditRequest.Label
 
getLastContinue() - Method in class org.wikidata.query.rdf.tool.change.RecentChangesPoller.Batch
Get continue object.
getNs() - Method in class org.wikidata.query.rdf.tool.wikibase.RecentChangeResponse.RecentChange
 
getObjectMapper() - Static method in class org.wikidata.query.rdf.tool.MapperUtils
 
getQuery() - Method in class org.wikidata.query.rdf.tool.wikibase.CsrfTokenResponse
 
getQuery() - Method in class org.wikidata.query.rdf.tool.wikibase.RecentChangeResponse
 
getRcContinue() - Method in class org.wikidata.query.rdf.tool.wikibase.Continue
 
getRcId() - Method in class org.wikidata.query.rdf.tool.wikibase.RecentChangeResponse.RecentChange
 
getRdfClientTimeout() - Static method in class org.wikidata.query.rdf.tool.Update
 
getRecentChanges() - Method in class org.wikidata.query.rdf.tool.wikibase.RecentChangeResponse.Query
 
getRefCleanupList() - Method in class org.wikidata.query.rdf.tool.change.Change
Return reference cleanup list.
getRefs(Collection<String>) - Method in class org.wikidata.query.rdf.tool.rdf.RdfRepository
Get list of reference subjects connected to entity.
getRevId() - Method in class org.wikidata.query.rdf.tool.wikibase.RecentChangeResponse.RecentChange
 
getSearch() - Method in class org.wikidata.query.rdf.tool.wikibase.SearchResponse
 
getStartTime(Instant, RdfRepository, boolean) - Static method in class org.wikidata.query.rdf.tool.change.ChangeSourceContext
Determine instant from which to start polling.
getStatements() - Method in class org.wikidata.query.rdf.tool.change.Change
Set statements collection.
getTimestamp() - Method in class org.wikidata.query.rdf.tool.wikibase.RecentChangeResponse.RecentChange
 
getTitle() - Method in class org.wikidata.query.rdf.tool.wikibase.RecentChangeResponse.RecentChange
 
getTokens() - Method in class org.wikidata.query.rdf.tool.wikibase.CsrfTokenResponse.Query
 
getType() - Method in class org.wikidata.query.rdf.tool.wikibase.RecentChangeResponse.RecentChange
 
getUris() - Method in class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository
Get repository URI setup.
getValue() - Method in class org.wikidata.query.rdf.tool.wikibase.EditRequest.Label
 
getValueCleanupList() - Method in class org.wikidata.query.rdf.tool.change.Change
Return value cleanup list.
getValues(Collection<String>) - Method in class org.wikidata.query.rdf.tool.rdf.RdfRepository
Get list of value subjects connected to entity.
getWikibaseUrl(UpdateOptions) - Static method in interface org.wikidata.query.rdf.tool.options.UpdateOptions
Produce base Wikibase URL from options.

H

handle(Statement) - Method in interface org.wikidata.query.rdf.tool.rdf.Munger.FormatHandler
Transform statement to current latest format.
handle(Statement) - Method in class org.wikidata.query.rdf.tool.rdf.PointCoordinateSwitcher
 
handleChanges(Iterable<Change>) - Method in class org.wikidata.query.rdf.tool.TestUpdater
 
handleChanges(Iterable<Change>) - Method in class org.wikidata.query.rdf.tool.Updater
Handle the changes in a batch.
handleComment(String) - Method in class org.wikidata.query.rdf.tool.rdf.DelegatingRdfHandler
 
handleNamespace(String, String) - Method in class org.wikidata.query.rdf.tool.rdf.DelegatingRdfHandler
 
handleNamespace(String, String) - Method in class org.wikidata.query.rdf.tool.rdf.NormalizingRdfHandler
 
handleNamespace(String, String) - Method in class org.wikidata.query.rdf.tool.rdf.PrefixRecordingRdfHandler
 
handleOptions(Class<T>, String...) - Static method in class org.wikidata.query.rdf.tool.options.OptionsUtils
Parses options and handles the verbose flag.
handleStatement(Statement) - Method in class org.wikidata.query.rdf.tool.rdf.DelegatingRdfHandler
 
handleStatement(Statement) - Method in class org.wikidata.query.rdf.tool.rdf.NormalizingRdfHandler
 
hasAnyChanges() - Method in class org.wikidata.query.rdf.tool.change.Change.Batch.AbstractDefaultImplementation
 
hasAnyChanges() - Method in interface org.wikidata.query.rdf.tool.change.Change.Batch
Whether this batch had any changes, even invisible ones.
hasAnyChanges() - Method in class org.wikidata.query.rdf.tool.change.RecentChangesPoller.Batch
 
hasChanges(boolean) - Method in class org.wikidata.query.rdf.tool.change.RecentChangesPoller.Batch
Set changes status.
hashCode() - Method in class org.wikidata.query.rdf.tool.change.Change.DelayedChange
 
hasRevision(String, long) - Method in class org.wikidata.query.rdf.tool.rdf.RdfRepository
Does the triple store have this revision or better.
hasRevisions(Collection<Change>) - Method in class org.wikidata.query.rdf.tool.rdf.RdfRepository
Filter set of changes and see which of them really need to be updated.
help() - Method in interface org.wikidata.query.rdf.tool.options.OptionsUtils.BasicOptions
 
HTTP_PROXY_PORT_PROPERTY - Static variable in class org.wikidata.query.rdf.tool.HttpClientUtils
Configuration name for proxy port.
HTTP_PROXY_PROPERTY - Static variable in class org.wikidata.query.rdf.tool.HttpClientUtils
Configuration name for proxy host.
HTTP_RETRY_DELAY - Static variable in class org.wikidata.query.rdf.tool.HttpClientUtils
How long to delay after failing first HTTP call, in milliseconds.
httpClient - Variable in class org.wikidata.query.rdf.tool.rdf.client.RdfClient
Http connection pool for the rdf repository.
HttpClientUtils - Class in org.wikidata.query.rdf.tool
Utilities for dealing with HttpClient.
Httpd(int, BlockingQueue<InputStream>) - Constructor for class org.wikidata.query.rdf.tool.Munge.Httpd
 

I

id() - Method in class org.wikidata.query.rdf.tool.change.events.EventsMeta
 
id() - Method in class org.wikidata.query.rdf.tool.change.events.EventWithMeta
 
IdListChangeSource - Class in org.wikidata.query.rdf.tool.change
Creates a change source out of the list of IDs.
IdListChangeSource(String[], int) - Constructor for class org.wikidata.query.rdf.tool.change.IdListChangeSource
 
IdListChangeSource.Batch - Class in org.wikidata.query.rdf.tool.change
Batch implementation for this change source.
idrange() - Method in interface org.wikidata.query.rdf.tool.options.UpdateOptions
 
IdRangeChangeSource - Class in org.wikidata.query.rdf.tool.change
Blindly iterates an id range and returns those as "changes".
IdRangeChangeSource(String, long, long, long) - Constructor for class org.wikidata.query.rdf.tool.change.IdRangeChangeSource
 
IdRangeChangeSource.Batch - Class in org.wikidata.query.rdf.tool.change
Batch implementation for this change source.
ids() - Method in interface org.wikidata.query.rdf.tool.options.UpdateOptions
 
ignoreCookies(HttpRequestBase) - Static method in class org.wikidata.query.rdf.tool.HttpClientUtils
Configure request to ignore cookies.
ignoreStoredOffsets(UpdateOptions) - Static method in interface org.wikidata.query.rdf.tool.options.UpdateOptions
 
init() - Method in interface org.wikidata.query.rdf.tool.options.UpdateOptions
 
INPUT_DATE_FORMAT - Static variable in class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository
Standard representation of dates in Mediawiki API (ISO 8601).
INPUT_DATE_FORMATTER - Static variable in class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository
DateTimeFormatter object that parses from and formats to the date in the format that wikibase returns, i.e.
inputStream(String) - Static method in class org.wikidata.query.rdf.tool.CliUtils
Get an input stream for a uri.
isEntityNamespace(long) - Method in class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository
Check that a namespace is valid wikibase entity namespace.
isEntityNamespace(long) - Method in class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository.Uris
Check that a namespace is valid wikibase entity namespace.
isOldEnough(Instant) - Method in class org.wikidata.query.rdf.tool.change.TailingChangesPoller
Is this timestamp old enough?
isRedundant() - Method in interface org.wikidata.query.rdf.tool.change.events.ChangeEvent
This change is redundant and can be skipped.
isRedundant() - Method in class org.wikidata.query.rdf.tool.change.events.EventWithMeta
 
isRedundant() - Method in class org.wikidata.query.rdf.tool.change.events.PropertiesChangeEvent
 
isValidEntity(String) - Method in class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository
Check if the entity ID is a valid entity ID.

J

JsonDeserializer<T> - Class in org.wikidata.query.rdf.tool.change
Deserializer for Kafka stream objects from JSON.
JsonDeserializer(Map<String, Class<? extends T>>) - Constructor for class org.wikidata.query.rdf.tool.change.JsonDeserializer
 

K

kafkaBroker() - Method in interface org.wikidata.query.rdf.tool.options.UpdateOptions
 
KafkaOffsetsRepository - Interface in org.wikidata.query.rdf.tool.change
Store and retrieve Kafka offsets.
KafkaPoller - Class in org.wikidata.query.rdf.tool.change
This poller will connect to Kafka event source and get changes from one or more topics there.
KafkaPoller(Consumer<String, ChangeEvent>, WikibaseRepository.Uris, Instant, int, Collection<String>, KafkaOffsetsRepository, boolean, MetricRegistry) - Constructor for class org.wikidata.query.rdf.tool.change.KafkaPoller
 
KafkaPoller.Batch - Class in org.wikidata.query.rdf.tool.change
 
keepDumpsDuration - Variable in class org.wikidata.query.rdf.tool.utils.FileStreamDumper
 
keepTypes() - Method in interface org.wikidata.query.rdf.tool.options.OptionsUtils.MungerOptions
 
keepTypes(boolean) - Method in class org.wikidata.query.rdf.tool.rdf.Munger
Set the keep types parameter.

L

Label(String, String) - Constructor for class org.wikidata.query.rdf.tool.wikibase.EditRequest.Label
 
labelLanguages() - Method in interface org.wikidata.query.rdf.tool.options.OptionsUtils.MungerOptions
 
last() - Method in class org.wikidata.query.rdf.tool.change.Change.Batch.AbstractDefaultImplementation
 
last() - Method in interface org.wikidata.query.rdf.tool.change.Change.Batch
Was this the last batch?
last() - Method in class org.wikidata.query.rdf.tool.change.IdListChangeSource.Batch
 
last() - Method in class org.wikidata.query.rdf.tool.change.IdRangeChangeSource.Batch
 
leftOffDate() - Method in interface org.wikidata.query.rdf.tool.change.Change.Batch
Null or the latest date in the batch.
leftOffDate() - Method in class org.wikidata.query.rdf.tool.change.IdListChangeSource.Batch
 
leftOffDate() - Method in class org.wikidata.query.rdf.tool.change.IdRangeChangeSource.Batch
 
leftOffDate() - Method in class org.wikidata.query.rdf.tool.change.KafkaPoller.Batch
 
leftOffDate() - Method in class org.wikidata.query.rdf.tool.change.RecentChangesPoller.Batch
 
leftOffHuman() - Method in class org.wikidata.query.rdf.tool.change.Change.Batch.AbstractDefaultImplementation
 
leftOffHuman() - Method in interface org.wikidata.query.rdf.tool.change.Change.Batch
Human readable version of where this batch ends.
leftOffHuman() - Method in class org.wikidata.query.rdf.tool.change.RecentChangesPoller.Batch
 
limitLabelLanguages(String...) - Method in class org.wikidata.query.rdf.tool.rdf.Munger
Build a Munger that only imports labels in some languages.
limitLabelLanguages(Collection<String>) - Method in class org.wikidata.query.rdf.tool.rdf.Munger
Build a Munger that only imports labels in some languages.
load(Instant) - Method in interface org.wikidata.query.rdf.tool.change.KafkaOffsetsRepository
Load offsets from storage.
load(Instant) - Method in class org.wikidata.query.rdf.tool.change.RdfKafkaOffsetsRepository
Load Kafka offsets from storage.
loadBody(String, Class<T>) - Static method in class org.wikidata.query.rdf.tool.Utils
Loads some sparql related to a class.
loadUrl(String) - Method in class org.wikidata.query.rdf.tool.rdf.client.RdfClient
Loads a uri into this rdf repository.
longEntityNamespaces(UpdateOptions) - Static method in interface org.wikidata.query.rdf.tool.options.UpdateOptions
 

M

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
Find the max of two Comparable.
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.

N

namespace() - Method in interface org.wikidata.query.rdf.tool.change.events.ChangeEvent
Changed page namespace.
namespace() - Method in class org.wikidata.query.rdf.tool.change.events.PageDeleteEvent
 
namespace() - Method in class org.wikidata.query.rdf.tool.change.events.PropertiesChangeEvent
 
namespace() - Method in class org.wikidata.query.rdf.tool.change.events.RecentChangeEvent
 
namespace() - Method in class org.wikidata.query.rdf.tool.change.events.RevisionCreateEvent
 
nextBatch(B) - Method in interface org.wikidata.query.rdf.tool.change.Change.Source
Fetches the next batch after lastBatch.
nextBatch(IdListChangeSource.Batch) - Method in class org.wikidata.query.rdf.tool.change.IdListChangeSource
 
nextBatch(IdRangeChangeSource.Batch) - Method in class org.wikidata.query.rdf.tool.change.IdRangeChangeSource
 
nextBatch(KafkaPoller.Batch) - Method in class org.wikidata.query.rdf.tool.change.KafkaPoller
 
nextBatch(RecentChangesPoller.Batch) - Method in class org.wikidata.query.rdf.tool.change.RecentChangesPoller
 
NO_REVISION - Static variable in class org.wikidata.query.rdf.tool.change.Change
Change that is not associated with specific revision.
NormalizingRdfHandler - Class in org.wikidata.query.rdf.tool.rdf
An RDFHandler that wraps another handler normalizing any of the (currently) rather different wikidata output forms into a single form.
NormalizingRdfHandler(RDFHandler) - Constructor for class org.wikidata.query.rdf.tool.rdf.NormalizingRdfHandler
 
NullStreamDumper - Class in org.wikidata.query.rdf.tool.utils
StreamDumper which does not dump any content.
NullStreamDumper() - Constructor for class org.wikidata.query.rdf.tool.utils.NullStreamDumper
 

O

OptionsUtils - Class in org.wikidata.query.rdf.tool.options
Utilities for parsing options.
OptionsUtils.BasicOptions - Interface in org.wikidata.query.rdf.tool.options
Basic options for parsing with JewelCLI.
OptionsUtils.MungerOptions - Interface in org.wikidata.query.rdf.tool.options
Command line options for setting up a Munger instance.
OptionsUtils.WikibaseOptions - Interface in org.wikidata.query.rdf.tool.options
Options specifying information about a Wikibase instance.
org.wikidata.query.rdf.tool - package org.wikidata.query.rdf.tool
 
org.wikidata.query.rdf.tool.change - package org.wikidata.query.rdf.tool.change
Definition of a change in Wikibase and strategies for detecting them.
org.wikidata.query.rdf.tool.change.events - package org.wikidata.query.rdf.tool.change.events
 
org.wikidata.query.rdf.tool.exception - package org.wikidata.query.rdf.tool.exception
 
org.wikidata.query.rdf.tool.options - package org.wikidata.query.rdf.tool.options
 
org.wikidata.query.rdf.tool.rdf - package org.wikidata.query.rdf.tool.rdf
 
org.wikidata.query.rdf.tool.rdf.client - package org.wikidata.query.rdf.tool.rdf.client
 
org.wikidata.query.rdf.tool.utils - package org.wikidata.query.rdf.tool.utils
 
org.wikidata.query.rdf.tool.wikibase - package org.wikidata.query.rdf.tool.wikibase
 
output() - Method in class org.wikidata.query.rdf.tool.Munge.AlwaysOutputPicker
 
output() - Method in interface org.wikidata.query.rdf.tool.Munge.OutputPicker
Get the handler to write to.
OUTPUT_DATE_FORMATTER - Static variable in class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository
DateTimeFormatter object that parses from and formats to the date in the format that wikibase wants as input, i.e.
outputStream(String) - Static method in class org.wikidata.query.rdf.tool.CliUtils
Get an output stream for a file.

P

PageDeleteEvent - Class in org.wikidata.query.rdf.tool.change.events
 
PageDeleteEvent(EventsMeta, String, long) - Constructor for class org.wikidata.query.rdf.tool.change.events.PageDeleteEvent
 
parseDate(String) - Static method in interface org.wikidata.query.rdf.tool.options.UpdateOptions
Parse a string to a date, trying output format or the input format.
parsedIds(UpdateOptions) - Static method in interface org.wikidata.query.rdf.tool.options.UpdateOptions
 
PointCoordinateSwitcher - Class in org.wikidata.query.rdf.tool.rdf
Statement handler that switches coordinate order for all points.
PointCoordinateSwitcher() - Constructor for class org.wikidata.query.rdf.tool.rdf.PointCoordinateSwitcher
 
pollDelay() - Method in interface org.wikidata.query.rdf.tool.options.UpdateOptions
 
PrefixRecordingRdfHandler - Class in org.wikidata.query.rdf.tool.rdf
RDFHandler that delegates while recording prefixes.
PrefixRecordingRdfHandler(RDFHandler, Map<String, String>) - Constructor for class org.wikidata.query.rdf.tool.rdf.PrefixRecordingRdfHandler
 
PropertiesChangeEvent - Class in org.wikidata.query.rdf.tool.change.events
Record for mediawiki.page-properties-change scheme.
PropertiesChangeEvent(EventsMeta, String, long, Map<String, String>, Map<String, String>) - Constructor for class org.wikidata.query.rdf.tool.change.events.PropertiesChangeEvent
 

Q

query(String) - Method in class org.wikidata.query.rdf.tool.rdf.client.RdfClient
Execute some SPARQL which returns a results table.
Query(CsrfTokenResponse.Tokens) - Constructor for class org.wikidata.query.rdf.tool.wikibase.CsrfTokenResponse.Query
 
Query(List<RecentChangeResponse.RecentChange>) - Constructor for class org.wikidata.query.rdf.tool.wikibase.RecentChangeResponse.Query
 

R

rcid() - Method in class org.wikidata.query.rdf.tool.change.Change
The rcid of the change.
rdf(String) - Method in class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository.Uris
Uri to get the rdf for an entity.
RdfClient - Class in org.wikidata.query.rdf.tool.rdf.client
Low level API to Blazegraph.
RdfClient(HttpClient, URI, Retryer<ContentResponse>, Duration) - Constructor for class org.wikidata.query.rdf.tool.rdf.client.RdfClient
 
rdfClient - Variable in class org.wikidata.query.rdf.tool.rdf.RdfRepository
 
RdfKafkaOffsetsRepository - Class in org.wikidata.query.rdf.tool.change
Store and retrieve Kafka offsets from a permanent storage.
RdfKafkaOffsetsRepository(URI, RdfClient) - Constructor for class org.wikidata.query.rdf.tool.change.RdfKafkaOffsetsRepository
 
RdfRepository - Class in org.wikidata.query.rdf.tool.rdf
Wrapper for communicating with the RDF repository.
RdfRepository(WikibaseUris, RdfClient, long) - Constructor for class org.wikidata.query.rdf.tool.rdf.RdfRepository
 
reader(String) - Static method in class org.wikidata.query.rdf.tool.CliUtils
Build a reader for the uri.
RecentChange(Long, String, Instant, Long, Long, String) - Constructor for class org.wikidata.query.rdf.tool.wikibase.RecentChangeResponse.RecentChange
 
RecentChangeEvent - Class in org.wikidata.query.rdf.tool.change.events
Events for mediawiki.recentchange topic.
RecentChangeEvent(EventsMeta, RecentChangeEvent.RevisionOldNew, String, long) - Constructor for class org.wikidata.query.rdf.tool.change.events.RecentChangeEvent
 
RecentChangeEvent.RevisionOldNew - Class in org.wikidata.query.rdf.tool.change.events
 
RecentChangeResponse - Class in org.wikidata.query.rdf.tool.wikibase
 
RecentChangeResponse(Object, Continue, RecentChangeResponse.Query) - Constructor for class org.wikidata.query.rdf.tool.wikibase.RecentChangeResponse
 
RecentChangeResponse.Query - Class in org.wikidata.query.rdf.tool.wikibase
 
RecentChangeResponse.RecentChange - Class in org.wikidata.query.rdf.tool.wikibase
 
recentChanges(Instant, Continue, int) - Method in class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository.Uris
Uri to get the recent changes.
RecentChangesPoller - Class in org.wikidata.query.rdf.tool.change
Polls recent changes.
RecentChangesPoller(WikibaseRepository, Instant, int, Map<Long, Boolean>, int, Timer, Counter) - Constructor for class org.wikidata.query.rdf.tool.change.RecentChangesPoller
 
RecentChangesPoller(WikibaseRepository, Instant, int, MetricRegistry) - Constructor for class org.wikidata.query.rdf.tool.change.RecentChangesPoller
 
RecentChangesPoller(WikibaseRepository, Instant, int, int, MetricRegistry) - Constructor for class org.wikidata.query.rdf.tool.change.RecentChangesPoller
 
RecentChangesPoller.Batch - Class in org.wikidata.query.rdf.tool.change
Batch implementation for this poller.
removeSiteLinks() - Method in class org.wikidata.query.rdf.tool.rdf.Munger
Build a Munger that removes site links.
resetKafka() - Method in interface org.wikidata.query.rdf.tool.options.UpdateOptions
 
RetryableException - Exception in org.wikidata.query.rdf.tool.exception
The operation failed but should be retried.
RetryableException(String, Throwable) - Constructor for exception org.wikidata.query.rdf.tool.exception.RetryableException
 
RetryableException(String) - Constructor for exception org.wikidata.query.rdf.tool.exception.RetryableException
 
revision() - Method in class org.wikidata.query.rdf.tool.change.Change
The revision of the change.
revision() - Method in interface org.wikidata.query.rdf.tool.change.events.ChangeEvent
Page revision.
revision() - Method in class org.wikidata.query.rdf.tool.change.events.PageDeleteEvent
 
revision() - Method in class org.wikidata.query.rdf.tool.change.events.PropertiesChangeEvent
 
revision() - Method in class org.wikidata.query.rdf.tool.change.events.RecentChangeEvent
 
revision() - Method in class org.wikidata.query.rdf.tool.change.events.RevisionCreateEvent
 
RevisionCreateEvent - Class in org.wikidata.query.rdf.tool.change.events
Record for mediawiki.revision-create scheme.
RevisionCreateEvent(EventsMeta, long, String, long) - Constructor for class org.wikidata.query.rdf.tool.change.events.RevisionCreateEvent
 
RevisionOldNew(long) - Constructor for class org.wikidata.query.rdf.tool.change.events.RecentChangeEvent.RevisionOldNew
 
rotate() - Method in class org.wikidata.query.rdf.tool.utils.FileStreamDumper
 
rotate() - Method in class org.wikidata.query.rdf.tool.utils.NullStreamDumper
 
rotate() - Method in interface org.wikidata.query.rdf.tool.utils.StreamDumper
Call this method when the output should be rotated.
run() - Method in class org.wikidata.query.rdf.tool.change.TailingChangesPoller
 
run() - Method in class org.wikidata.query.rdf.tool.Munge
 
run() - Method in class org.wikidata.query.rdf.tool.Updater
 

S

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.

T

TailingChangesPoller - Class in org.wikidata.query.rdf.tool.change
Tailing changes poller.
TailingChangesPoller(RecentChangesPoller, BlockingQueue<RecentChangesPoller.Batch>, int) - Constructor for class org.wikidata.query.rdf.tool.change.TailingChangesPoller
 
tailPollerOffset() - Method in interface org.wikidata.query.rdf.tool.options.UpdateOptions
 
testMode() - Method in interface org.wikidata.query.rdf.tool.options.UpdateOptions
 
TestUpdater<B extends Change.Batch> - Class in org.wikidata.query.rdf.tool
Class for testing update.
TestUpdater(Change.Source<B>, WikibaseRepository, RdfRepository, Munger, ExecutorService, int, WikibaseUris, boolean, MetricRegistry) - Constructor for class org.wikidata.query.rdf.tool.TestUpdater
 
threadCount() - Method in interface org.wikidata.query.rdf.tool.options.UpdateOptions
 
TIMEOUT_PROPERTY - Static variable in class org.wikidata.query.rdf.tool.Update
Request timeout property.
timestamp() - Method in class org.wikidata.query.rdf.tool.change.Change
The timestamp of the change.
timestamp() - Method in interface org.wikidata.query.rdf.tool.change.events.ChangeEvent
Change timestamp.
timestamp() - Method in class org.wikidata.query.rdf.tool.change.events.EventsMeta
 
timestamp() - Method in class org.wikidata.query.rdf.tool.change.events.EventWithMeta
 
title() - Method in interface org.wikidata.query.rdf.tool.change.events.ChangeEvent
Changed page title.
title() - Method in class org.wikidata.query.rdf.tool.change.events.PageDeleteEvent
 
title() - Method in class org.wikidata.query.rdf.tool.change.events.PropertiesChangeEvent
 
title() - Method in class org.wikidata.query.rdf.tool.change.events.RecentChangeEvent
 
title() - Method in class org.wikidata.query.rdf.tool.change.events.RevisionCreateEvent
 
to() - Method in interface org.wikidata.query.rdf.tool.options.MungeOptions
 
Tokens(String) - Constructor for class org.wikidata.query.rdf.tool.wikibase.CsrfTokenResponse.Tokens
 
toString() - Method in class org.wikidata.query.rdf.tool.change.Change
 
toString() - Method in class org.wikidata.query.rdf.tool.rdf.UpdateBuilder
 
toString() - Method in class org.wikidata.query.rdf.tool.wikibase.Continue
 

U

update(String) - Method in class org.wikidata.query.rdf.tool.rdf.client.RdfClient
Executes an update and returns the number of changes.
Update - Class in org.wikidata.query.rdf.tool
Update tool.
UpdateBuilder - Class in org.wikidata.query.rdf.tool.rdf
Quick and dirty update builder.
UpdateBuilder(String) - Constructor for class org.wikidata.query.rdf.tool.rdf.UpdateBuilder
 
updateLeftOffTime(Instant) - Method in class org.wikidata.query.rdf.tool.rdf.RdfRepository
Update where we left off so when fetchLeftOffTime is next called it returns leftOffTime so we can continue from there after the updater is restarted.
UpdateOptions - Interface in org.wikidata.query.rdf.tool.options
CLI options for use with JewelCli.
Updater<B extends Change.Batch> - Class in org.wikidata.query.rdf.tool
Update tool.
uris(UpdateOptions) - Static method in interface org.wikidata.query.rdf.tool.options.UpdateOptions
 
Uris(URI) - Constructor for class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository.Uris
 
Uris(URI, Set<Long>) - Constructor for class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository.Uris
 
utf8(InputStream) - Static method in class org.wikidata.query.rdf.tool.StreamUtils
Read an input stream as UTF-8 characters.
utf8(OutputStream) - Static method in class org.wikidata.query.rdf.tool.StreamUtils
Wrap an output stream in a writer that writes UTF_8 characters.
Utils - Class in org.wikidata.query.rdf.tool
Generic utilities.

V

verbose() - Method in interface org.wikidata.query.rdf.tool.options.OptionsUtils.BasicOptions
 
verify() - Method in interface org.wikidata.query.rdf.tool.options.UpdateOptions
 

W

wikibaseHost() - Method in interface org.wikidata.query.rdf.tool.options.OptionsUtils.WikibaseOptions
 
WikibaseRepository - Class in org.wikidata.query.rdf.tool.wikibase
Wraps Wikibase api.
WikibaseRepository(URI, MetricRegistry) - Constructor for class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository
 
WikibaseRepository(String, MetricRegistry) - Constructor for class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository
 
WikibaseRepository(URI, Set<Long>, MetricRegistry) - Constructor for class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository
 
WikibaseRepository(WikibaseRepository.Uris, boolean, MetricRegistry, StreamDumper) - Constructor for class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository
 
WikibaseRepository.Uris - Class in org.wikidata.query.rdf.tool.wikibase
URIs used for accessing wikibase.
WikibaseResponse - Class in org.wikidata.query.rdf.tool.wikibase
Base class for all responses from Wikibase.
WikibaseResponse(Object) - Constructor for class org.wikidata.query.rdf.tool.wikibase.WikibaseResponse
 
wikibaseScheme() - Method in interface org.wikidata.query.rdf.tool.options.UpdateOptions
 
wikibaseUris(OptionsUtils.WikibaseOptions) - Static method in interface org.wikidata.query.rdf.tool.options.OptionsUtils.WikibaseOptions
 
wikibaseUrl() - Method in interface org.wikidata.query.rdf.tool.options.UpdateOptions
 
withSubject(String) - Method in class org.wikidata.query.rdf.tool.FilteredStatements
Returns a collection of statements, filtering out any with a subject different from the given String.
withSubjectStarts(String) - Method in class org.wikidata.query.rdf.tool.FilteredStatements
Returns a collection of statements that have subject start with given String.
wrap(InputStream) - Method in class org.wikidata.query.rdf.tool.utils.FileStreamDumper
 
wrap(InputStream) - Method in class org.wikidata.query.rdf.tool.utils.NullStreamDumper
 
wrap(InputStream) - Method in interface org.wikidata.query.rdf.tool.utils.StreamDumper
Wraps a stream and dumps its content once it is closed.
writer(String) - Static method in class org.wikidata.query.rdf.tool.CliUtils
Build a writer for the uri.
A B C D E F G H I J K L M N O P Q R S T U V W 
Skip navigation links

Copyright © 2019. All rights reserved.