Class SessionSearchResults

java.lang.Object
com.sas.lsaf.execution.session.SessionSearchResults
All Implemented Interfaces:
Serializable

public class SessionSearchResults extends Object implements Serializable
The class that represents the results of a session search executed on the server.
Since:
2.4
See Also:
  • Constructor Details

    • SessionSearchResults

      public SessionSearchResults(Set<Session> sessions, boolean limitReached)
      It is not intended or recommended that the consumer of this API construct these objects. They should only deal with the search results objects returned by the API.
      Parameters:
      sessions - The sessions found that match the query.
      limitReached - Indicates whether the query results exceed the maximum number of items that are allowed on the server.
  • Method Details

    • getSessions

      public Set<Session> getSessions()
      The sessions found that match the query.
      Returns:
      The sessions found that match the query.
    • isLimitReached

      public boolean isLimitReached()
      Indicates whether the query results exceed the maximum number of items that are allowed on the server.
      Returns:
      Whether the query results exceed the maximum number of items that are allowed on the server.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object