SelectionResults

  
TypeTYPE_EMOJI TYPE
Packageio.github.mrtesz.teszcore.db.selection
GitHubSelectionResults.java
ImplementsCopyable<SelectionResults>

Description

Class for simple handling results of a selection


Constructor

SelectionResults(List<Map<String, Object>> results);
ParameterTypeAnnotationsDescription
resultsList<Map<String, Object>>@NotNullExecution results as a List of Maps representing the selected rows

Methods

isEmpty

boolean isEmpty();

See if the results are empty

Returns: boolean — true if the results are empty


getFirst

SelectionResult getFirst();

Get the first result of all results

Returns: SelectionResult — the first result


asList

List<SelectionResult> asList();

Get the results of the selection

Returns: List<SelectionResult> — results


asMap

List<Map<String, Object>> asMap();

Get the results of the selection as a list of the selected rows represented in a map

Returns: List<Map<String, Object» — results as a list of the selected rows represented in a map


copy

implemented from Copyable.java

T: SelectionResults



Back to top

Copyright © 2026 Mr_Tesz. All rights reserved

This site uses Just the Docs, a documentation theme for Jekyll.