A B C D E F G H I K L M N O P Q R S T U V W

A

add(DataPoints, String) - Method in class net.opentsdb.graph.Plot
Adds some data points to this plot.
add(int) - Method in class net.opentsdb.stats.Histogram
Adds a value to the histogram.
addExtraTag(String, String) - Method in class net.opentsdb.stats.StatsCollector
Adds a tag to all the subsequent data points recorded.
addHostTag() - Method in class net.opentsdb.stats.StatsCollector
Adds a host=hostname tag.
addOption(String, String, String) - Method in class net.opentsdb.tools.ArgP
Registers an option in this argument parser.
addOption(String, String) - Method in class net.opentsdb.tools.ArgP
Registers an option that doesn't take a value in this argument parser.
addPoint(String, long, long, Map<String, String>) - Method in class net.opentsdb.core.TSDB
Adds a single integer value data point in the TSDB.
addPoint(String, long, float, Map<String, String>) - Method in class net.opentsdb.core.TSDB
Adds a single floating-point value data point in the TSDB.
addPoint(long, long) - Method in interface net.opentsdb.core.WritableDataPoints
Adds a long data point to the TSDB.
addPoint(long, float) - Method in interface net.opentsdb.core.WritableDataPoints
Appends a float data point to this sequence.
addUsageTo(StringBuilder) - Method in class net.opentsdb.tools.ArgP
Appends the usage to the given buffer.
aggregatedSize() - Method in interface net.opentsdb.core.DataPoints
Returns the number of data points aggregated in this instance.
Aggregator - Interface in net.opentsdb.core
A function capable of aggregating multiple DataPoints together.
Aggregator.Doubles - Interface in net.opentsdb.core
A sequence of doubles.
Aggregator.Longs - Interface in net.opentsdb.core
A sequence of longs.
Aggregators - Class in net.opentsdb.core
Utility class that provides common, generally useful aggregators.
ArgP - Class in net.opentsdb.tools
A dead simple command-line argument parser.
ArgP() - Constructor for class net.opentsdb.tools.ArgP
Constructor.
AVG - Static variable in class net.opentsdb.core.Aggregators
Aggregator that returns the average value of the data point.

B

buckets() - Method in class net.opentsdb.stats.Histogram
Returns the number of buckets in this histogram.
BuildData - Class in net.opentsdb
Build data for net.opentsdb
BuildData.RepoStatus - Enum in net.opentsdb
Represents the status of the repository at the time of the build.
buildString() - Static method in class net.opentsdb.BuildData
Human readable string describing the build information of this package.

C

cacheHits() - Method in class net.opentsdb.uid.UniqueId
The number of times we avoided reading from HBase thanks to the cache.
cacheMisses() - Method in class net.opentsdb.uid.UniqueId
The number of times we had to read from HBase and populate the cache.
cacheSize() - Method in class net.opentsdb.uid.UniqueId
Returns the number of elements stored in the internal cache.
clearExtraTag(String) - Method in class net.opentsdb.stats.StatsCollector
Clears a tag added using addExtraTag.
collectStats(StatsCollector) - Method in class net.opentsdb.core.TSDB
Collects the stats and metrics tracked by this instance.
Const - Class in net.opentsdb.core
Constants used in various places.
Const() - Constructor for class net.opentsdb.core.Const
 

D

DataPoint - Interface in net.opentsdb.core
Represents a single data point.
DataPoints - Interface in net.opentsdb.core
Represents a read-only sequence of continuous data points.
date - Static variable in class net.opentsdb.BuildData
UTC date at which this package was built.
doubleValue() - Method in interface net.opentsdb.core.DataPoint
Returns the value of the this data point as a double.
doubleValue(int) - Method in interface net.opentsdb.core.DataPoints
Returns the value of the ith data point as a float.
downsample(int, Aggregator) - Method in interface net.opentsdb.core.Query
Downsamples the results by specifying a fixed interval between points.
dumpToFiles(String) - Method in class net.opentsdb.graph.Plot
Generates the Gnuplot script and data files.

E

emit(String) - Method in class net.opentsdb.stats.StatsCollector
Method to override to actually emit a data point.

F

flush() - Method in class net.opentsdb.core.TSDB
Forces a flush of any un-committed in memory data.
full_revision - Static variable in class net.opentsdb.BuildData
Full revision at which this package was built.

G

get(String) - Static method in class net.opentsdb.core.Aggregators
Returns the aggregator corresponding to the given name.
get(String) - Method in class net.opentsdb.tools.ArgP
Returns the value of the given option, if it was given.
get(String, String) - Method in class net.opentsdb.tools.ArgP
Returns the value of the given option, or a default value.
getAggregatedTags() - Method in interface net.opentsdb.core.DataPoints
Returns the tags associated with some but not all of the data points.
getDataPoints() - Method in class net.opentsdb.graph.Plot
Returns a view on the datapoints in this plot.
getEndTime() - Method in interface net.opentsdb.core.Query
Returns the end time of the graph.
getId(String) - Method in class net.opentsdb.uid.UniqueId
 
getId(String) - Method in interface net.opentsdb.uid.UniqueIdInterface
Finds the ID associated with a given name.
getName(byte[]) - Method in class net.opentsdb.uid.UniqueId
 
getName(byte[]) - Method in interface net.opentsdb.uid.UniqueIdInterface
Finds the name associated with a given ID.
getOrCreateId(String) - Method in class net.opentsdb.uid.UniqueId
 
getOrCreateId(String) - Method in interface net.opentsdb.uid.UniqueIdInterface
Finds the ID associated with a given name or creates it.
getPipeline() - Method in class net.opentsdb.tsd.PipelineFactory
 
getPutLatencyHistogram() - Method in class net.opentsdb.core.TSDB
Returns a latency histogram for Put RPCs used to store data points.
getScanLatencyHistogram() - Method in class net.opentsdb.core.TSDB
Returns a latency histogram for Scan RPCs used to fetch data points.
getStartTime() - Method in interface net.opentsdb.core.Query
Returns the start time of the graph.
getTags() - Method in interface net.opentsdb.core.DataPoints
Returns the tags associated with these data points.

H

has(String) - Method in class net.opentsdb.tools.ArgP
Returns whether or not the given option was given.
hasNext() - Method in interface net.opentsdb.core.SeekableView
Returns true if this view has more elements.
hasNextValue() - Method in interface net.opentsdb.core.Aggregator.Doubles
Returns true if this sequence has more values.
hasNextValue() - Method in interface net.opentsdb.core.Aggregator.Longs
Returns true if this sequence has more values.
HEX - Static variable in class net.opentsdb.core.Const
Array containing the hexadecimal characters (0 to 9, A to F).
Histogram - Class in net.opentsdb.stats
A histogram to keep track of the approximation of a distribution of values.
Histogram(int, short, int) - Constructor for class net.opentsdb.stats.Histogram
Constructor.
host - Static variable in class net.opentsdb.BuildData
Host on which this package was built.

I

id() - Method in exception net.opentsdb.uid.NoSuchUniqueId
Returns the unique ID that couldn't be found.
IllegalDataException - Exception in net.opentsdb.core
Some illegal / malformed / corrupted data has been found in HBase.
IllegalDataException(String) - Constructor for exception net.opentsdb.core.IllegalDataException
Constructor.
IllegalDataException(String, Throwable) - Constructor for exception net.opentsdb.core.IllegalDataException
Constructor.
isInteger() - Method in interface net.opentsdb.core.DataPoint
Tells whether or not the this data point is a value of integer type.
isInteger(int) - Method in interface net.opentsdb.core.DataPoints
Tells whether or not the ith value is of integer type.
iterator() - Method in interface net.opentsdb.core.DataPoints
Returns a zero-copy view to go through size() data points.

K

kind() - Method in exception net.opentsdb.uid.NoSuchUniqueId
Returns the kind of unique ID that couldn't be found.
kind() - Method in exception net.opentsdb.uid.NoSuchUniqueName
Returns the kind of unique ID that couldn't be found.
kind() - Method in class net.opentsdb.uid.UniqueId
 
kind() - Method in interface net.opentsdb.uid.UniqueIdInterface
Returns what kind of Unique ID is served by this instance.

L

longValue() - Method in interface net.opentsdb.core.DataPoint
Returns the value of the this data point as a long.
longValue(int) - Method in interface net.opentsdb.core.DataPoints
Returns the value of the ith data point as a long.

M

MAX - Static variable in class net.opentsdb.core.Aggregators
Aggregator that returns the maximum data point.
MAX_NUM_TAGS - Static variable in class net.opentsdb.core.Const
Maximum number of tags allowed per data point.
MAX_TIMESPAN - Static variable in class net.opentsdb.core.Const
Max time delta (in seconds) we can store in a column qualifier.
metricName() - Method in interface net.opentsdb.core.DataPoints
Returns the name of the series.
MIN - Static variable in class net.opentsdb.core.Aggregators
Aggregator that returns the minimum data point.

N

name() - Method in exception net.opentsdb.uid.NoSuchUniqueName
Returns the name for which the unique ID couldn't be found.
net.opentsdb - package net.opentsdb
 
net.opentsdb.core - package net.opentsdb.core
 
net.opentsdb.graph - package net.opentsdb.graph
 
net.opentsdb.stats - package net.opentsdb.stats
 
net.opentsdb.tools - package net.opentsdb.tools
 
net.opentsdb.tsd - package net.opentsdb.tsd
 
net.opentsdb.uid - package net.opentsdb.uid
 
newDataPoints() - Method in class net.opentsdb.core.TSDB
Returns a new WritableDataPoints instance suitable for this TSDB.
newQuery() - Method in class net.opentsdb.core.TSDB
Returns a new Query instance suitable for this TSDB.
next() - Method in interface net.opentsdb.core.SeekableView
Returns a view on the next data point.
nextDoubleValue() - Method in interface net.opentsdb.core.Aggregator.Doubles
Returns the next double value in this sequence.
nextLongValue() - Method in interface net.opentsdb.core.Aggregator.Longs
Returns the next long value in this sequence.
NoSuchUniqueId - Exception in net.opentsdb.uid
Exception used when a Unique ID can't be found.
NoSuchUniqueId(String, byte[]) - Constructor for exception net.opentsdb.uid.NoSuchUniqueId
Constructor.
NoSuchUniqueName - Exception in net.opentsdb.uid
Exception used when a name's Unique ID can't be found.
NoSuchUniqueName(String, String) - Constructor for exception net.opentsdb.uid.NoSuchUniqueName
Constructor.

O

optionExists(String) - Method in class net.opentsdb.tools.ArgP
Returns whether or not the given option name exists.

P

parse(HashMap<String, String>, String) - Static method in class net.opentsdb.core.Tags
Parses a tag into a HashMap.
parse(String[]) - Method in class net.opentsdb.tools.ArgP
Parses the command line given in argument.
parseLong(CharSequence) - Static method in class net.opentsdb.core.Tags
Parses an integer value as a long from the given character sequence.
parseWithMetric(String, HashMap<String, String>) - Static method in class net.opentsdb.core.Tags
Parses the metric and tags out of the given string.
percentile(int) - Method in class net.opentsdb.stats.Histogram
Returns the value of the pth percentile in this histogram.
PipelineFactory - Class in net.opentsdb.tsd
Creates a newly configured ChannelPipeline for a new channel.
PipelineFactory(TSDB) - Constructor for class net.opentsdb.tsd.PipelineFactory
Constructor.
Plot - Class in net.opentsdb.graph
Produces files to generate graphs with Gnuplot.
Plot(long, long) - Constructor for class net.opentsdb.graph.Plot
Constructor.
printAscii(StringBuilder) - Method in class net.opentsdb.stats.Histogram
Prints this histogram in a human readable ASCII format.

Q

Query - Interface in net.opentsdb.core
A query to retreive data from the TSDB.

R

record(String, long) - Method in class net.opentsdb.stats.StatsCollector
Records a data point.
record(String, Number) - Method in class net.opentsdb.stats.StatsCollector
Records a data point.
record(String, Number, String) - Method in class net.opentsdb.stats.StatsCollector
Records a data point.
record(String, Histogram, String) - Method in class net.opentsdb.stats.StatsCollector
Records a number of data points from a Histogram.
record(String, long, String) - Method in class net.opentsdb.stats.StatsCollector
Records a data point.
remove() - Method in interface net.opentsdb.core.SeekableView
Unsupported operation.
rename(String, String) - Method in class net.opentsdb.uid.UniqueId
Reassigns the UID to a different name (non-atomic).
repo - Static variable in class net.opentsdb.BuildData
Path to the repository in which this package was built.
repo_status - Static variable in class net.opentsdb.BuildData
Status of the repository at the time of the build.
revisionString() - Static method in class net.opentsdb.BuildData
Human readable string describing the revision of this package.
run() - Method in interface net.opentsdb.core.Query
Runs this query.
runDouble(Aggregator.Doubles) - Method in interface net.opentsdb.core.Aggregator
Aggregates a sequence of doubles.
runLong(Aggregator.Longs) - Method in interface net.opentsdb.core.Aggregator
Aggregates a sequence of longs.

S

seek(long) - Method in interface net.opentsdb.core.SeekableView
Advances the iterator to the given point in time.
SeekableView - Interface in net.opentsdb.core
Provides a zero-copy view to iterate through data points.
set() - Static method in class net.opentsdb.core.Aggregators
Returns the set of the names that can be used with get.
setBatchImport(boolean) - Method in interface net.opentsdb.core.WritableDataPoints
Specifies whether or not this is a batch import.
setBufferingTime(short) - Method in interface net.opentsdb.core.WritableDataPoints
Specifies for how long to buffer edits, in milliseconds.
setDimensions(short, short) - Method in class net.opentsdb.graph.Plot
Sets the dimensions of the graph (in pixels).
setEndTime(long) - Method in interface net.opentsdb.core.Query
Sets the end time of the graph.
setParams(Map<String, String>) - Method in class net.opentsdb.graph.Plot
Sets the global parameters for this plot.
setSeries(String, Map<String, String>) - Method in interface net.opentsdb.core.WritableDataPoints
Sets the metric name and tags of the series.
setStartTime(long) - Method in interface net.opentsdb.core.Query
Sets the start time of the graph.
setTimeSeries(String, Map<String, String>, Aggregator, boolean) - Method in interface net.opentsdb.core.Query
Sets the time series to the query.
short_revision - Static variable in class net.opentsdb.BuildData
Short revision at which this package was built.
shutdown() - Method in class net.opentsdb.core.TSDB
Gracefully shuts down this instance.
size() - Method in interface net.opentsdb.core.DataPoints
Returns the number of data points.
splitString(String, char) - Static method in class net.opentsdb.core.Tags
Optimized version of String#split that doesn't use regexps.
StatsCollector - Class in net.opentsdb.stats
Receives various stats/metrics from the current process.
StatsCollector(String) - Constructor for class net.opentsdb.stats.StatsCollector
Constructor.
suggest(String) - Method in class net.opentsdb.uid.UniqueId
Attempts to find suggestions of names given a search term.
suggestMetrics(String) - Method in class net.opentsdb.core.TSDB
Given a prefix search, returns a few matching metric names.
suggestTagNames(String) - Method in class net.opentsdb.core.TSDB
Given a prefix search, returns a few matching tag names.
suggestTagValues(String) - Method in class net.opentsdb.core.TSDB
Given a prefix search, returns a few matching tag values.
SUM - Static variable in class net.opentsdb.core.Aggregators
Aggregator that sums up all the data points.

T

Tags - Class in net.opentsdb.core
Helper functions to deal with tags.
timestamp - Static variable in class net.opentsdb.BuildData
UNIX timestamp of the time of the build.
timestamp() - Method in interface net.opentsdb.core.DataPoint
Returns the timestamp (in seconds) associated with this data point.
timestamp(int) - Method in interface net.opentsdb.core.DataPoints
Returns the timestamp associated with the ith data point.
TIMESTAMP_BYTES - Static variable in class net.opentsdb.core.Const
Number of bytes on which a timestamp is encoded.
toDouble() - Method in interface net.opentsdb.core.DataPoint
Returns the value of the this data point as a double, even if it's a long.
toString() - Method in class net.opentsdb.stats.Histogram
 
toString() - Method in class net.opentsdb.tools.ArgP
 
toString() - Method in class net.opentsdb.uid.UniqueId
Returns a human readable string representation of the object.
TSDB - Class in net.opentsdb.core
Thread-safe implementation of the TSDB client.
TSDB(HBaseClient, String, String) - Constructor for class net.opentsdb.core.TSDB
Constructor.

U

uidCacheHits() - Method in class net.opentsdb.core.TSDB
Number of cache hits during lookups involving UIDs.
uidCacheMisses() - Method in class net.opentsdb.core.TSDB
Number of cache misses during lookups involving UIDs.
uidCacheSize() - Method in class net.opentsdb.core.TSDB
Number of cache entries currently in RAM for lookups involving UIDs.
UniqueId - Class in net.opentsdb.uid
Thread-safe implementation of the UniqueIdInterface.
UniqueId(HBaseClient, byte[], String, int) - Constructor for class net.opentsdb.uid.UniqueId
Constructor.
UniqueIdInterface - Interface in net.opentsdb.uid
Represents a table of Unique IDs, manages the lookup and creation of IDs.
usage() - Method in class net.opentsdb.tools.ArgP
Returns a usage string.
user - Static variable in class net.opentsdb.BuildData
Username of the user who built this package.

V

valueOf(String) - Static method in enum net.opentsdb.BuildData.RepoStatus
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.opentsdb.BuildData.RepoStatus
Returns an array containing the constants of this enum type, in the order they are declared.

W

width() - Method in class net.opentsdb.uid.UniqueId
 
width() - Method in interface net.opentsdb.uid.UniqueIdInterface
Returns the number of bytes on which each Unique ID is encoded.
WritableDataPoints - Interface in net.opentsdb.core
Represents a mutable sequence of continuous data points.

A B C D E F G H I K L M N O P Q R S T U V W