public class QueryResult extends Object
When applying aggregation functions in the query (e.g., min/max/groupBy/count/avg) you will get values for the identifier. Same identifier may occur more than once as the results get updated.
Constructor and Description |
---|
QueryResult(io.axoniq.axonserver.connector.event.EventQueryResultEntry entry)
Constructs a QueryResult from the given
entry . |
Modifier and Type | Method and Description |
---|---|
Object |
get(String name)
Retrieve the column information referring to the given
name . |
List<String> |
getColumns()
The list of columns returned by the query.
|
List<Object> |
getIdentifiers()
Returns the identifiers that uniquely identify this result entry.
|
io.axoniq.axonserver.connector.event.EventQueryResultEntry |
getQueryResultEntry()
Returns the wrapped entry as returned by the AxonServer Java Connector.
|
List<Object> |
getSortValues()
Returns the list of values to use to compare the order of this entry to other entries.
|
String |
toString() |
public QueryResult(io.axoniq.axonserver.connector.event.EventQueryResultEntry entry)
entry
.entry
- the entry to wrappublic Object get(String name)
name
.name
- the column name to retrieve information forname
public List<Object> getIdentifiers()
public List<Object> getSortValues()
public List<String> getColumns()
public io.axoniq.axonserver.connector.event.EventQueryResultEntry getQueryResultEntry()
Copyright © 2010–2024. All rights reserved.