Modifier and Type | Field and Description |
---|---|
static String |
ITEMS_ATTR |
protected List<T> |
values |
Constructor and Description |
---|
ApiEventQueryResult() |
ApiEventQueryResult(long totalResults,
List<ApiEvent> events) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(T item) |
boolean |
equals(Object o) |
T |
get(int index) |
List<ApiEvent> |
getEvents() |
long |
getTotalResults()
The total number of matched results.
|
int |
hashCode() |
Iterator<T> |
iterator() |
static ApiEventQueryResult |
newEmptyResult() |
void |
setEvents(List<ApiEvent> values) |
void |
setTotalResults(long totalResults) |
int |
size() |
String |
toString() |
public static final String ITEMS_ATTR
protected List<T> values
public static ApiEventQueryResult newEmptyResult()
public long getTotalResults()
public void setTotalResults(long totalResults)
public boolean add(T item)
public int size()
public T get(int index)
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.