java.lang.Object | |
↳ | org.rrd4j.core.FetchRequest |
Class to represent fetch request. For the complete explanation of all
fetch parameters consult RRDTool's
rrdfetch man page.
You cannot create FetchRequest
directly (no public constructor
is provided). Use createFetchRequest()
method of your RrdDb
object.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Dumps the content of fetch request using the syntax of RRDTool's fetch command.
| |||||||||||
Returns data from the underlying RRD and puts it in a single
FetchData object. | |||||||||||
Returns consolitation function to be used during the fetch process.
| |||||||||||
Returns ending timestamp to be used for the fetch request.
| |||||||||||
Returns starting timestamp to be used for the fetch request.
| |||||||||||
Returns request filter.
| |||||||||||
Returns the underlying RrdDb object.
| |||||||||||
Returns fetch resolution to be used for the fetch request.
| |||||||||||
Sets request filter in order to fetch data only for
the specified array of datasources (datasource names).
| |||||||||||
Sets request filter in order to fetch data only for
the specified set of datasources (datasource names).
| |||||||||||
Sets request filter in order to fetch data only for
a single datasource (datasource name).
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Dumps the content of fetch request using the syntax of RRDTool's fetch command.
Returns data from the underlying RRD and puts it in a single
FetchData
object.
IOException | Thrown in case of I/O error. |
---|
Returns consolitation function to be used during the fetch process.
Returns ending timestamp to be used for the fetch request.
Returns starting timestamp to be used for the fetch request.
Returns request filter. See setFilter()
for
complete explanation.
Returns the underlying RrdDb object.
Returns fetch resolution to be used for the fetch request.
Sets request filter in order to fetch data only for the specified array of datasources (datasource names). If not set (or set to null), fetched data will containt values of all datasources defined in the corresponding RRD. To fetch data only from selected datasources, specify an array of datasource names as method argument.
filter | Array of datsources (datsource names) to fetch data from. |
---|
Sets request filter in order to fetch data only for the specified set of datasources (datasource names). If the filter is not set (or set to null), fetched data will containt values of all datasources defined in the corresponding RRD. To fetch data only from selected datasources, specify a set of datasource names as method argument.
filter | Set of datsource names to fetch data for. |
---|
Sets request filter in order to fetch data only for a single datasource (datasource name). If not set (or set to null), fetched data will containt values of all datasources defined in the corresponding RRD. To fetch data for a single datasource only, specify an array of datasource names as method argument.
filter | Array of datsources (datsource names) to fetch data from. |
---|