public class GreatestNumberProcessor extends Object implements EntityDocumentProcessor
EntityDocumentProcessor
finds the greatest number
assigned to a certain property. The property can be modified by changing the
value for numberPropertyId
.Constructor and Description |
---|
GreatestNumberProcessor() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
Main method.
|
static void |
printDocumentation()
Prints some basic documentation about this program.
|
void |
printStatus()
Prints the current status, time and entity count.
|
void |
processItemDocument(ItemDocument itemDocument)
Processes the given ItemDocument.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
processEntityRedirectDocument, processLexemeDocument, processMediaInfoDocument, processPropertyDocument
public static void main(String[] args) throws IOException
ExampleHelpers
.args
- IOException
public void processItemDocument(ItemDocument itemDocument)
EntityDocumentProcessor
processItemDocument
in interface EntityDocumentProcessor
itemDocument
- the ItemDocumentpublic void printStatus()
public static void printDocumentation()
Copyright © 2014–2024 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage