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

A

AbstractDefaultImplementation(ImmutableList<Change>, long, Object) - Constructor for class org.wikidata.query.rdf.tool.change.Change.Batch.AbstractDefaultImplementation
 
acceptHeader() - Method in class org.wikidata.query.rdf.tool.rdf.RdfRepository.UpdateCountResponse
 
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.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.RdfRepository
Execute a SPARQL ask and parse the boolean result.
ASK_QUERY_RESPONSE - Static variable in class org.wikidata.query.rdf.tool.rdf.RdfRepository
Parse the response from an ask query into a boolean.

B

BadSubjectException(Set<String>, WikibaseUris) - Constructor for exception org.wikidata.query.rdf.tool.rdf.Munger.BadSubjectException
 
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.
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.
builder() - Method in class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository.Uris
Build a URIBuilder for wikibase requests.
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, Date, 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.Source<B extends Change.Batch> - Interface in org.wikidata.query.rdf.tool.change
Detects changes.
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.
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
 
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.rdf.RdfRepository
Close the repository.
close() - Method in class org.wikidata.query.rdf.tool.Updater
 
compareTo(Change) - Method in class org.wikidata.query.rdf.tool.change.Change
 
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
 
csrfToken() - Method in class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository.Uris
Uri to fetch a csrf token.

D

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.

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.
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.
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
 
execute(String, RdfRepository.ResponseHandler<T>, String) - Method in class org.wikidata.query.rdf.tool.rdf.RdfRepository
Execute some raw SPARQL.

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(Date, JSONObject, 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(Date, 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.
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.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.
ForbiddenOk() - Constructor for class org.wikidata.query.rdf.tool.CliUtils.ForbiddenOk
 
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
 

G

getChangeFromContinue(Map<String, Object>) - Method in class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository
Extract timestamp from continue JSON object.
getCleanupList() - Method in class org.wikidata.query.rdf.tool.change.Change
Set cleanup list.
getContinueObject(Change) - Method in class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository
Create JSON change description for continuing.
getDelay() - Method in class org.wikidata.query.rdf.tool.rdf.RdfRepository
Get retry delay.
getHost() - Method in class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository.Uris
The wikibase host.
getLastContinue() - Method in class org.wikidata.query.rdf.tool.change.RecentChangesPoller.Batch
Get continue object.
getMaxRetries() - Method in class org.wikidata.query.rdf.tool.rdf.RdfRepository
Get max retries count.
getRefs(Collection<String>) - Method in class org.wikidata.query.rdf.tool.rdf.RdfRepository
Get list of reference subjects connected to entity.
getScheme() - Method in class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository.Uris
The uri scheme for the wikibase instance.
getStatements() - Method in class org.wikidata.query.rdf.tool.change.Change
Set statements collection.
getSyncQuery(String, Collection<Statement>, Collection<String>) - Method in class org.wikidata.query.rdf.tool.rdf.RdfRepository
Provides the SPARQL needed to synchronize the data statements.
getValues(Collection<String>) - Method in class org.wikidata.query.rdf.tool.rdf.RdfRepository
Get list of value subjects connected to entity.

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

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.
inputDateFormat() - Static method in class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository
Create a new DateFormat object that parses from and formats to the date in the format that wikibase returns.
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.
isOldEnough(Date) - Method in class org.wikidata.query.rdf.tool.change.TailingChangesPoller
Is this timestamp old enough?
isValidEntity(String) - Method in class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository
Check if the entity ID is a valid entity ID.

K

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

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

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.
merge(RecentChangesPoller.Batch) - Method in class org.wikidata.query.rdf.tool.change.RecentChangesPoller.Batch
Merge this batch with another batch.
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) - 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.

N

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(RecentChangesPoller.Batch) - Method in class org.wikidata.query.rdf.tool.change.RecentChangesPoller
 
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
 

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.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.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.
outputDateFormat() - Static method in class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository
Create a new DateFormat object that parses from and formats to the date in the format that wikibase wants as input.
outputStream(String) - Static method in class org.wikidata.query.rdf.tool.CliUtils
Get an output stream for a file.

P

parse(ContentResponse) - Method in class org.wikidata.query.rdf.tool.rdf.RdfRepository.UpdateCountResponse
 
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
 

Q

query(String) - Method in class org.wikidata.query.rdf.tool.rdf.RdfRepository
Execute some SPARQL which returns a results table.

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.
RdfRepository - Class in org.wikidata.query.rdf.tool.rdf
Wrapper for communicating with the RDF repository.
RdfRepository(URI, WikibaseUris) - Constructor for class org.wikidata.query.rdf.tool.rdf.RdfRepository
 
RdfRepository.UpdateCountResponse - Class in org.wikidata.query.rdf.tool.rdf
Attempts to log update response information but very likely only works for Blazegraph.
reader(String) - Static method in class org.wikidata.query.rdf.tool.CliUtils
Build a reader for the uri.
recentChanges(Date, Map, 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, Date, int, Map<Long, Boolean>, int) - Constructor for class org.wikidata.query.rdf.tool.change.RecentChangesPoller
 
RecentChangesPoller(WikibaseRepository, Date, int) - Constructor for class org.wikidata.query.rdf.tool.change.RecentChangesPoller
 
RecentChangesPoller(WikibaseRepository, Date, int, int) - 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.
responseBodyAsString(ContentResponse) - Method in class org.wikidata.query.rdf.tool.rdf.RdfRepository
Fetch the body of the response as a string.
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.
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.
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.
setCleanupList(Collection<String>) - Method in class org.wikidata.query.rdf.tool.change.Change
Return cleanup list.
setDelay(int) - Method in class org.wikidata.query.rdf.tool.rdf.RdfRepository
Set retry delay.
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.
setMaxRetries(int) - Method in class org.wikidata.query.rdf.tool.rdf.RdfRepository
Set how many times we retry a failed HTTP call.
setPollerTs(long) - Method in class org.wikidata.query.rdf.tool.change.TailingChangesPoller
Set main poller timestamp.
setStatements(Collection<Statement>) - Method in class org.wikidata.query.rdf.tool.change.Change
Return statements collection.
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
 
sparqlUrl() - Method in interface org.wikidata.query.rdf.tool.options.UpdateOptions
 
start() - Method in interface org.wikidata.query.rdf.tool.options.UpdateOptions
 
startRDF() - Method in class org.wikidata.query.rdf.tool.rdf.DelegatingRdfHandler
 
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.
syncFromChanges(Collection<Change>, boolean) - Method in class org.wikidata.query.rdf.tool.rdf.RdfRepository
Sync repository from changes list.
syncQuery(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.
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
 
threadCount() - Method in interface org.wikidata.query.rdf.tool.options.UpdateOptions
 
TIMEOUT_PROPERTY - Static variable in class org.wikidata.query.rdf.tool.rdf.RdfRepository
Request timeout property.
timestamp() - Method in class org.wikidata.query.rdf.tool.change.Change
The timestamp of the change.
to() - Method in interface org.wikidata.query.rdf.tool.options.MungeOptions
 
toString() - Method in class org.wikidata.query.rdf.tool.change.Change
 
toString() - Method in class org.wikidata.query.rdf.tool.rdf.UpdateBuilder
 
TUPLE_QUERY_RESPONSE - Static variable in class org.wikidata.query.rdf.tool.rdf.RdfRepository
Parse the response from a regular query into a TupleQueryResult.

U

Update - Class in org.wikidata.query.rdf.tool
Update tool.
UPDATE_COUNT_RESPONSE - Static variable in class org.wikidata.query.rdf.tool.rdf.RdfRepository
Count and log the number of updates.
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
 
UpdateCountResponse() - Constructor for class org.wikidata.query.rdf.tool.rdf.RdfRepository.UpdateCountResponse
 
updateLeftOffTime(Date) - 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.
Updater(Change.Source<B>, WikibaseRepository, RdfRepository, Munger, ExecutorService, int, WikibaseUris, boolean) - Constructor for class org.wikidata.query.rdf.tool.Updater
 
Uris(String, String) - Constructor for class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository.Uris
 
Uris(String, String, int) - Constructor for class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository.Uris
 
Uris(String, String, int, 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.

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(String, String) - Constructor for class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository
 
WikibaseRepository(String, String, int) - Constructor for class org.wikidata.query.rdf.tool.wikibase.WikibaseRepository
 
WikibaseRepository(String, String, int, long[]) - 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.
wikibaseScheme() - 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.
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 K L M N O P Q R S T U V W 
Skip navigation links

Copyright © 2017. All rights reserved.