Package io.github.coho04.mysql.entities
Class SearchResults
java.lang.Object
io.github.coho04.mysql.entities.SearchResults
The SearchResults class represents a collection of SearchResult objects.
It provides methods to retrieve different types of data from the SearchResults.
-
Constructor Summary
ConstructorDescriptionSearchResults
(List<SearchResult> item) The SearchResults class represents a collection of SearchResult objects. -
Method Summary
Modifier and TypeMethodDescriptionReturns a list of boolean values representing the search results.Retrieves the search results as a list of byte values.Returns a list of double values representing the search results.Retrieves the search results as a list of float values.getAsInt()
Retrieves the search results as a list of integers.Retrieves the search results as a list of long values.Returns a list of objects representing the search results.Retrieves the search results as a list of SearchResult objects.Retrieves the search results as a list of short values.Returns a list of strings representing the search results.
-
Constructor Details
-
SearchResults
The SearchResults class represents a collection of SearchResult objects. It provides methods to retrieve different types of data from the SearchResults.- Parameters:
item
- The list of SearchResult objects representing the search results.
-
-
Method Details
-
getAsString
Returns a list of strings representing the search results.- Returns:
- A list of strings representing the search results.
-
getAsBoolean
Returns a list of boolean values representing the search results.- Returns:
- A list of boolean values representing the search results.
-
getAsInt
Retrieves the search results as a list of integers.- Returns:
- A list of integers representing the search results.
-
getAsLong
Retrieves the search results as a list of long values.- Returns:
- A list of long values representing the search results.
-
getAsDouble
Returns a list of double values representing the search results.- Returns:
- A list of double values representing the search results.
-
getAsShort
Retrieves the search results as a list of short values.- Returns:
- A list of short values representing the search results.
-
getAsFloat
Retrieves the search results as a list of float values.- Returns:
- A list of float values representing the search results.
-
getAsObject
Returns a list of objects representing the search results.- Returns:
- A list of Objects representing the search results.
-
getAsByte
Retrieves the search results as a list of byte values.- Returns:
- A list of byte values representing the search results.
-
getAsSearchResults
Retrieves the search results as a list of SearchResult objects.- Returns:
- A list of SearchResult objects representing the search results.
-