@InterfaceAudience.Private @InterfaceStability.Unstable public final class TimelineEntityFilters extends Object
DEFAULT_LIMIT
. The maximum possible
value for limit can be Long.MAX_VALUE
.Long.MAX_VALUE
.TimelineFilterList
object containing
TimelineKeyValuesFilter
objects, each of which contains a
set of values for a key and the comparison operator (equals/not equals). The
key which represents the entity type is a string and values are a set of
entity identifiers (also string). As it is a filter list, relatesTo can be
evaluated with logical AND/OR and we can create a hierarchy of these
TimelineKeyValuesFilter
objects. If null or empty, the relations are
not matched.TimelineFilterList
object containing
TimelineKeyValuesFilter
objects, each of which contains a
set of values for a key and the comparison operator (equals/not equals). The
key which represents the entity type is a string and values are a set of
entity identifiers (also string). As it is a filter list, relatesTo can be
evaluated with logical AND/OR and we can create a hierarchy of these
TimelineKeyValuesFilter
objects. If null or empty, the relations are
not matched.TimelineFilterList
object containing TimelineKeyValueFilter
objects, each of which contains key-value pairs with a comparison operator
(equals/not equals). The key which represents the info key is a string but
value can be any object. As it is a filter list, info filters can be
evaluated with logical AND/OR and we can create a hierarchy of these
key-value pairs. If null or empty, the filter is not applied.TimelineFilterList
object containing TimelineKeyValueFilter
objects, each of which contains key-value pairs with a comparison operator
(equals/not equals). Both key (which represents config name) and value (which
is config value) are strings. As it is a filter list, config filters can be
evaluated with logical AND/OR and we can create a hierarchy of these
TimelineKeyValueFilter
objects. If null or empty, the filter is not
applied.TimelineFilterList
object containing
TimelineCompareFilter
objects, each of which contains key-value pairs
along with the specified relational/comparison operator represented by
TimelineCompareOp
. The key is a string and value is integer
(Short/Integer/Long). As it is a filter list, metric filters can be evaluated
with logical AND/OR and we can create a hierarchy of these
TimelineCompareFilter
objects. If null or empty, the filter is not
applied.TimelineFilterList
object
containing TimelineExistsFilter
objects, each of which contains a
value which must or must not exist depending on comparison operator specified
in the filter. For event filters, the value represents a event id. As it is a
filter list, event filters can be evaluated with logical AND/OR and we can
create a hierarchy of these TimelineExistsFilter
objects. If null or
empty, the filter is not applied.Modifier and Type | Class and Description |
---|---|
static class |
TimelineEntityFilters.Builder
A builder class to build an instance of TimelineEntityFilters.
|
Modifier and Type | Field and Description |
---|---|
static long |
DEFAULT_LIMIT
Default limit of number of entities to return for getEntities API.
|
Modifier and Type | Method and Description |
---|---|
TimelineFilterList |
getConfigFilters() |
long |
getCreatedTimeBegin() |
long |
getCreatedTimeEnd() |
TimelineFilterList |
getEventFilters() |
String |
getFromId() |
TimelineFilterList |
getInfoFilters() |
TimelineFilterList |
getIsRelatedTo() |
long |
getLimit() |
TimelineFilterList |
getMetricFilters() |
TimelineFilterList |
getRelatesTo() |
public static final long DEFAULT_LIMIT
public long getLimit()
public long getCreatedTimeBegin()
public long getCreatedTimeEnd()
public TimelineFilterList getRelatesTo()
public TimelineFilterList getIsRelatedTo()
public TimelineFilterList getInfoFilters()
public TimelineFilterList getConfigFilters()
public TimelineFilterList getMetricFilters()
public TimelineFilterList getEventFilters()
public String getFromId()
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.