Uses of Class
de.bcxp.challenge.common.model.Document
Packages that use Document
Package
Description
Provides interfaces and utilities for analyzing documents.
CSV-specific analysis utilities.
Provides interfaces and implementations for parsing different types of documents.
CSV-specific document parsing functionality.
Utility classes for common operations.
Provides functionality to parse and analyze country-related data.
Provides functionality to parse and analyze weather-related data.
-
Uses of Document in de.bcxp.challenge.common.analysis
Methods in de.bcxp.challenge.common.analysis with parameters of type DocumentModifier and TypeMethodDescriptionIDocumentAnalyser.getBestMatches
(Document document) Analyzes the providedDocument
and returns the single best matching entry. -
Uses of Document in de.bcxp.challenge.common.analysis.csv
Methods in de.bcxp.challenge.common.analysis.csv with parameters of type DocumentModifier and TypeMethodDescriptionstatic Set<DocumentEntry>
CsvAnalysisUtility.getBestMatchesForNumericColumnComparison
(Document document, NumericComparisonType type) Finds all entries in the givenDocument
that share the "best" numeric score, according to the specifiedComparator
.private static Set<IEntryWithComparableNumericTuple>
CsvAnalysisUtility.getEntriesWithComparableNumericTuples
(Document document) -
Uses of Document in de.bcxp.challenge.common.documentParsing
Methods in de.bcxp.challenge.common.documentParsing that return DocumentModifier and TypeMethodDescriptionIDocumentParser.parseDocument
(String filepath) Parses a document from the specified file path. -
Uses of Document in de.bcxp.challenge.common.documentParsing.csv
Methods in de.bcxp.challenge.common.documentParsing.csv that return DocumentModifier and TypeMethodDescriptionCsvParser.parseDocument
(String filepath) Reads a CSV file and converts its records into aDocument
by delegating the record-to-entry conversion to getEntriesFromRecords(Iterable). -
Uses of Document in de.bcxp.challenge.common.utility
Methods in de.bcxp.challenge.common.utility with parameters of type DocumentModifier and TypeMethodDescriptionstatic void
ParameterValidationUtility.validateDocument
(Document document, org.apache.logging.log4j.Logger logger, String logMessage, String exceptionMessage) Validates that the provided document and it's entries are non-null. -
Uses of Document in de.bcxp.challenge.countries
Methods in de.bcxp.challenge.countries with parameters of type DocumentModifier and TypeMethodDescriptionCountryAnalyser.getBestMatches
(Document document) Finds the country with the highest population density from the provided document. -
Uses of Document in de.bcxp.challenge.weather
Methods in de.bcxp.challenge.weather with parameters of type DocumentModifier and TypeMethodDescriptionWeatherAnalyser.getBestMatches
(Document document) Finds the day with the smallest temperature spread from the provided weather document.