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

B

beginLoad() - Method in class org.wikibrain.wikidata.WikidataSqlDao
 
build() - Method in class org.wikibrain.wikidata.WikidataFilter.Builder
 
Builder() - Constructor for class org.wikibrain.wikidata.WikidataFilter.Builder
 
buildStatement(Record) - Method in class org.wikibrain.wikidata.WikidataSqlDao
 

C

code - Variable in enum org.wikibrain.wikidata.WikidataEntity.Type
 
conceptsWithValue(String, WikidataValue) - Method in interface org.wikibrain.wikidata.WikidataDao
 
conceptsWithValue(String, WikidataValue) - Method in class org.wikibrain.wikidata.WikidataSqlDao
 

E

endLoad() - Method in class org.wikibrain.wikidata.WikidataSqlDao
 
equals(Object) - Method in class org.wikibrain.wikidata.WikidataEntity
 

F

forInt(int) - Static method in class org.wikibrain.wikidata.WikidataValue
 
forItem(int) - Static method in class org.wikibrain.wikidata.WikidataValue
 
forProperty(int) - Static method in class org.wikibrain.wikidata.WikidataValue
 
forString(String) - Static method in class org.wikibrain.wikidata.WikidataValue
 

G

get(WikidataFilter) - Method in interface org.wikibrain.wikidata.WikidataDao
Returns all statements that meet some sort of criterion.
get(WikidataFilter) - Method in class org.wikibrain.wikidata.WikidataSqlDao
 
get(DaoFilter) - Method in class org.wikibrain.wikidata.WikidataSqlDao
 
get(String, Config, Map<String, String>) - Method in class org.wikibrain.wikidata.WikidataSqlDao.Provider
 
getAliases() - Method in class org.wikibrain.wikidata.WikidataEntity
 
getByCode(char) - Static method in enum org.wikibrain.wikidata.WikidataEntity.Type
 
getByValue(WikidataEntity, WikidataValue) - Method in interface org.wikibrain.wikidata.WikidataDao
 
getByValue(String, WikidataValue) - Method in interface org.wikibrain.wikidata.WikidataDao
 
getByValue(WikidataEntity, WikidataValue) - Method in class org.wikibrain.wikidata.WikidataSqlDao
 
getByValue(String, WikidataValue) - Method in class org.wikibrain.wikidata.WikidataSqlDao
 
getComment() - Method in class org.wikibrain.wikidata.RawPageWrapper
Returns the comment string that was used for making the edit that led to this revision.
getContributor() - Method in class org.wikibrain.wikidata.RawPageWrapper
Returns the name for the contributor that made the edit that led to this revision.
getContributorId() - Method in class org.wikibrain.wikidata.RawPageWrapper
Returns the user id of the contributor who made the edit that led to this revision, or -1 if the edit was not made by a registered user.
getCount(DaoFilter) - Method in class org.wikibrain.wikidata.WikidataSqlDao
 
getDescriptions() - Method in class org.wikibrain.wikidata.WikidataEntity
 
getEntityIds() - Method in class org.wikibrain.wikidata.WikidataFilter
 
getEntityTypeCodes() - Method in class org.wikibrain.wikidata.WikidataFilter
 
getEntityTypes() - Method in class org.wikibrain.wikidata.WikidataFilter
 
getFormat() - Method in class org.wikibrain.wikidata.RawPageWrapper
Returns the format of the revision text.
getFullStatement() - Method in class org.wikibrain.wikidata.LocalWikidataStatement
 
getId() - Method in class org.wikibrain.wikidata.WikidataEntity
 
getId() - Method in class org.wikibrain.wikidata.WikidataStatement
 
getIntValue() - Method in class org.wikibrain.wikidata.WikidataValue
 
getItem() - Method in class org.wikibrain.wikidata.LocalWikidataStatement
 
getItem(int) - Method in interface org.wikibrain.wikidata.WikidataDao
Returns the item associated with the particular id
getItem(int) - Method in class org.wikibrain.wikidata.WikidataSqlDao
 
getItem() - Method in class org.wikibrain.wikidata.WikidataStatement
 
getItemId(LocalPage) - Method in interface org.wikibrain.wikidata.WikidataDao
Gets the item id for a given LocalPage (the number after "Q")
getItemId(LocalId) - Method in interface org.wikibrain.wikidata.WikidataDao
 
getItemId(LocalPage) - Method in class org.wikibrain.wikidata.WikidataSqlDao
 
getItemId(LocalId) - Method in class org.wikibrain.wikidata.WikidataSqlDao
 
getItemValue() - Method in class org.wikibrain.wikidata.WikidataValue
 
getJsonValue() - Method in class org.wikibrain.wikidata.WikidataValue
 
getLabel(Language, WikidataEntity.Type, int) - Method in interface org.wikibrain.wikidata.WikidataDao
 
getLabel(Language, WikidataEntity.Type, int) - Method in class org.wikibrain.wikidata.WikidataSqlDao
 
getLabels() - Method in class org.wikibrain.wikidata.WikidataEntity
 
getLang() - Method in class org.wikibrain.wikidata.LocalWikidataStatement
 
getLangIds() - Method in class org.wikibrain.wikidata.WikidataFilter
 
getLangs() - Method in class org.wikibrain.wikidata.WikidataFilter
 
getLocalStatement(Language, WikidataStatement) - Method in interface org.wikibrain.wikidata.WikidataDao
Translates a single language-agnostic statement into a human interpretable statement in that particular language.
getLocalStatement(Language, WikidataStatement) - Method in class org.wikibrain.wikidata.WikidataSqlDao
 
getLocalStatements(LocalPage) - Method in interface org.wikibrain.wikidata.WikidataDao
Returns human-understandable interpretations of statements for a particular page.
getLocalStatements(Language, WikidataEntity.Type, int) - Method in interface org.wikibrain.wikidata.WikidataDao
Returns all statements for the specified concept id.
getLocalStatements(LocalPage) - Method in class org.wikibrain.wikidata.WikidataSqlDao
 
getLocalStatements(Language, WikidataEntity.Type, int) - Method in class org.wikibrain.wikidata.WikidataSqlDao
 
getModel() - Method in class org.wikibrain.wikidata.RawPageWrapper
Returns the content model of the revision.
getMostRecentDate() - Method in class org.wikibrain.wikidata.WikidataDumpHelper
 
getMostRecentFile() - Method in class org.wikibrain.wikidata.WikidataDumpHelper
 
getMostRecentUrl() - Method in class org.wikibrain.wikidata.WikidataDumpHelper
 
getNamespace() - Method in class org.wikibrain.wikidata.RawPageWrapper
Returns the id of the MediaWiki namespace of the revised page.
getPageId() - Method in class org.wikibrain.wikidata.RawPageWrapper
Returns the numeric page id of the revised page.
getPath() - Method in class org.wikibrain.wikidata.WikidataSqlDao.Provider
 
getPrefixedTitle() - Method in class org.wikibrain.wikidata.RawPageWrapper
Returns the title string of the revised page, including namespace prefixes and subpages, if any.
getProperties() - Method in interface org.wikibrain.wikidata.WikidataDao
Returns all known properties.
getProperties() - Method in class org.wikibrain.wikidata.WikidataSqlDao
 
getProperty() - Method in class org.wikibrain.wikidata.LocalWikidataStatement
 
getProperty(Language, String) - Method in interface org.wikibrain.wikidata.WikidataDao
Gets a property by a name in some language.
getProperty(int) - Method in interface org.wikibrain.wikidata.WikidataDao
Fetches the property associated with an id.
getProperty(Language, String) - Method in class org.wikibrain.wikidata.WikidataSqlDao
 
getProperty(int) - Method in class org.wikibrain.wikidata.WikidataSqlDao
 
getProperty() - Method in class org.wikibrain.wikidata.WikidataStatement
 
getPropertyByName(Language, String) - Method in class org.wikibrain.wikidata.WikidataSqlDao
 
getPropertyByName(String) - Method in class org.wikibrain.wikidata.WikidataSqlDao
 
getPropertyIds() - Method in class org.wikibrain.wikidata.WikidataFilter
 
getRank() - Method in class org.wikibrain.wikidata.WikidataStatement
 
getRankOrdinals() - Method in class org.wikibrain.wikidata.WikidataFilter
 
getRanks() - Method in class org.wikibrain.wikidata.WikidataFilter
 
getRevisionId() - Method in class org.wikibrain.wikidata.RawPageWrapper
Returns the numeric id of the current revision.
getStatement() - Method in class org.wikibrain.wikidata.LocalWikidataStatement
 
getStatements(LocalPage) - Method in interface org.wikibrain.wikidata.WikidataDao
Returns all statements for a particular page.
getStatements() - Method in class org.wikibrain.wikidata.WikidataEntity
 
getStatements(LocalPage) - Method in class org.wikibrain.wikidata.WikidataSqlDao
 
getStatementsInLanguage(Language) - Method in class org.wikibrain.wikidata.WikidataEntity
 
getStringId() - Method in class org.wikibrain.wikidata.WikidataEntity
 
getStringValue() - Method in class org.wikibrain.wikidata.WikidataValue
 
getText() - Method in class org.wikibrain.wikidata.RawPageWrapper
Returns the text content of the current revision.
getTimeStamp() - Method in class org.wikibrain.wikidata.RawPageWrapper
Returns the time stamp at which the current revision was made.
getTimeValue() - Method in class org.wikibrain.wikidata.WikidataValue
 
getTitle() - Method in class org.wikibrain.wikidata.RawPageWrapper
Returns the title string of the revised page without any namespace prefixes.
getType() - Method in class org.wikibrain.wikidata.WikidataEntity
 
getType() - Method in class org.wikibrain.wikidata.WikidataSqlDao.Provider
 
getType() - Method in class org.wikibrain.wikidata.WikidataValue
 
getTypeName() - Method in class org.wikibrain.wikidata.WikidataValue
 
getUniversalPage(int) - Method in interface org.wikibrain.wikidata.WikidataDao
Gets the LocalPage for the input itemId (the number after "Q") and language (if it exists)
getUniversalPage(int) - Method in class org.wikibrain.wikidata.WikidataSqlDao
 
getValue() - Method in class org.wikibrain.wikidata.LocalWikidataStatement
 
getValue() - Method in class org.wikibrain.wikidata.WikidataStatement
 
getValue() - Method in class org.wikibrain.wikidata.WikidataValue
 
getValues() - Method in class org.wikibrain.wikidata.WikidataFilter
 
gsonToPrimitive(JsonElement) - Static method in class org.wikibrain.wikidata.WikidataParser
 

H

hashCode() - Method in class org.wikibrain.wikidata.WikidataEntity
 
hasNext() - Method in class org.wikibrain.wikidata.WikidataDumpParser.IteratorImpl
 
hasRegisteredContributor() - Method in class org.wikibrain.wikidata.RawPageWrapper
Returns true if the contributor who made the edit that led to this revision was logged in with a user account.

I

iterator() - Method in class org.wikibrain.wikidata.WikidataDumpParser
 
IteratorImpl() - Constructor for class org.wikibrain.wikidata.WikidataDumpParser.IteratorImpl
 

J

jsonToValue(String, JsonElement) - Method in class org.wikibrain.wikidata.WikidataParser
 

L

load(File) - Method in class org.wikibrain.wikidata.WikidataDumpLoader
Expects file name format starting with lang + "wiki" for example, "enwiki"
LocalWikidataStatement - Class in org.wikibrain.wikidata
A wrapper for a Wikidata statement that encodes a human interpretable String description.
LocalWikidataStatement(Language, WikidataStatement, String, String, String, String) - Constructor for class org.wikibrain.wikidata.LocalWikidataStatement
 
LOG - Static variable in class org.wikibrain.wikidata.WikidataDumpParser
 

M

main(String[]) - Static method in class org.wikibrain.wikidata.WikidataDumpHelper
 
main(String[]) - Static method in class org.wikibrain.wikidata.WikidataDumpLoader
 

N

next() - Method in class org.wikibrain.wikidata.WikidataDumpParser.IteratorImpl
 

O

org.wikibrain.wikidata - package org.wikibrain.wikidata
 

P

pagesWithValue(String, WikidataValue, Language) - Method in interface org.wikibrain.wikidata.WikidataDao
 
pagesWithValue(String, WikidataValue, Language) - Method in class org.wikibrain.wikidata.WikidataSqlDao
 
parse(String) - Method in class org.wikibrain.wikidata.WikidataParser
 
Provider(Configurator, Configuration) - Constructor for class org.wikibrain.wikidata.WikidataSqlDao.Provider
 
prune(LanguageSet) - Method in class org.wikibrain.wikidata.WikidataEntity
Prunes a WikiData entity to the specified languages.

R

RawPageWrapper - Class in org.wikibrain.wikidata
Connects a WikiBrain raw page to a WikidataToolkit MwRevision
RawPageWrapper(RawPage) - Constructor for class org.wikibrain.wikidata.RawPageWrapper
 
remove() - Method in class org.wikibrain.wikidata.WikidataDumpParser.IteratorImpl
 

S

save(WikidataEntity) - Method in interface org.wikibrain.wikidata.WikidataDao
Saves the specified entity
save(WikidataEntity) - Method in class org.wikibrain.wikidata.WikidataSqlDao
 
save(WikidataStatement) - Method in class org.wikibrain.wikidata.WikidataSqlDao
 
setKeepAllLabeledEntities(boolean) - Method in class org.wikibrain.wikidata.WikidataDumpLoader
 
snakToValue(String, Value) - Method in class org.wikibrain.wikidata.WikidataParser
 

T

toString() - Method in class org.wikibrain.wikidata.LocalWikidataStatement
 
toString() - Method in class org.wikibrain.wikidata.WikidataEntity
 
toString() - Method in class org.wikibrain.wikidata.WikidataStatement
 
toString() - Method in class org.wikibrain.wikidata.WikidataValue
 

V

valueOf(String) - Static method in enum org.wikibrain.wikidata.WikidataEntity.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.wikibrain.wikidata.WikidataStatement.Rank
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.wikibrain.wikidata.WikidataValue.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.wikibrain.wikidata.WikidataEntity.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.wikibrain.wikidata.WikidataStatement.Rank
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.wikibrain.wikidata.WikidataValue.Type
Returns an array containing the constants of this enum type, in the order they are declared.

W

WIKIDATA_JSON_URL - Static variable in class org.wikibrain.wikidata.WikidataDumpLoader
 
WikidataDao - Interface in org.wikibrain.wikidata
 
WikidataDumpHelper - Class in org.wikibrain.wikidata
 
WikidataDumpHelper() - Constructor for class org.wikibrain.wikidata.WikidataDumpHelper
 
WikidataDumpLoader - Class in org.wikibrain.wikidata
Load the contents of a dump into the various daos.
WikidataDumpLoader(WikidataDao, MetaInfoDao, UniversalPageDao, LanguageSet) - Constructor for class org.wikibrain.wikidata.WikidataDumpLoader
 
WikidataDumpParser - Class in org.wikibrain.wikidata
 
WikidataDumpParser(File) - Constructor for class org.wikibrain.wikidata.WikidataDumpParser
 
WikidataDumpParser(File, LanguageSet) - Constructor for class org.wikibrain.wikidata.WikidataDumpParser
 
WikidataDumpParser.IteratorImpl - Class in org.wikibrain.wikidata
 
WikidataEntity - Class in org.wikibrain.wikidata
 
WikidataEntity(String) - Constructor for class org.wikibrain.wikidata.WikidataEntity
ID must be a "P" or "Q" id.
WikidataEntity(WikidataEntity.Type, int) - Constructor for class org.wikibrain.wikidata.WikidataEntity
 
WikidataEntity.Type - Enum in org.wikibrain.wikidata
 
WikidataFilter - Class in org.wikibrain.wikidata
 
WikidataFilter() - Constructor for class org.wikibrain.wikidata.WikidataFilter
 
WikidataFilter.Builder - Class in org.wikibrain.wikidata
Utility class to build a filter
WikidataParser - Class in org.wikibrain.wikidata
 
WikidataParser() - Constructor for class org.wikibrain.wikidata.WikidataParser
 
WikidataParser(LanguageSet) - Constructor for class org.wikibrain.wikidata.WikidataParser
 
WikidataSqlDao - Class in org.wikibrain.wikidata
 
WikidataSqlDao(WpDataSource, LocalPageDao, UniversalPageDao) - Constructor for class org.wikibrain.wikidata.WikidataSqlDao
 
WikidataSqlDao.Provider - Class in org.wikibrain.wikidata
 
WikidataStatement - Class in org.wikibrain.wikidata
 
WikidataStatement(String, WikidataEntity, WikidataEntity, WikidataValue, WikidataStatement.Rank) - Constructor for class org.wikibrain.wikidata.WikidataStatement
 
WikidataStatement.Rank - Enum in org.wikibrain.wikidata
 
WikidataValue - Class in org.wikibrain.wikidata
 
WikidataValue(String, Object, JsonElement) - Constructor for class org.wikibrain.wikidata.WikidataValue
 
WikidataValue(WikidataValue.Type, Object, JsonElement) - Constructor for class org.wikibrain.wikidata.WikidataValue
 
WikidataValue.Type - Enum in org.wikibrain.wikidata
 
withEntityId(int) - Method in class org.wikibrain.wikidata.WikidataFilter.Builder
 
withEntityIds(Collection<Integer>) - Method in class org.wikibrain.wikidata.WikidataFilter.Builder
 
withEntityType(WikidataEntity.Type) - Method in class org.wikibrain.wikidata.WikidataFilter.Builder
 
withEntityType(Collection<WikidataEntity.Type>) - Method in class org.wikibrain.wikidata.WikidataFilter.Builder
 
withLanguage(Language) - Method in class org.wikibrain.wikidata.WikidataFilter.Builder
 
withLanguages(Collection<Language>) - Method in class org.wikibrain.wikidata.WikidataFilter.Builder
 
withPropertyId(int) - Method in class org.wikibrain.wikidata.WikidataFilter.Builder
 
withPropertyIds(Collection<Integer>) - Method in class org.wikibrain.wikidata.WikidataFilter.Builder
 
withRank(WikidataStatement.Rank) - Method in class org.wikibrain.wikidata.WikidataFilter.Builder
 
withRanks(Collection<WikidataStatement.Rank>) - Method in class org.wikibrain.wikidata.WikidataFilter.Builder
 
withValue(WikidataValue) - Method in class org.wikibrain.wikidata.WikidataFilter.Builder
 
withValues(Collection<WikidataValue>) - Method in class org.wikibrain.wikidata.WikidataFilter.Builder
 
B C E F G H I J L M N O P R S T V W 
Skip navigation links

Copyright © 2018. All rights reserved.