Package io.nosqlbench.api.content
Interface NBPathsAPI.GetSource
- All Known Subinterfaces:
NBPathsAPI.Facets
- All Known Implementing Classes:
NBIO
- Enclosing interface:
- NBPathsAPI
public static interface NBPathsAPI.GetSource
-
Method Summary
Modifier and TypeMethodDescriptionReturn content from everywhere, from remote URls, or from the file system and then the internal bundled content if not found in the file system first.Only return content from the filesystem, but not remote URLs nor internal bundled resources.Only return content from the runtime classpath, internal resources that are bundled, and do not return content on the file system.Only provide content from the class path and the local filesystem.Only return content from remote URLs.
-
Method Details
-
localContent
NBPathsAPI.GetPrefix localContent()Only provide content from the class path and the local filesystem.- Returns:
- this builder
-
remoteContent
NBPathsAPI.GetPrefix remoteContent()Only return content from remote URLs. If the user is providing non-URL content in this context, it is an error. Throw an error in that case.- Returns:
- this builder
-
internalContent
NBPathsAPI.GetPrefix internalContent()Only return content from the runtime classpath, internal resources that are bundled, and do not return content on the file system.- Returns:
- this builder
-
fileContent
NBPathsAPI.GetPrefix fileContent()Only return content from the filesystem, but not remote URLs nor internal bundled resources.- Returns:
- this builder
-
allContent
NBPathsAPI.GetPrefix allContent()Return content from everywhere, from remote URls, or from the file system and then the internal bundled content if not found in the file system first.- Returns:
- this builder
-