## Uses of Class
org.rrd4j.data.Variable

- Packages that use Variable
  Package | Description
  --- | ---
  org.rrd4j | RRD4J is a high performance data logging and graphing system for time series data, implementing RRDTool's functionality in Java.
  org.rrd4j.core | core RRD4J implementation.
  org.rrd4j.data | RRD4J data management classes and interfaces. Provides data sources, processors, aggregators, and utilities for Round Robin Database (RRD) operations and calculations.
  org.rrd4j.graph | RRD4J graph capabilities.

- - ### Uses of Variable in org.rrd4j

    Methods in org.rrd4j that return Variable
    Modifier and Type | Method and Description
    --- | ---
    `abstract Variable` | ConsolFun.`getVariable()`

  - ### Uses of Variable in org.rrd4j.core

    Methods in org.rrd4j.core with parameters of type Variable
    Modifier and Type | Method and Description
    --- | ---
    `void` | DataHolder.`datasource(String name, String defName, Variable var)` Creates a datasource that performs a variable calculation on an another named datasource to yield a single combined timestamp/value.

  - ### Uses of Variable in org.rrd4j.data

    Subclasses of Variable in org.rrd4j.data
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `Variable.AVERAGE` Calculate the average of the data points.
    `static class` | `Variable.FIRST` Find the first valid data point and it's timestamp
    `static class` | `Variable.LAST` Find the first last valid point and it's timestamp
    `static class` | `Variable.LSLCORREL` Calculate the correlation coefficient of the least squares line.
    `static class` | `Variable.LSLINT` Calculate the y-intercept of the least squares line.
    `static class` | `Variable.LSLSLOPE` Calculate the slop of the least squares line.
    `static class` | `Variable.MAX` The biggest of the data points and it's time stamp (the first one) is stored.
    `static class` | `Variable.MIN` The smallest of the data points and it's time stamp (the first one) is stored.
    `static class` | `Variable.PERCENTILE` Find the point at the n-th percentile.
    `static class` | `Variable.PERCENTILENAN`
    `static class` | `Variable.STDDEV` Calculate the standard deviation for the data point.
    `static class` | `Variable.TOTAL` Calculate the sum of the data points.

    Methods in org.rrd4j.data with parameters of type Variable
    Modifier and Type | Method and Description
    --- | ---
    `void` | DataProcessor.`addDatasource(String name, String defName, Variable var)` Deprecated. Uses `DataProcessor.datasource(String, String, Variable)` instead.
    `void` | DataProcessor.`datasource(String name, String defName, Variable var)` Creates a datasource that performs a variable calculation on an another named datasource to yield a single combined timestamp/value.
    `Variable.Value` | DataProcessor.`getVariable(String sourceName, Variable var)` Returns single aggregated value for a single datasource.

    Constructors in org.rrd4j.data with parameters of type Variable
    Constructor and Description
    `VDef(String name, String defName, Variable aggr)`

  - ### Uses of Variable in org.rrd4j.graph

    Methods in org.rrd4j.graph with parameters of type Variable
    Modifier and Type | Method and Description
    --- | ---
    `void` | RrdGraphDef.`datasource(String name, String defName, Variable var)` Creates a datasource that performs a variable calculation on an another named datasource to yield a single combined timestamp/value.

    Constructors in org.rrd4j.graph with parameters of type Variable
    Constructor and Description
    `VDef(String name, String defName, Variable var)`