Klasse SearchSearchRange
A range is request criteria for the search operation applicable for the data types like date, datetime and integers. Range can be specified either by providing the 'from' and 'to' field or the 'since' field.For example to find 1. Search the transactional events generated in between 2020-04-01 (April 1, 2020) and 2020-05-31 (May 31, 2020), we can use {"attributeName" : "creationDate", "range" : {"from" : "2020-04-01", "to" : "2020-05-31"}}. 2. Search the transactional events where the request data size in between 1000 and 4000 - {"attributeName" : "apiName", "range" : {"from" : 1000, "to" : 4000}}.
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected Objectfrom value is used to set the minimum value in the request criteria and it can be integer, date or datetimeprotected StringThis field is to search the data for the last few duration in units like seconds, minutes, hours, days and weeks.protected Objectto value is used to set the maximum value in the request criteria and it can be integer, date or datetime -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedSearchSearchRange(Object from, String since, Object to) Constructs a validated instance ofSearchSearchRange.Constructs a validated instance ofSearchSearchRange. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected booleanbooleanfrom()from value is used to set the minimum value in the request criteria and it can be integer, date or datetimefrom value is used to set the minimum value in the request criteria and it can be integer, date or datetimeinthashCode()since()This field is to search the data for the last few duration in units like seconds, minutes, hours, days and weeks.This field is to search the data for the last few duration in units like seconds, minutes, hours, days and weeks.to()to value is used to set the maximum value in the request criteria and it can be integer, date or datetimeto value is used to set the maximum value in the request criteria and it can be integer, date or datetimetoString()
-
Felddetails
-
from
from value is used to set the minimum value in the request criteria and it can be integer, date or datetime -
since
This field is to search the data for the last few duration in units like seconds, minutes, hours, days and weeks. Possible units are [smhdw] -
to
to value is used to set the maximum value in the request criteria and it can be integer, date or datetime
-
-
Konstruktordetails
-
SearchSearchRange
Constructs a validated instance ofSearchSearchRange.- Parameter:
spec- the specification to process
-
SearchSearchRange
Constructs a validated instance ofSearchSearchRange.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
SearchSearchRange(Consumer)instead.- Parameter:
from- from value is used to set the minimum value in the request criteria and it can be integer, date or datetimesince- This field is to search the data for the last few duration in units like seconds, minutes, hours, days and weeks. Possible units are [smhdw]to- to value is used to set the maximum value in the request criteria and it can be integer, date or datetime
-
SearchSearchRange
protected SearchSearchRange()
-
-
Methodendetails
-
from
from value is used to set the minimum value in the request criteria and it can be integer, date or datetime -
since
This field is to search the data for the last few duration in units like seconds, minutes, hours, days and weeks. Possible units are [smhdw] -
to
to value is used to set the maximum value in the request criteria and it can be integer, date or datetime -
from
from value is used to set the minimum value in the request criteria and it can be integer, date or datetime- Gibt zurück:
this.
-
since
This field is to search the data for the last few duration in units like seconds, minutes, hours, days and weeks. Possible units are [smhdw]- Gibt zurück:
this.
-
to
to value is used to set the maximum value in the request criteria and it can be integer, date or datetime- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
-
toString
-