QueryDatasetFiles
class QueryDatasetFiles @JvmOverloads constructor(configDirectory: Path = Path.of("config"), classLoader: ClassLoader = Thread.currentThread().contextClassLoader ?: QueryDatasetFiles::class.java.classLoader)
Reads the dataset files (datasets are declared in files, not in the Manifest), one per dataset, named {context}.{dataset}.json in the QueryDatasetProperties format: from the working directory's <configDirectory>/wow/dataset/, which takes precedence, else from the classpath's META-INF/wow/dataset/.
Every failure to find, read or parse a file is a QuerySchemaUnavailableException whose cause says what is wrong.
Constructors
Link copied to clipboard
constructor(configDirectory: Path = Path.of("config"), classLoader: ClassLoader = Thread.currentThread().contextClassLoader ?: QueryDatasetFiles::class.java.classLoader)