Class SearchResults

java.lang.Object
io.github.coho04.mysql.entities.SearchResults

public class SearchResults extends Object
The SearchResults class represents a collection of SearchResult objects. It provides methods to retrieve different types of data from the SearchResults.
  • Constructor Details

    • SearchResults

      public SearchResults(List<SearchResult> item)
      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

      public List<String> getAsString()
      Returns a list of strings representing the search results.
      Returns:
      A list of strings representing the search results.
    • getAsBoolean

      public List<Boolean> getAsBoolean()
      Returns a list of boolean values representing the search results.
      Returns:
      A list of boolean values representing the search results.
    • getAsInt

      public List<Integer> getAsInt()
      Retrieves the search results as a list of integers.
      Returns:
      A list of integers representing the search results.
    • getAsLong

      public List<Long> getAsLong()
      Retrieves the search results as a list of long values.
      Returns:
      A list of long values representing the search results.
    • getAsDouble

      public List<Double> getAsDouble()
      Returns a list of double values representing the search results.
      Returns:
      A list of double values representing the search results.
    • getAsShort

      public List<Short> getAsShort()
      Retrieves the search results as a list of short values.
      Returns:
      A list of short values representing the search results.
    • getAsFloat

      public List<Float> getAsFloat()
      Retrieves the search results as a list of float values.
      Returns:
      A list of float values representing the search results.
    • getAsObject

      public List<Object> getAsObject()
      Returns a list of objects representing the search results.
      Returns:
      A list of Objects representing the search results.
    • getAsByte

      public List<Byte> getAsByte()
      Retrieves the search results as a list of byte values.
      Returns:
      A list of byte values representing the search results.
    • getAsSearchResults

      public List<SearchResult> getAsSearchResults()
      Retrieves the search results as a list of SearchResult objects.
      Returns:
      A list of SearchResult objects representing the search results.