Interface Content<T>
- Type Parameters:
T-
- All Superinterfaces:
Comparable<Content<?>>,Supplier<CharSequence>
- All Known Implementing Classes:
PathContent,URLContent
A generic content wrapper for anything that can be given to a NoSQLBench runtime
using a specific type of locator.
-
Method Summary
Modifier and TypeMethodDescriptionasPath()default StringasString()default intdefault CharSequenceget()default InputStreamdefault ReadergetURI()default URLgetURL()
-
Method Details
-
getLocation
T getLocation() -
getURI
URI getURI() -
getURL
-
asPath
Path asPath() -
asString
-
getCharBuffer
CharBuffer getCharBuffer() -
get
-
compareTo
- Specified by:
compareToin interfaceComparable<T>
-
getReader
-
getInputStream
-