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

A

absoluteTimestamp(long) - Method in class net.opentsdb.core.Internal.Cell
Returns the timestamp as stored in HBase for the cell, i.e.
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.
addChild(Branch) - Method in class net.opentsdb.tree.Branch
Adds a child branch to the local branch set if it doesn't exist.
addCollision(String, String) - Method in class net.opentsdb.tree.Tree
Adds a TSUID to the collision local list, must then be synced with storage
addExtraTag(String, String) - Method in class net.opentsdb.stats.StatsCollector
Adds a tag to all the subsequent data points recorded.
addHostTag(boolean) - Method in class net.opentsdb.stats.StatsCollector
Adds a host=hostname tag.
addLeaf(Leaf, Tree) - Method in class net.opentsdb.tree.Branch
Adds a leaf to the local branch, looking for collisions
addNotMatched(String, String) - Method in class net.opentsdb.tree.Tree
Adds a TSUID to the not-matched local list when strict_matching is enabled.
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, double, Map<String, String>) - Method in class net.opentsdb.core.TSDB
Adds a double precision floating-point 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.
addRule(TreeRule) - Method in class net.opentsdb.tree.Tree
Adds the given rule to the tree, replacing anything in the designated spot
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() - Method in class net.opentsdb.core.TSSubQuery
 
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.
Aggregators.Interpolation - Enum in net.opentsdb.core
Different interpolation methods
Annotation - Class in net.opentsdb.meta
Annotations are used to record time-based notes about timeseries events.
Annotation() - Constructor for class net.opentsdb.meta.Annotation
Default constructor, initializes the change map
ArgP - Class in net.opentsdb.tools
A dead simple command-line argument parser.
ArgP() - Constructor for class net.opentsdb.tools.ArgP
Constructor.
assignUid(String, String) - Method in class net.opentsdb.core.TSDB
Attempts to assign a UID to a name for the given type Used by the UniqueIdRpc call to generate IDs for new metrics, tagks or tagvs.
auto_metric() - Method in class net.opentsdb.utils.Config
 
AVG - Static variable in class net.opentsdb.core.Aggregators
Aggregator that returns the average value of the data point.

B

baseTime(TSDB, byte[]) - Static method in class net.opentsdb.core.Internal
Extracts the timestamp from a row key.
Branch - Class in net.opentsdb.tree
Represents a branch of a meta data tree, used to organize timeseries into a hierarchy for easy navigation.
Branch() - Constructor for class net.opentsdb.tree.Branch
Default empty constructor necessary for de/serialization
Branch(int) - Constructor for class net.opentsdb.tree.Branch
Constructor that sets the tree ID
Branch(Branch) - Constructor for class net.opentsdb.tree.Branch
Copy constructor that creates a completely independent copy of the original
BRANCH_QUALIFIER() - Static method in class net.opentsdb.tree.Branch
 
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.
buildQualifier(long, short) - Static method in class net.opentsdb.core.Internal
Returns a 2 or 4 byte qualifier based on the timestamp and the flags.
buildQueries(TSDB) - Method in class net.opentsdb.core.TSQuery
Compiles the TSQuery into an array of Query objects for execution.
buildString() - Static method in class net.opentsdb.BuildData
Human readable string describing the build information of this package.
bytesToId(byte[]) - Static method in class net.opentsdb.tree.Tree
Attempts to convert the given byte array into an integer tree ID Note: You can give this method a full branch row key and it will only parse out the first Tree.TREE_ID_WIDTH bytes.

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.
checkNecessaryTablesExist() - Method in class net.opentsdb.core.TSDB
Verifies that the data and UID tables exist in HBase and optionally the tree and meta data tables if the user has enabled meta tracking or tree building
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.
collectStats(StatsCollector) - Method in class net.opentsdb.search.SearchPlugin
Called by the TSD when a request for statistics collection has come in.
collectStats(StatsCollector) - Method in class net.opentsdb.tsd.RpcPlugin
Called by the TSD when a request for statistics collection has come in.
collectStats(StatsCollector) - Method in class net.opentsdb.tsd.RTPublisher
Called by the TSD when a request for statistics collection has come in.
COLLISION_PREFIX() - Static method in class net.opentsdb.tree.Tree
 
columnQualifier() - Method in class net.opentsdb.tree.Leaf
Calculates the column qualifier for this leaf.
compare(KeyValue, KeyValue) - Method in class net.opentsdb.core.Internal.KeyValueComparator
Compares the qualifiers from two key values
compareQualifiers(byte[], int, byte[], int) - Static method in class net.opentsdb.core.Internal
Compares two data point byte arrays with offsets.
compareTo(Internal.Cell) - Method in class net.opentsdb.core.Internal.Cell
Compares the qualifiers of two cells
compareTo(Annotation) - Method in class net.opentsdb.meta.Annotation
Compares the #start_time of this annotation to the given note
compareTo(Branch) - Method in class net.opentsdb.tree.Branch
Comparator based on the display_name to sort branches when returning to an RPC calls
compareTo(Leaf) - Method in class net.opentsdb.tree.Leaf
Sorts on the display_name alphabetically
compileBranchId() - Method in class net.opentsdb.tree.Branch
Attempts to compile the branch ID for this branch.
complexCompact(KeyValue) - Static method in class net.opentsdb.core.Internal
 
Config - Class in net.opentsdb.utils
OpenTSDB Configuration Class This handles all of the user configurable variables for a TSD.
Config(boolean) - Constructor for class net.opentsdb.utils.Config
Constructor that initializes default configuration values.
Config(String) - Constructor for class net.opentsdb.utils.Config
Constructor that initializes default values and attempts to load the given properties file
Config(Config) - Constructor for class net.opentsdb.utils.Config
Constructor for plugins or overloaders who want a copy of the parent properties but without the ability to modify them This constructor will not re-read the file, but it will copy the location so if a child wants to reload the properties periodically, they may do so
Const - Class in net.opentsdb.core
Constants used in various places.
Const() - Constructor for class net.opentsdb.core.Const
 
copyChanges(Tree, boolean) - Method in class net.opentsdb.tree.Tree
Copies changes from the incoming tree into the local tree, overriding if called to.
copyChanges(TreeRule, boolean) - Method in class net.opentsdb.tree.TreeRule
Copies changed fields from the incoming rule to the local rule
COUNTER_QUALIFIER() - Static method in class net.opentsdb.meta.TSMeta
 
counterExistsInStorage(TSDB, byte[]) - Static method in class net.opentsdb.meta.TSMeta
Determines if the counter column exists for the TSUID.
createNewTree(TSDB) - Method in class net.opentsdb.tree.Tree
Attempts to store the local tree in a new row, automatically assigning a new tree ID and returning the value.

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.
dataTable() - Method in class net.opentsdb.core.TSDB
 
date - Static variable in class net.opentsdb.BuildData
UTC date at which this package was built.
date() - Static method in class net.opentsdb.BuildData
UTC date at which this package was built.
DateTime - Class in net.opentsdb.utils
Utility class that provides helpers for dealing with dates and timestamps.
DateTime() - Constructor for class net.opentsdb.utils.DateTime
 
default_map - Static variable in class net.opentsdb.utils.Config
Holds default values for the config
DEFAULT_RESET_VALUE - Static variable in class net.opentsdb.core.RateOptions
 
delete(TSDB) - Method in class net.opentsdb.meta.Annotation
Attempts to mark an Annotation object for deletion.
delete(TSDB) - Method in class net.opentsdb.meta.TSMeta
Attempts to delete the meta object from storage
delete(TSDB) - Method in class net.opentsdb.meta.UIDMeta
Attempts to delete the meta object from storage
deleteAllRules(TSDB, int) - Static method in class net.opentsdb.tree.TreeRule
Attempts to delete all rules belonging to the given tree.
deleteAnnotation(Annotation) - Method in class net.opentsdb.core.TSDB
Delete the annotation object from the search index
deleteAnnotation(Annotation) - Method in class net.opentsdb.search.SearchPlugin
Called to remove an annotation object from the index Note: Unique Document ID = TSUID and Start Time
deleteRule(TSDB, int, int, int) - Static method in class net.opentsdb.tree.TreeRule
Attempts to delete the specified rule from storage
deleteTree(TSDB, int, boolean) - Static method in class net.opentsdb.tree.Tree
Attempts to delete all branches, leaves, collisions and not-matched entries for the given tree.
deleteTSMeta(String) - Method in class net.opentsdb.core.TSDB
Delete the timeseries meta object from the search index
deleteTSMeta(String) - Method in class net.opentsdb.search.SearchPlugin
Called when we need to remove a timeseries meta object from the engine Note: Unique Document ID = TSUID
deleteUIDMeta(UIDMeta) - Method in class net.opentsdb.core.TSDB
Delete the UID meta object from the search index
deleteUIDMeta(UIDMeta) - Method in class net.opentsdb.search.SearchPlugin
Called when we need to remove a UID meta object from the engine Note: Unique Document ID = UID and the Type "TYPEUID"
deserialize(JsonParser, DeserializationContext) - Method in class net.opentsdb.utils.JSON.SearchTypeDeserializer
 
deserialize(JsonParser, DeserializationContext) - Method in class net.opentsdb.utils.JSON.TreeRuleTypeDeserializer
 
deserialize(JsonParser, DeserializationContext) - Method in class net.opentsdb.utils.JSON.UniqueIdTypeDeserializer
 
DEV - Static variable in class net.opentsdb.core.Aggregators
Aggregator that returns the Standard Deviation of the data points.
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(long, Aggregator) - Method in interface net.opentsdb.core.Query
Downsamples the results by specifying a fixed interval between points.
downsampleInterval() - Method in class net.opentsdb.core.TSSubQuery
 
downsampler() - Method in class net.opentsdb.core.TSSubQuery
 
dropCaches() - Method in class net.opentsdb.core.TSDB
Discards all in-memory caches.
dropCaches() - Method in class net.opentsdb.uid.UniqueId
Causes this instance to discard all its in-memory caches.
dumpConfiguration() - Method in class net.opentsdb.utils.Config
Returns a simple string with the configured properties for debugging
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.
enable_chunked_requests() - Method in class net.opentsdb.utils.Config
 
enable_compactions() - Method in class net.opentsdb.utils.Config
 
enable_realtime_ts() - Method in class net.opentsdb.utils.Config
 
enable_realtime_uid() - Method in class net.opentsdb.utils.Config
 
enable_tree_processing() - Method in class net.opentsdb.utils.Config
 
enable_tsuid_incrementing() - Method in class net.opentsdb.utils.Config
 
enable_tsuid_tracking() - Method in class net.opentsdb.utils.Config
 
endTime() - Method in class net.opentsdb.core.TSQuery
 
equals(Object) - Method in class net.opentsdb.core.Internal.Cell
Determines if the cells are equal based on their qualifier
equals(Object) - Method in class net.opentsdb.tree.Branch
Just compares the branch display name
equals(Object) - Method in class net.opentsdb.tree.Leaf
Just compares the TSUID of the two objects as we don't care about the rest
execute(TSDB, Channel, String[]) - Method in class net.opentsdb.tsd.StatsRpc
Telnet RPC responder that returns the stats in ASCII style
execute(TSDB, HttpQuery) - Method in class net.opentsdb.tsd.StatsRpc
HTTP resposne handler
executeQuery(SearchQuery) - Method in class net.opentsdb.search.SearchPlugin
Executes a very basic search query, returning the results in the SearchQuery object passed in.
executeSearch(SearchQuery) - Method in class net.opentsdb.core.TSDB
Executes a search query using the search plugin
extractDataPoints(KeyValue) - Static method in class net.opentsdb.core.Internal
Extracts the data points from a single column.
extractDataPoints(ArrayList<KeyValue>, int) - Static method in class net.opentsdb.core.Internal
Breaks down all the values in a row into individual Internal.Cells sorted on the qualifier.
extractFloatingPointValue(byte[], int, byte) - Static method in class net.opentsdb.core.Internal
 
extractIntegerValue(byte[], int, byte) - Static method in class net.opentsdb.core.Internal
 
extractQualifier(byte[], int) - Static method in class net.opentsdb.core.Internal
Extracts the 2 or 4 byte qualifier from a compacted byte array
extratags - Variable in class net.opentsdb.stats.StatsCollector
Extra tags to add to every data point emitted.

F

FAMILY() - Static method in class net.opentsdb.meta.TSMeta
 
fetchAllTrees(TSDB) - Static method in class net.opentsdb.tree.Tree
Attempts to retrieve all trees from the UID table, including their rules.
fetchBranch(TSDB, byte[], boolean) - Static method in class net.opentsdb.tree.Branch
Attempts to fetch the branch, it's leaves and all child branches.
fetchBranchOnly(TSDB, byte[]) - Static method in class net.opentsdb.tree.Branch
Attempts to fetch only the branch definition object from storage.
fetchCollisions(TSDB, int, List<String>) - Static method in class net.opentsdb.tree.Tree
Returns the collision set from storage for the given tree, optionally for only the list of TSUIDs provided.
fetchNotMatched(TSDB, int, List<String>) - Static method in class net.opentsdb.tree.Tree
Returns the not-matched set from storage for the given tree, optionally for only the list of TSUIDs provided.
fetchRule(TSDB, int, int, int) - Static method in class net.opentsdb.tree.TreeRule
Attempts to retrieve the specified tree rule from storage.
fetchTree(TSDB, int) - Static method in class net.opentsdb.tree.Tree
Attempts to fetch the given tree from storage, loading the rule set at the same time.
fixFloatingPointValue(byte, byte[]) - Static method in class net.opentsdb.core.Internal
Returns a corrected value if this is a floating point value to fix.
fixQualifierFlags(byte, int) - Static method in class net.opentsdb.core.Internal
Fix the flags inside the last byte of a qualifier.
FLAG_BITS - Static variable in class net.opentsdb.core.Const
Number of LSBs in time_deltas reserved for flags.
FLAG_BITS - Static variable in class net.opentsdb.core.Internal
 
FLAG_FLOAT - Static variable in class net.opentsdb.core.Const
When this bit is set, the value is a floating point value.
FLAGS_MASK - Static variable in class net.opentsdb.core.Const
Mask to select all the FLAG_BITS.
FLAGS_MASK - Static variable in class net.opentsdb.core.Internal
 
floatingPointValueToFix(byte, byte[]) - Static method in class net.opentsdb.core.Internal
Returns whether or not this is a floating value that needs to be fixed.
flush() - Method in class net.opentsdb.core.TSDB
Forces a flush of any un-committed in memory data.
flushCollisions(TSDB) - Method in class net.opentsdb.tree.Tree
Attempts to flush the collisions to storage.
flushNotMatched(TSDB) - Method in class net.opentsdb.tree.Tree
Attempts to flush the non-matches to storage.
formatAggregatorsV1(Set<String>) - Method in class net.opentsdb.tsd.HttpSerializer
Format the list of implemented aggregators
formatAnnotationV1(Annotation) - Method in class net.opentsdb.tsd.HttpSerializer
Format an annotation object
formatBranchV1(Branch) - Method in class net.opentsdb.tsd.HttpSerializer
Format a single Branch object
formatConfigV1(Config) - Method in class net.opentsdb.tsd.HttpSerializer
Format the running configuration
formatDropCachesV1(Map<String, String>) - Method in class net.opentsdb.tsd.HttpSerializer
Format a response from the DropCaches call
formatErrorV1(BadRequestException) - Method in class net.opentsdb.tsd.HttpSerializer
Format a bad request exception, indicating an invalid request from the user
formatErrorV1(Exception) - Method in class net.opentsdb.tsd.HttpSerializer
Format an internal error exception that was caused by the system Should return a 500 error
formatNotFoundV1() - Method in class net.opentsdb.tsd.HttpSerializer
Formats a 404 error when an endpoint or file wasn't found
formatPutV1(Map<String, Object>) - Method in class net.opentsdb.tsd.HttpSerializer
Formats the results of an HTTP data point storage request
formatQueryV1(TSQuery, List<DataPoints[]>, List<Annotation>) - Method in class net.opentsdb.tsd.HttpSerializer
Format the results from a timeseries data query
formatSearchResultsV1(SearchQuery) - Method in class net.opentsdb.tsd.HttpSerializer
Format the response from a search query
formatSerializersV1() - Method in class net.opentsdb.tsd.HttpSerializer
Format the serializers status map
formatStatsV1(List<IncomingDataPoint>) - Method in class net.opentsdb.tsd.HttpSerializer
Format a list of statistics
formatSuggestV1(List<String>) - Method in class net.opentsdb.tsd.HttpSerializer
Formats a suggestion response
formatTreeCollisionNotMatchedV1(Map<String, String>, boolean) - Method in class net.opentsdb.tsd.HttpSerializer
Format a map of one or more TSUIDs that collided or were not matched
formatTreeRuleV1(TreeRule) - Method in class net.opentsdb.tsd.HttpSerializer
Format a single TreeRule object
formatTreesV1(List<Tree>) - Method in class net.opentsdb.tsd.HttpSerializer
Format a list of tree objects.
formatTreeTestV1(HashMap<String, HashMap<String, Object>>) - Method in class net.opentsdb.tsd.HttpSerializer
Format the results of testing one or more TSUIDs through a tree's ruleset
formatTreeV1(Tree) - Method in class net.opentsdb.tsd.HttpSerializer
Format a single tree object
formatTSMetaV1(TSMeta) - Method in class net.opentsdb.tsd.HttpSerializer
Format a single TSMeta object
formatUidAssignV1(Map<String, TreeMap<String, String>>) - Method in class net.opentsdb.tsd.HttpSerializer
Format a response from the Uid Assignment RPC
formatUidMetaV1(UIDMeta) - Method in class net.opentsdb.tsd.HttpSerializer
Format a single UIDMeta object
formatVersionV1(Map<String, String>) - Method in class net.opentsdb.tsd.HttpSerializer
Format a hash map of information about the OpenTSDB version
full_revision - Static variable in class net.opentsdb.BuildData
Full revision at which this package was built.
fullRevision() - Static method 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.
getAggregatedTagsAsync() - Method in interface net.opentsdb.core.DataPoints
Returns the tags associated with some but not all of the data points.
getAggregator() - Method in class net.opentsdb.core.TSSubQuery
 
getAnnotation(TSDB, long) - Static method in class net.opentsdb.meta.Annotation
Attempts to fetch a global annotation from storage
getAnnotation(TSDB, String, long) - Static method in class net.opentsdb.meta.Annotation
Attempts to fetch a global or local annotation from storage
getAnnotation(TSDB, byte[], long) - Static method in class net.opentsdb.meta.Annotation
Attempts to fetch a global or local annotation from storage
getAnnotations() - Method in interface net.opentsdb.core.DataPoints
Compiles the annotations for each span into a new array list
getBoolean(String) - Method in class net.opentsdb.utils.Config
Returns the given property as a boolean Property values are case insensitive and the following values will result in a True return value: - 1 - True - Yes Any other values, including an empty string, will result in a False
getBranches() - Method in class net.opentsdb.tree.Branch
 
getBranchId() - Method in class net.opentsdb.tree.Branch
 
getClient() - Method in class net.opentsdb.core.TSDB
Returns the configured HBase client
getCollisions() - Method in class net.opentsdb.tree.Tree
 
getCompiledRegex() - Method in class net.opentsdb.tree.TreeRule
 
getConfig() - Method in class net.opentsdb.core.TSDB
Getter that returns the configuration object
getCounterMax() - Method in class net.opentsdb.core.RateOptions
 
getCreated() - Method in class net.opentsdb.meta.TSMeta
 
getCreated() - Method in class net.opentsdb.meta.UIDMeta
 
getCreated() - Method in class net.opentsdb.tree.Tree
 
getCustom() - Method in class net.opentsdb.meta.Annotation
 
getCustom() - Method in class net.opentsdb.meta.TSMeta
 
getCustom() - Method in class net.opentsdb.meta.UIDMeta
 
getCustomField() - Method in class net.opentsdb.tree.TreeRule
 
getDataPoints() - Method in class net.opentsdb.graph.Plot
Returns a view on the datapoints in this plot.
getDataType() - Method in class net.opentsdb.meta.TSMeta
 
getDepth() - Method in class net.opentsdb.tree.Branch
 
getDescription() - Method in class net.opentsdb.meta.Annotation
 
getDescription() - Method in class net.opentsdb.meta.TSMeta
 
getDescription() - Method in class net.opentsdb.meta.UIDMeta
 
getDescription() - Method in class net.opentsdb.tree.Tree
 
getDescription() - Method in class net.opentsdb.tree.TreeRule
 
getDirectoryName(String) - Method in class net.opentsdb.utils.Config
Returns the directory name, making sure the end is an OS dependent slash
getDisplayFormat() - Method in class net.opentsdb.tree.TreeRule
 
getDisplayName() - Method in class net.opentsdb.meta.TSMeta
 
getDisplayName() - Method in class net.opentsdb.meta.UIDMeta
 
getDisplayName() - Method in class net.opentsdb.tree.Branch
 
getDisplayName() - Method in class net.opentsdb.tree.Leaf
 
getDouble(String) - Method in class net.opentsdb.utils.Config
Returns the given property as a double
getDownsample() - Method in class net.opentsdb.core.TSSubQuery
 
getEnabled() - Method in class net.opentsdb.tree.Tree
 
getEnd() - Method in class net.opentsdb.core.TSQuery
 
getEndTime() - Method in interface net.opentsdb.core.Query
Returns the end time of the graph.
getEndTime() - Method in class net.opentsdb.meta.Annotation
 
getFactory() - Static method in class net.opentsdb.utils.JSON
Returns a reference to the JsonFactory for streaming creation
getField() - Method in class net.opentsdb.tree.TreeRule
 
getFlagsFromQualifier(byte[]) - Static method in class net.opentsdb.core.Internal
Parses the flag bits from the qualifier
getFlagsFromQualifier(byte[], int) - Static method in class net.opentsdb.core.Internal
Parses the flag bits from the qualifier
getFloat(String) - Method in class net.opentsdb.utils.Config
Returns the given property as a float
getGlobalAnnotations() - Method in class net.opentsdb.core.TSQuery
 
getGlobalAnnotations(TSDB, long, long) - Static method in class net.opentsdb.meta.Annotation
Scans through the global annotation storage rows and returns a list of parsed annotation objects.
getId(String) - Method in class net.opentsdb.uid.UniqueId
 
getId(String) - Method in interface net.opentsdb.uid.UniqueIdInterface
Deprecated.
Finds the ID associated with a given name.
getIdAsync(String) - Method in class net.opentsdb.uid.UniqueId
 
getInt(String) - Method in class net.opentsdb.utils.Config
Returns the given property as an integer
getLastReceived() - Method in class net.opentsdb.meta.TSMeta
 
getLeaves() - Method in class net.opentsdb.tree.Branch
 
getLevel() - Method in class net.opentsdb.tree.TreeRule
 
getLimit() - Method in class net.opentsdb.search.SearchQuery
 
getLong(String) - Method in class net.opentsdb.utils.Config
Returns the given property as a long
getMap() - Method in class net.opentsdb.utils.Config
 
getMapper() - Static method in class net.opentsdb.utils.JSON
Returns a reference to the static ObjectMapper
getMax() - Method in class net.opentsdb.meta.TSMeta
 
getMetric() - Method in class net.opentsdb.core.IncomingDataPoint
 
getMetric() - Method in class net.opentsdb.core.TSSubQuery
 
getMetric() - Method in class net.opentsdb.meta.TSMeta
 
getMetric() - Method in class net.opentsdb.tree.Leaf
 
getMin() - Method in class net.opentsdb.meta.TSMeta
 
getMsResolution() - Method in class net.opentsdb.core.TSQuery
 
getName() - Method in class net.opentsdb.meta.UIDMeta
 
getName() - Method in class net.opentsdb.tree.Tree
 
getName(byte[]) - Method in class net.opentsdb.uid.UniqueId
Finds the name associated with a given ID.
getName(byte[]) - Method in interface net.opentsdb.uid.UniqueIdInterface
Deprecated.
Finds the name associated with a given ID.
getNameAsync(byte[]) - Method in class net.opentsdb.uid.UniqueId
Finds the name associated with a given ID.
getNoAnnotations() - Method in class net.opentsdb.core.TSQuery
 
getNotes() - Method in class net.opentsdb.meta.Annotation
 
getNotes() - Method in class net.opentsdb.meta.TSMeta
 
getNotes() - Method in class net.opentsdb.meta.UIDMeta
 
getNotes() - Method in class net.opentsdb.tree.Tree
 
getNotes() - Method in class net.opentsdb.tree.TreeRule
 
getNotMatched() - Method in class net.opentsdb.tree.Tree
 
getOffsetFromQualifier(byte[]) - Static method in class net.opentsdb.core.Internal
Returns the offset in milliseconds from the row base timestamp from a data point qualifier
getOffsetFromQualifier(byte[], int) - Static method in class net.opentsdb.core.Internal
Returns the offset in milliseconds from the row base timestamp from a data point qualifier at the given offset (for compacted columns)
getOptions() - Method in class net.opentsdb.core.TSQuery
 
getOrCreateId(String) - Method in class net.opentsdb.uid.UniqueId
Finds the ID associated with a given name or creates it.
getOrCreateId(String) - Method in interface net.opentsdb.uid.UniqueIdInterface
Deprecated.
Finds the ID associated with a given name or creates it.
getOrCreateIdAsync(String) - Method in class net.opentsdb.uid.UniqueId
Finds the ID associated with a given name or creates it.
getOrder() - Method in class net.opentsdb.tree.TreeRule
 
getPadding() - Method in class net.opentsdb.core.TSQuery
 
getParsed() - Method in class net.opentsdb.tools.ArgP
Returns a the parsed options and values
getPath() - Method in class net.opentsdb.tree.Branch
 
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.
getQualifier(int, int) - Static method in class net.opentsdb.tree.TreeRule
Completes the column qualifier given a level and order using the configured prefix
getQualifierLength(byte[]) - Static method in class net.opentsdb.core.Internal
Returns the length, in bytes, of the qualifier: 2 or 4 bytes
getQualifierLength(byte[], int) - Static method in class net.opentsdb.core.Internal
Returns the length, in bytes, of the qualifier: 2 or 4 bytes
getQueries() - Method in class net.opentsdb.core.TSQuery
 
getQuery() - Method in class net.opentsdb.search.SearchQuery
 
getRate() - Method in class net.opentsdb.core.TSSubQuery
 
getRateOptions() - Method in class net.opentsdb.core.TSSubQuery
 
getRegex() - Method in class net.opentsdb.tree.TreeRule
 
getRegexGroupIdx() - Method in class net.opentsdb.tree.TreeRule
 
getResetValue() - Method in class net.opentsdb.core.RateOptions
 
getResults() - Method in class net.opentsdb.search.SearchQuery
 
getRetention() - Method in class net.opentsdb.meta.TSMeta
 
getRootBranch() - Method in class net.opentsdb.tree.TreeBuilder
 
getRule(int, int) - Method in class net.opentsdb.tree.Tree
Retrieves a single rule from the rule set given a level and order
getRules() - Method in class net.opentsdb.tree.Tree
 
getScanLatencyHistogram() - Method in class net.opentsdb.core.TSDB
Returns a latency histogram for Scan RPCs used to fetch data points.
getScanner(Query) - Static method in class net.opentsdb.core.Internal
 
getSeparator() - Method in class net.opentsdb.tree.TreeRule
 
getShort(String) - Method in class net.opentsdb.utils.Config
Returns the given property as a short
getShowTSUIDs() - Method in class net.opentsdb.core.TSQuery
 
getStart() - Method in class net.opentsdb.core.TSQuery
 
getStartIndex() - Method in class net.opentsdb.search.SearchQuery
 
getStartTime() - Method in interface net.opentsdb.core.Query
Returns the start time of the graph.
getStartTime() - Method in class net.opentsdb.meta.Annotation
 
getStoreFailures() - Method in class net.opentsdb.tree.Tree
 
getStrictMatch() - Method in class net.opentsdb.tree.Tree
 
getString(String) - Method in class net.opentsdb.utils.Config
Returns the given property as a String
getTagPairsFromTSUID(String, short, short, short) - Static method in class net.opentsdb.uid.UniqueId
Extracts a list of tagk/tagv pairs from a tsuid
getTags() - Method in interface net.opentsdb.core.DataPoints
Returns the tags associated with these data points.
getTags() - Method in class net.opentsdb.core.IncomingDataPoint
 
getTags(TSDB, byte[]) - Static method in class net.opentsdb.core.Internal
 
getTags() - Method in class net.opentsdb.core.TSSubQuery
 
getTags() - Method in class net.opentsdb.meta.TSMeta
 
getTags() - Method in class net.opentsdb.tree.Leaf
 
getTagsAsync() - Method in interface net.opentsdb.core.DataPoints
Returns the tags associated with these data points.
getTestMessage() - Method in class net.opentsdb.tree.TreeBuilder
 
getTime() - Method in class net.opentsdb.search.SearchQuery
 
getTimestamp() - Method in class net.opentsdb.core.IncomingDataPoint
 
getTimestampFromQualifier(byte[], long) - Static method in class net.opentsdb.core.Internal
Returns the absolute timestamp of a data point qualifier in milliseconds
getTimestampFromQualifier(byte[], long, int) - Static method in class net.opentsdb.core.Internal
Returns the absolute timestamp of a data point qualifier in milliseconds
getTimezone() - Method in class net.opentsdb.core.TSQuery
 
getTotalDatapoints() - Method in class net.opentsdb.meta.TSMeta
 
getTotalResults() - Method in class net.opentsdb.search.SearchQuery
 
getTree() - Method in class net.opentsdb.tree.TreeBuilder
 
getTreeId() - Method in class net.opentsdb.tree.Branch
 
getTreeId() - Method in class net.opentsdb.tree.Tree
 
getTreeId() - Method in class net.opentsdb.tree.TreeRule
 
getTSMeta(TSDB, String) - Static method in class net.opentsdb.meta.TSMeta
Attempts to fetch the timeseries meta data and associated UIDMeta objects from storage.
getTSUID() - Method in class net.opentsdb.core.IncomingDataPoint
 
getTSUID() - Method in class net.opentsdb.meta.Annotation
 
getTSUID() - Method in class net.opentsdb.meta.TSMeta
 
getTsuid() - Method in class net.opentsdb.tree.Leaf
 
getTSUIDFromKey(byte[], short, short) - Static method in class net.opentsdb.uid.UniqueId
Extracts the TSUID from a storage row key that includes the timestamp.
getTSUIDs() - Method in interface net.opentsdb.core.DataPoints
Returns a list of unique TSUIDs contained in the results
getTsuids() - Method in class net.opentsdb.core.TSSubQuery
 
getType() - Method in class net.opentsdb.meta.UIDMeta
 
getType() - Method in class net.opentsdb.search.SearchQuery
 
getType() - Method in class net.opentsdb.tree.TreeRule
 
getUID(UniqueId.UniqueIdType, String) - Method in class net.opentsdb.core.TSDB
Attempts to find the UID matching a given name
getUID() - Method in class net.opentsdb.meta.UIDMeta
 
getUIDMeta(TSDB, UniqueId.UniqueIdType, String) - Static method in class net.opentsdb.meta.UIDMeta
Convenience overload of getUIDMeta(TSDB, UniqueIdType, byte[])
getUIDMeta(TSDB, UniqueId.UniqueIdType, byte[]) - Static method in class net.opentsdb.meta.UIDMeta
Verifies the UID object exists, then attempts to fetch the meta from storage and if not found, returns a default object.
getUidName(UniqueId.UniqueIdType, byte[]) - Method in class net.opentsdb.core.TSDB
Attempts to find the name for a unique identifier given a type
getUnits() - Method in class net.opentsdb.meta.TSMeta
 
getUsedUIDs(TSDB, byte[][]) - Static method in class net.opentsdb.uid.UniqueId
Returns a map of max UIDs from storage for the given list of UID types
getValue() - Method in class net.opentsdb.core.IncomingDataPoint
 
getValueLengthFromQualifier(byte[]) - Static method in class net.opentsdb.core.Internal
Returns the length of the value, in bytes, parsed from the qualifier
getValueLengthFromQualifier(byte[], int) - Static method in class net.opentsdb.core.Internal
Returns the length of the value, in bytes, parsed from the qualifier

H

has(String) - Method in class net.opentsdb.tools.ArgP
Returns whether or not the given option was given.
hashCode() - Method in class net.opentsdb.core.Internal.Cell
 
hashCode() - Method in class net.opentsdb.tree.Branch
 
hashCode() - Method in class net.opentsdb.tree.Leaf
 
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.
hasProperty(String) - Method in class net.opentsdb.utils.Config
Determines if the given propery is in the map
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.
host() - Static method in class net.opentsdb.BuildData
Host on which this package was built.
HttpSerializer - Class in net.opentsdb.tsd
Abstract base class for Serializers; plugins that handle converting requests and responses between OpenTSDB's internal data and various popular formats such as JSON, XML, OData, etc.
HttpSerializer() - Constructor for class net.opentsdb.tsd.HttpSerializer
Empty constructor required for plugin operation
HttpSerializer(HttpQuery) - Constructor for class net.opentsdb.tsd.HttpSerializer
Constructor that serializers must implement.

I

id() - Method in exception net.opentsdb.uid.NoSuchUniqueId
Returns the unique ID that couldn't be found.
idToBytes(int) - Static method in class net.opentsdb.tree.Tree
Converts the tree ID into a byte array Tree.TREE_ID_WIDTH in size
idToString(byte[]) - Static method in class net.opentsdb.tree.Branch
Converts a branch ID hash to a hex encoded, upper case string with padding
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.
IncomingDataPoint - Class in net.opentsdb.core
Bridging class that stores a normalized data point parsed from the "put" RPC methods and gets it ready for storage.
IncomingDataPoint() - Constructor for class net.opentsdb.core.IncomingDataPoint
Empty constructor necessary for some de/serializers
IncomingDataPoint(String, long, String, HashMap<String, String>) - Constructor for class net.opentsdb.core.IncomingDataPoint
Constructor used when working with a metric and tags
IncomingDataPoint(String, long, String) - Constructor for class net.opentsdb.core.IncomingDataPoint
Constructor used when working with tsuids
incrementAndGetCounter(TSDB, byte[]) - Static method in class net.opentsdb.meta.TSMeta
Increments the tsuid datapoint counter or creates a new counter.
indexAnnotation(Annotation) - Method in class net.opentsdb.core.TSDB
Index the given Annotation object via the configured search plugin
indexAnnotation(Annotation) - Method in class net.opentsdb.search.SearchPlugin
Indexes an annotation object Note: Unique Document ID = TSUID and Start Time
indexTSMeta(TSMeta) - Method in class net.opentsdb.core.TSDB
Index the given timeseries meta object via the configured search plugin
indexTSMeta(TSMeta) - Method in class net.opentsdb.search.SearchPlugin
Indexes a timeseries metadata object in the search engine Note: Unique Document ID = TSUID
indexUIDMeta(UIDMeta) - Method in class net.opentsdb.core.TSDB
Index the given UID meta object via the configured search plugin
indexUIDMeta(UIDMeta) - Method in class net.opentsdb.search.SearchPlugin
Indexes a UID metadata object for a metric, tagk or tagv Note: Unique Document ID = UID and the Type "TYPEUID"
initialize(TSDB) - Method in class net.opentsdb.search.SearchPlugin
Called by TSDB to initialize the plugin Implementations are responsible for setting up any IO they need as well as starting any required background threads.
initialize(TSDB) - Method in class net.opentsdb.tsd.HttpSerializer
Initializer called one time when the TSD starts up and loads serializer plugins.
initialize(TSDB) - Method in class net.opentsdb.tsd.RpcPlugin
Called by TSDB to initialize the plugin Implementations are responsible for setting up any IO they need as well as starting any required background threads.
initialize(TSDB) - Method in class net.opentsdb.tsd.RTPublisher
Called by TSDB to initialize the plugin Implementations are responsible for setting up any IO they need as well as starting any required background threads.
initializePlugins(boolean) - Method in class net.opentsdb.core.TSDB
Should be called immediately after construction to initialize plugins and objects that rely on such.
inMilliseconds(byte[], byte) - Static method in class net.opentsdb.core.Internal
Determines if the qualifier is in milliseconds or not
inMilliseconds(byte[]) - Static method in class net.opentsdb.core.Internal
Determines if the qualifier is in milliseconds or not
inMilliseconds(byte) - Static method in class net.opentsdb.core.Internal
Determines if the qualifier is in milliseconds or not
Internal - Class in net.opentsdb.core
This class is not part of the public API.
Internal.Cell - Class in net.opentsdb.core
Represents a single data point in a row.
Internal.Cell(byte[], byte[]) - Constructor for class net.opentsdb.core.Internal.Cell
Constructor that sets the cell
Internal.KeyValueComparator - Class in net.opentsdb.core
Helper to sort a row with a mixture of millisecond and second data points.
Internal.KeyValueComparator() - Constructor for class net.opentsdb.core.Internal.KeyValueComparator
 
interpolationMethod() - Method in interface net.opentsdb.core.Aggregator
Returns the interpolation method to use when working with data points across time series.
IS_WINDOWS - Static variable in class net.opentsdb.utils.Config
Flag to determine if we're running under Windows or not
isCounter() - Method in class net.opentsdb.core.RateOptions
 
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.
isInteger() - Method in class net.opentsdb.core.Internal.Cell
 
isRelativeDate(String) - Static method in class net.opentsdb.utils.DateTime
Returns whether or not a date is specified in a relative fashion.
iterator() - Method in interface net.opentsdb.core.DataPoints
Returns a zero-copy view to go through size() data points.

J

JSON - Class in net.opentsdb.utils
This class simply provides a static initialization and configuration of the Jackson ObjectMapper for use throughout OpenTSDB.
JSON() - Constructor for class net.opentsdb.utils.JSON
 
JSON.SearchTypeDeserializer - Class in net.opentsdb.utils
Helper class for deserializing Search type enum from human readable strings
JSON.SearchTypeDeserializer() - Constructor for class net.opentsdb.utils.JSON.SearchTypeDeserializer
 
JSON.TreeRuleTypeDeserializer - Class in net.opentsdb.utils
Helper class for deserializing Tree Rule type enum from human readable strings
JSON.TreeRuleTypeDeserializer() - Constructor for class net.opentsdb.utils.JSON.TreeRuleTypeDeserializer
 
JSON.UniqueIdTypeDeserializer - Class in net.opentsdb.utils
Helper class for deserializing UID type enum from human readable strings
JSON.UniqueIdTypeDeserializer() - Constructor for class net.opentsdb.utils.JSON.UniqueIdTypeDeserializer
 
JSONException - Exception in net.opentsdb.utils
Exception class used to wrap the myriad of typed exceptions thrown by Jackson.
JSONException(String) - Constructor for exception net.opentsdb.utils.JSONException
Constructor.
JSONException(Throwable) - Constructor for exception net.opentsdb.utils.JSONException
Constructor.
JSONException(String, Throwable) - Constructor for exception net.opentsdb.utils.JSONException
Constructor.

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
Deprecated.
Returns what kind of Unique ID is served by this instance.

L

Leaf - Class in net.opentsdb.tree
A leaf in a tree.
Leaf() - Constructor for class net.opentsdb.tree.Leaf
Default empty constructor necessary for des/serialization
Leaf(String, String) - Constructor for class net.opentsdb.tree.Leaf
Optional constructor used when building a tree
LEAF_PREFIX() - Static method in class net.opentsdb.tree.Leaf
 
LENGTH_MASK - Static variable in class net.opentsdb.core.Const
Mask to select the size of a value from the qualifier.
LENGTH_MASK - Static variable in class net.opentsdb.core.Internal
 
loadConfig() - Method in class net.opentsdb.utils.Config
Searches a list of locations for a valid opentsdb.conf file The config file must be a standard JAVA properties formatted file.
loadConfig(String) - Method in class net.opentsdb.utils.Config
Attempts to load the configuration from the given location
loadJAR(String) - Static method in class net.opentsdb.utils.PluginLoader
Attempts to load the given jar into the class path
loadJARs(String) - Static method in class net.opentsdb.utils.PluginLoader
Recursively traverses a directory searching for files ending with .jar and loads them into the class path
loadOrInitializeRoot(TSDB, int, boolean) - Static method in class net.opentsdb.tree.TreeBuilder
Attempts to retrieve or initialize the root branch for the configured tree.
loadPlugins(Class<T>) - Static method in class net.opentsdb.utils.PluginLoader
Searches the class path for implementations of the given type, returning a list of all plugins that were found
loadSpecificPlugin(String, Class<T>) - Static method in class net.opentsdb.utils.PluginLoader
Searches the class path for the specific plugin of a given type
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.
looksLikeInteger(String) - Static method in class net.opentsdb.core.Tags
Returns true if the given string looks like an integer.

M

MAX - Static variable in class net.opentsdb.core.Aggregators
Aggregator that returns the maximum data point.
max_chunked_requests() - Method in class net.opentsdb.utils.Config
 
MAX_INT_IN_DOUBLE - Static variable in class net.opentsdb.core.Const
Necessary for rate calculations where we may be trying to convert a large Long value to a double.
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.
maxPossibleId() - Method in class net.opentsdb.uid.UniqueId
The largest possible ID given the number of bytes the IDs are represented on.
META_QUALIFIER() - Static method in class net.opentsdb.meta.TSMeta
 
metaExistsInStorage(TSDB, String) - Static method in class net.opentsdb.meta.TSMeta
Determines if an entry exists in storage or not.
metaTable() - Method in class net.opentsdb.core.TSDB
 
metricName() - Method in interface net.opentsdb.core.DataPoints
Returns the name of the series.
metricName(TSDB, byte[]) - Static method in class net.opentsdb.core.Internal
 
metricNameAsync() - Method in interface net.opentsdb.core.DataPoints
Returns the name of the series.
metrics_width() - Static method in class net.opentsdb.core.TSDB
 
metricWidth(TSDB) - Static method in class net.opentsdb.core.Internal
 
MILLISECOND_MASK - Static variable in class net.opentsdb.core.Const
Mask to verify a timestamp on 6 bytes in milliseconds
MIMMAX - Static variable in class net.opentsdb.core.Aggregators
Returns the maximum data point, causing SpanGroup to set .MinValue if timestamps don't line up instead of interpolating.
MIMMIN - Static variable in class net.opentsdb.core.Aggregators
Returns the minimum data point, causing SpanGroup to set .MaxValue if timestamps don't line up instead of interpolating.
MIN - Static variable in class net.opentsdb.core.Aggregators
Aggregator that returns the minimum data point.
MS_BYTE_FLAG - Static variable in class net.opentsdb.core.Const
Mask for the millisecond qualifier flag
MS_FLAG - Static variable in class net.opentsdb.core.Const
Flag to set on millisecond qualifier timestamps
MS_FLAG_BITS - Static variable in class net.opentsdb.core.Const
Number of LSBs in time_deltas reserved for flags.
MS_MIXED_COMPACT - Static variable in class net.opentsdb.core.Const
Flag to determine if a compacted column is a mix of seconds and ms

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.meta - package net.opentsdb.meta
 
net.opentsdb.search - package net.opentsdb.search
 
net.opentsdb.stats - package net.opentsdb.stats
 
net.opentsdb.tools - package net.opentsdb.tools
 
net.opentsdb.tree - package net.opentsdb.tree
 
net.opentsdb.tsd - package net.opentsdb.tsd
 
net.opentsdb.uid - package net.opentsdb.uid
 
net.opentsdb.utils - package net.opentsdb.utils
 
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.
NOT_MATCHED_PREFIX() - Static method in class net.opentsdb.tree.Tree
 

O

optionExists(String) - Method in class net.opentsdb.tools.ArgP
Returns whether or not the given option name exists.
overrideConfig(String, String) - Method in class net.opentsdb.utils.Config
Allows for modifying properties after loading WARNING: This should only be used on initialization and is meant for command line overrides

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.
parseAnnotationV1() - Method in class net.opentsdb.tsd.HttpSerializer
Parses an annotation object
parseDateTimeString(String, String) - Static method in class net.opentsdb.utils.DateTime
Attempts to parse a timestamp from a given string Formats accepted are: Relative: 5m-ago, 1h-ago, etc.
parseDuration(String) - Static method in class net.opentsdb.utils.DateTime
Parses a human-readable duration (e.g, "10m", "3h", "14d") into seconds.
parseFromColumn(TSDB, KeyValue, boolean) - Static method in class net.opentsdb.meta.TSMeta
Parses a TSMeta object from the given column, optionally loading the UIDMeta objects
parseFromStorage(TSDB, KeyValue, boolean) - Static method in class net.opentsdb.tree.Leaf
Attempts to parse the leaf from the given column, optionally loading the UID names.
parseFromStorage(KeyValue) - Static method in class net.opentsdb.tree.TreeRule
Parses a rule from the given column.
parseLong(CharSequence) - Static method in class net.opentsdb.core.Tags
Parses an integer value as a long from the given character sequence.
parsePutV1() - Method in class net.opentsdb.tsd.HttpSerializer
Parses one or more data points for storage
parseQueryV1() - Method in class net.opentsdb.tsd.HttpSerializer
Parses a timeseries data query
parseSearchQueryV1() - Method in class net.opentsdb.tsd.HttpSerializer
Parses a SearchQuery request
parseSearchType(String) - Static method in class net.opentsdb.search.SearchQuery
Converts the human readable string to the proper enum
parseSingleValue(KeyValue) - Static method in class net.opentsdb.core.Internal
Extracts a Cell from a single data point, fixing potential errors with the qualifier flags
parseSuggestV1() - Method in class net.opentsdb.tsd.HttpSerializer
Parses a suggestion query
parseToObject(String, Class<T>) - Static method in class net.opentsdb.utils.JSON
Deserializes a JSON formatted string to a specific class type Note: If you get mapping exceptions you may need to provide a TypeReference
parseToObject(byte[], Class<T>) - Static method in class net.opentsdb.utils.JSON
Deserializes a JSON formatted byte array to a specific class type Note: If you get mapping exceptions you may need to provide a TypeReference
parseToObject(String, TypeReference<T>) - Static method in class net.opentsdb.utils.JSON
Deserializes a JSON formatted string to a specific class type
parseToObject(byte[], TypeReference<T>) - Static method in class net.opentsdb.utils.JSON
Deserializes a JSON formatted byte array to a specific class type
parseToStream(String) - Static method in class net.opentsdb.utils.JSON
Parses a JSON formatted string into raw tokens for streaming or tree iteration Warning: This method can parse an invalid JSON object without throwing an error until you start processing the data
parseToStream(byte[]) - Static method in class net.opentsdb.utils.JSON
Parses a JSON formatted byte array into raw tokens for streaming or tree iteration Warning: This method can parse an invalid JSON object without throwing an error until you start processing the data
parseToStream(InputStream) - Static method in class net.opentsdb.utils.JSON
Parses a JSON formatted inputs stream into raw tokens for streaming or tree iteration Warning: This method can parse an invalid JSON object without throwing an error until you start processing the data
parseTreeRulesV1() - Method in class net.opentsdb.tsd.HttpSerializer
Parses one or more tree rules
parseTreeRuleV1() - Method in class net.opentsdb.tsd.HttpSerializer
Parses a single TreeRule object
parseTreeTSUIDsListV1() - Method in class net.opentsdb.tsd.HttpSerializer
Parses a tree ID and optional list of TSUIDs to search for collisions or not matched TSUIDs.
parseTreeV1() - Method in class net.opentsdb.tsd.HttpSerializer
Parses a single Tree object
parseTSMetaV1() - Method in class net.opentsdb.tsd.HttpSerializer
Parses a single TSMeta object
parseUidAssignV1() - Method in class net.opentsdb.tsd.HttpSerializer
Parses a list of metrics, tagk and/or tagvs to assign UIDs to
parseUidMetaV1() - Method in class net.opentsdb.tsd.HttpSerializer
Parses a single UIDMeta object
parseValue() - Method in class net.opentsdb.core.Internal.Cell
Returns the value of the cell as a Number for passing to a StringBuffer
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 that initializes the RPC router and loads HTTP formatter plugins
Plot - Class in net.opentsdb.graph
Produces files to generate graphs with Gnuplot.
Plot(long, long) - Constructor for class net.opentsdb.graph.Plot
Constructor.
Plot(long, long, TimeZone) - Constructor for class net.opentsdb.graph.Plot
Constructor.
PluginLoader - Class in net.opentsdb.utils
Super simple ServiceLoader based plugin framework for OpenTSDB that lets us add files or directories to the class path after startup and then search for a specific plugin type or any plugins that match a given class.
PluginLoader() - Constructor for class net.opentsdb.utils.PluginLoader
 
PREFIX() - Static method in class net.opentsdb.meta.Annotation
 
prefix - Variable in class net.opentsdb.stats.StatsCollector
Prefix to add to every metric name, for example `tsd'.
prependParentPath(Map<Integer, String>) - Method in class net.opentsdb.tree.Branch
Sets the path for this branch based off the path of the parent.
printAscii(StringBuilder) - Method in class net.opentsdb.stats.Histogram
Prints this histogram in a human readable ASCII format.
processAllTrees(TSDB, TSMeta) - Static method in class net.opentsdb.tree.TreeBuilder
Attempts to run the given TSMeta object through all of the trees in the system.
processTimeseriesMeta(TSMeta) - Method in class net.opentsdb.tree.TreeBuilder
Convenience overload of TreeBuilder.processTimeseriesMeta(TSMeta, boolean) that sets the testing flag to false.
processTimeseriesMeta(TSMeta, boolean) - Method in class net.opentsdb.tree.TreeBuilder
Runs the TSMeta object through the Trees rule set, optionally storing the resulting branches, leaves and meta data.
processTSMetaThroughTrees(TSMeta) - Method in class net.opentsdb.core.TSDB
Processes the TSMeta through all of the trees if configured to do so
properties - Variable in class net.opentsdb.utils.Config
The list of properties configured to their defaults or modified by users
publishAnnotation(Annotation) - Method in class net.opentsdb.tsd.RTPublisher
Called any time a new annotation is published
publishDataPoint(String, long, long, Map<String, String>, byte[]) - Method in class net.opentsdb.tsd.RTPublisher
Called any time a new data point is published
publishDataPoint(String, long, double, Map<String, String>, byte[]) - Method in class net.opentsdb.tsd.RTPublisher
Called any time a new data point is published

Q

qualifier() - Method in class net.opentsdb.core.Internal.Cell
 
Query - Interface in net.opentsdb.core
A query to retreive data from the TSDB.
query - Variable in class net.opentsdb.tsd.HttpSerializer
The query used for accessing the DefaultHttpResponse object and other information

R

RateOptions - Class in net.opentsdb.core
Provides additional options that will be used when calculating rates.
RateOptions() - Constructor for class net.opentsdb.core.RateOptions
Ctor
RateOptions(boolean, long, long) - Constructor for class net.opentsdb.core.RateOptions
Ctor
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() - Static method 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.
repoStatus() - Static method in class net.opentsdb.BuildData
Status of the repository at the time of the build.
request_content_type - Variable in class net.opentsdb.tsd.HttpSerializer
Content type to use for matching a serializer to incoming requests
requestContentType() - Method in class net.opentsdb.tsd.HttpSerializer
 
response_content_type - Variable in class net.opentsdb.tsd.HttpSerializer
Content type to return with data from this serializer
responseContentType() - Method in class net.opentsdb.tsd.HttpSerializer
 
revisionString() - Static method in class net.opentsdb.BuildData
Human readable string describing the revision of this package.
RpcPlugin - Class in net.opentsdb.tsd
The RPCPlugin allows for interacting with a TSD using different protocols such as Protobufs, Thrift, Memcache, anything folks want to create.
RpcPlugin() - Constructor for class net.opentsdb.tsd.RpcPlugin
 
RTPublisher - Class in net.opentsdb.tsd
Real Time publisher plugin interface that is used to emit data from a TSD as data comes in.
RTPublisher() - Constructor for class net.opentsdb.tsd.RTPublisher
 
RULE_PREFIX() - Static method in class net.opentsdb.tree.TreeRule
 
run() - Method in interface net.opentsdb.core.Query
Runs this query.
runAsync() - Method in interface net.opentsdb.core.Query
Executes the query asynchronously
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

SearchPlugin - Class in net.opentsdb.search
Search plugins allow data from OpenTSDB to be published to a search indexer.
SearchPlugin() - Constructor for class net.opentsdb.search.SearchPlugin
 
SearchQuery - Class in net.opentsdb.search
Class used for passing and executing simple queries against with the search plugin.
SearchQuery() - Constructor for class net.opentsdb.search.SearchQuery
 
SearchQuery.SearchType - Enum in net.opentsdb.search
Types of searches to execute, chooses the different indexes and/or alters the output format
SECOND_MASK - Static variable in class net.opentsdb.core.Const
Mask to verify a timestamp on 4 bytes in seconds
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.
serializeToBytes(Object) - Static method in class net.opentsdb.utils.JSON
Serializes the given object to a JSON byte array
serializeToJSONPBytes(String, Object) - Static method in class net.opentsdb.utils.JSON
Serializes the given object and wraps it in a callback function i.e.
serializeToJSONPString(String, Object) - Static method in class net.opentsdb.utils.JSON
Serializes the given object and wraps it in a callback function i.e.
serializeToString(Object) - Static method in class net.opentsdb.utils.JSON
Serializes the given object to a JSON string
set() - Static method in class net.opentsdb.core.Aggregators
Returns the set of the names that can be used with get.
setAggregator(String) - Method in class net.opentsdb.core.TSSubQuery
 
setAutoMetric(boolean) - Method in class net.opentsdb.utils.Config
 
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.
setCounterMax(long) - Method in class net.opentsdb.core.RateOptions
 
setCreated(long) - Method in class net.opentsdb.meta.TSMeta
 
setCreated(long) - Method in class net.opentsdb.meta.UIDMeta
 
setCreated(long) - Method in class net.opentsdb.tree.Tree
 
setCustom(Map<String, String>) - Method in class net.opentsdb.meta.Annotation
 
setCustom(Map<String, String>) - Method in class net.opentsdb.meta.TSMeta
 
setCustom(Map<String, String>) - Method in class net.opentsdb.meta.UIDMeta
 
setCustomField(String) - Method in class net.opentsdb.tree.TreeRule
 
setDataType(String) - Method in class net.opentsdb.meta.TSMeta
 
setDefaults() - Method in class net.opentsdb.utils.Config
Loads default entries that were not provided by a file or command line This should be called in the constructor
setDefaultTimezone(String) - Static method in class net.opentsdb.utils.DateTime
Sets the default timezone for this running OpenTSDB instance
setDescription(String) - Method in class net.opentsdb.meta.Annotation
 
setDescription(String) - Method in class net.opentsdb.meta.TSMeta
 
setDescription(String) - Method in class net.opentsdb.meta.UIDMeta
 
setDescription(String) - Method in class net.opentsdb.tree.Tree
 
setDescription(String) - Method in class net.opentsdb.tree.TreeRule
 
setDimensions(short, short) - Method in class net.opentsdb.graph.Plot
Sets the dimensions of the graph (in pixels).
setDisplayFormat(String) - Method in class net.opentsdb.tree.TreeRule
 
setDisplayName(String) - Method in class net.opentsdb.meta.TSMeta
 
setDisplayName(String) - Method in class net.opentsdb.meta.UIDMeta
 
setDisplayName(String) - Method in class net.opentsdb.tree.Branch
 
setDisplayName(String) - Method in class net.opentsdb.tree.Leaf
 
setDownsample(String) - Method in class net.opentsdb.core.TSSubQuery
 
setEnabled(boolean) - Method in class net.opentsdb.tree.Tree
 
setEnd(String) - Method in class net.opentsdb.core.TSQuery
Optionally sets the end time for all queries.
setEndTime(long) - Method in interface net.opentsdb.core.Query
Sets the end time of the graph.
setEndTime(long) - Method in class net.opentsdb.meta.Annotation
 
setField(String) - Method in class net.opentsdb.tree.TreeRule
 
setGlobalAnnotations(boolean) - Method in class net.opentsdb.core.TSQuery
 
setGlobals(List<Annotation>) - Method in class net.opentsdb.graph.Plot
 
setIsCounter(boolean) - Method in class net.opentsdb.core.RateOptions
 
setLevel(int) - Method in class net.opentsdb.tree.TreeRule
 
setLimit(int) - Method in class net.opentsdb.search.SearchQuery
 
setMax(double) - Method in class net.opentsdb.meta.TSMeta
 
setMetric(String) - Method in class net.opentsdb.core.IncomingDataPoint
 
setMetric(String) - Method in class net.opentsdb.core.TSSubQuery
 
setMetric(String) - Method in class net.opentsdb.tree.Leaf
 
setMin(double) - Method in class net.opentsdb.meta.TSMeta
 
setMsResolution(boolean) - Method in class net.opentsdb.core.TSQuery
 
setName(String) - Method in class net.opentsdb.tree.Tree
 
setNoAnnotations(boolean) - Method in class net.opentsdb.core.TSQuery
 
setNotes(String) - Method in class net.opentsdb.meta.Annotation
 
setNotes(String) - Method in class net.opentsdb.meta.TSMeta
 
setNotes(String) - Method in class net.opentsdb.meta.UIDMeta
 
setNotes(String) - Method in class net.opentsdb.tree.Tree
 
setNotes(String) - Method in class net.opentsdb.tree.TreeRule
 
setOptions(HashMap<String, ArrayList<String>>) - Method in class net.opentsdb.core.TSQuery
 
setOrder(int) - Method in class net.opentsdb.tree.TreeRule
 
setPadding(boolean) - Method in class net.opentsdb.core.TSQuery
 
setParams(Map<String, String>) - Method in class net.opentsdb.graph.Plot
Sets the global parameters for this plot.
setQueries(ArrayList<TSSubQuery>) - Method in class net.opentsdb.core.TSQuery
 
setQuery(String) - Method in class net.opentsdb.search.SearchQuery
 
setRate(boolean) - Method in class net.opentsdb.core.TSSubQuery
 
setRateOptions(RateOptions) - Method in class net.opentsdb.core.TSSubQuery
 
setRegex(String) - Method in class net.opentsdb.tree.TreeRule
 
setRegexGroupIdx(int) - Method in class net.opentsdb.tree.TreeRule
 
setResetValue(long) - Method in class net.opentsdb.core.RateOptions
 
setResults(List<Object>) - Method in class net.opentsdb.search.SearchQuery
 
setRetention(int) - Method in class net.opentsdb.meta.TSMeta
 
setSeparator(String) - Method in class net.opentsdb.tree.TreeRule
 
setSeries(String, Map<String, String>) - Method in interface net.opentsdb.core.WritableDataPoints
Sets the metric name and tags of the series.
setShowTSUIDs(boolean) - Method in class net.opentsdb.core.TSQuery
 
setStart(String) - Method in class net.opentsdb.core.TSQuery
Sets the start time for further parsing.
setStartIndex(int) - Method in class net.opentsdb.search.SearchQuery
 
setStartTime(long) - Method in interface net.opentsdb.core.Query
Sets the start time of the graph.
setStartTime(long) - Method in class net.opentsdb.meta.Annotation
 
setStoreFailures(boolean) - Method in class net.opentsdb.tree.Tree
 
setStrictMatch(boolean) - Method in class net.opentsdb.tree.Tree
 
setTags(HashMap<String, String>) - Method in class net.opentsdb.core.IncomingDataPoint
 
setTags(HashMap<String, String>) - Method in class net.opentsdb.core.TSSubQuery
 
setTags(HashMap<String, String>) - Method in class net.opentsdb.tree.Leaf
 
setTime(float) - Method in class net.opentsdb.search.SearchQuery
 
setTimeSeries(String, Map<String, String>, Aggregator, boolean, RateOptions) - Method in interface net.opentsdb.core.Query
Sets the time series to the query.
setTimeSeries(String, Map<String, String>, Aggregator, boolean) - Method in interface net.opentsdb.core.Query
Sets the time series to the query.
setTimeSeries(List<String>, Aggregator, boolean) - Method in interface net.opentsdb.core.Query
Sets up a query for the given timeseries UIDs.
setTimeSeries(List<String>, Aggregator, boolean, RateOptions) - Method in interface net.opentsdb.core.Query
Sets up a query for the given timeseries UIDs.
setTimestamp(long) - Method in class net.opentsdb.core.IncomingDataPoint
 
setTimezone(String) - Method in class net.opentsdb.core.TSQuery
 
setTimeZone(SimpleDateFormat, String) - Static method in class net.opentsdb.utils.DateTime
Applies the given timezone to the given date format.
setTotalResults(int) - Method in class net.opentsdb.search.SearchQuery
 
setTree(Tree) - Method in class net.opentsdb.tree.TreeBuilder
 
setTreeId(int) - Method in class net.opentsdb.tree.Branch
 
setTreeId(int) - Method in class net.opentsdb.tree.Tree
 
setTreeId(int) - Method in class net.opentsdb.tree.TreeRule
 
setTSDB(TSDB) - Method in class net.opentsdb.uid.UniqueId
 
setTSUID(String) - Method in class net.opentsdb.core.IncomingDataPoint
 
setTSUID(String) - Method in class net.opentsdb.meta.Annotation
 
setTsuid(String) - Method in class net.opentsdb.tree.Leaf
 
setTsuids(List<String>) - Method in class net.opentsdb.core.TSSubQuery
 
setType(SearchQuery.SearchType) - Method in class net.opentsdb.search.SearchQuery
 
setType(TreeRule.TreeRuleType) - Method in class net.opentsdb.tree.TreeRule
 
setUnits(String) - Method in class net.opentsdb.meta.TSMeta
 
setValue(String) - Method in class net.opentsdb.core.IncomingDataPoint
 
short_revision - Static variable in class net.opentsdb.BuildData
Short revision at which this package was built.
shortName() - Method in class net.opentsdb.tsd.HttpSerializer
The simple name for this serializer referenced by users.
shortRevision() - Static method 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 TSD instance.
shutdown() - Method in class net.opentsdb.search.SearchPlugin
Called to gracefully shutdown the plugin.
shutdown() - Method in class net.opentsdb.tsd.HttpSerializer
Called when the TSD is shutting down so implementations can gracefully close their objects or connections if necessary
shutdown() - Method in class net.opentsdb.tsd.RpcPlugin
Called to gracefully shutdown the plugin.
shutdown() - Method in class net.opentsdb.tsd.RTPublisher
Called to gracefully shutdown the plugin.
sinkDataPoint(String, long, byte[], Map<String, String>, byte[], short) - Method in class net.opentsdb.tsd.RTPublisher
Called by the TSD when a new, raw data point is published.
size() - Method in interface net.opentsdb.core.DataPoints
Returns the number of data points.
SKIP - Static variable in class net.opentsdb.core.Internal.Cell
Tombstone used as a helper during the complex compaction.
splitString(String, char) - Static method in class net.opentsdb.core.Tags
Optimized version of String#split that doesn't use regexps.
startTime() - Method in class net.opentsdb.core.TSQuery
 
StatsCollector - Class in net.opentsdb.stats
Receives various stats/metrics from the current process.
StatsCollector(String) - Constructor for class net.opentsdb.stats.StatsCollector
Constructor.
StatsRpc - Class in net.opentsdb.tsd
Handles fetching statistics from all over the code, collating them in a string buffer or list, and emitting them to the caller.
StatsRpc() - Constructor for class net.opentsdb.tsd.StatsRpc
 
storeBranch(TSDB, Tree, boolean) - Method in class net.opentsdb.tree.Branch
Attempts to write the branch definition and optionally child leaves to storage via CompareAndSets.
storeLeaf(TSDB, byte[], Tree) - Method in class net.opentsdb.tree.Leaf
Attempts to write the leaf to storage using a CompareAndSet call.
storeNew(TSDB) - Method in class net.opentsdb.meta.TSMeta
Attempts to store a new, blank timeseries meta object via a CompareAndSet Note: This should not be called by user accessible methods as it will overwrite any data already in the column.
storeNew(TSDB) - Method in class net.opentsdb.meta.UIDMeta
Attempts to store a blank, new UID meta object in the proper location.
storeTree(TSDB, boolean) - Method in class net.opentsdb.tree.Tree
Attempts to store the tree definition via a CompareAndSet call.
stringToId(String) - Static method in class net.opentsdb.tree.Branch
Converts a hex string to a branch ID byte array (row key)
stringToType(String) - Static method in class net.opentsdb.tree.TreeRule
Parses a string into a rule type enumerator
stringToUid(String) - Static method in class net.opentsdb.uid.UniqueId
Converts a hex string to a byte array If the uid is less than uid_length * 2 characters wide, it will be padded with 0s to conform to the spec.
stringToUid(String, short) - Static method in class net.opentsdb.uid.UniqueId
Converts a hex string to a byte array If the uid is less than uid_length * 2 characters wide, it will be padded with 0s to conform to the spec.
stringToUniqueIdType(String) - Static method in class net.opentsdb.uid.UniqueId
Attempts to convert the given string to a type enumerator
suggest(String) - Method in class net.opentsdb.uid.UniqueId
Attempts to find suggestions of names given a search term.
suggest(String, int) - Method in class net.opentsdb.uid.UniqueId
Attempts to find suggestions of names given a search term.
suggestAsync(String, int) - 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.
suggestMetrics(String, int) - Method in class net.opentsdb.core.TSDB
Given a prefix search, returns matching metric names.
suggestTagNames(String) - Method in class net.opentsdb.core.TSDB
Given a prefix search, returns a few matching tag names.
suggestTagNames(String, int) - Method in class net.opentsdb.core.TSDB
Given a prefix search, returns matching tagk names.
suggestTagValues(String) - Method in class net.opentsdb.core.TSDB
Given a prefix search, returns a few matching tag values.
suggestTagValues(String, int) - Method in class net.opentsdb.core.TSDB
Given a prefix search, returns matching tag values.
SUM - Static variable in class net.opentsdb.core.Aggregators
Aggregator that sums up all the data points.
syncToStorage(TSDB, Boolean) - Method in class net.opentsdb.meta.Annotation
Attempts a CompareAndSet storage call, loading the object from storage, synchronizing changes, and attempting a put.
syncToStorage(TSDB, boolean) - Method in class net.opentsdb.meta.TSMeta
Attempts a CompareAndSet storage call, loading the object from storage, synchronizing changes, and attempting a put.
syncToStorage(TSDB, boolean) - Method in class net.opentsdb.meta.UIDMeta
Attempts a CompareAndSet storage call, loading the object from storage, synchronizing changes, and attempting a put.
syncToStorage(TSDB, boolean) - Method in class net.opentsdb.tree.TreeRule
Attempts to write the rule to storage via CompareAndSet, merging changes with an existing rule.

T

tagk_width() - Static method in class net.opentsdb.core.TSDB
 
Tags - Class in net.opentsdb.core
Helper functions to deal with tags.
tagv_width() - Static method in class net.opentsdb.core.TSDB
 
timestamp - Static variable in class net.opentsdb.BuildData
UNIX timestamp of the time of the build.
timestamp() - Static method 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 milliseconds) associated with this data point.
timestamp(int) - Method in interface net.opentsdb.core.DataPoints
Returns the timestamp associated with the ith data point.
timestamp(long) - Method in class net.opentsdb.core.Internal.Cell
Returns the Unix epoch timestamp in milliseconds
TIMESTAMP_BYTES - Static variable in class net.opentsdb.core.Const
Number of bytes on which a timestamp is encoded.
timezones - Static variable in class net.opentsdb.utils.DateTime
Immutable cache mapping a timezone name to its object.
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.core.IncomingDataPoint
 
toString() - Method in class net.opentsdb.core.Internal.Cell
Prints the raw data of the qualifier and value
toString() - Method in class net.opentsdb.core.RateOptions
Generates a String version of the rate option instance in a format that can be utilized in a query.
toString() - Method in class net.opentsdb.core.TSQuery
 
toString() - Method in class net.opentsdb.core.TSSubQuery
 
toString() - Method in class net.opentsdb.meta.Annotation
 
toString() - Method in class net.opentsdb.meta.TSMeta
 
toString() - Method in class net.opentsdb.meta.UIDMeta
 
toString() - Method in class net.opentsdb.stats.Histogram
 
toString() - Method in class net.opentsdb.tools.ArgP
 
toString() - Method in class net.opentsdb.tree.Branch
 
toString() - Method in class net.opentsdb.tree.Leaf
 
toString() - Method in class net.opentsdb.tree.Tree
 
toString() - Method in class net.opentsdb.tree.TreeRule
 
toString() - Method in class net.opentsdb.uid.UniqueId
Returns a human readable string representation of the object.
Tree - Class in net.opentsdb.tree
Represents a meta data tree in OpenTSDB that organizes timeseries into a hierarchical structure for navigation similar to a file system directory.
Tree() - Constructor for class net.opentsdb.tree.Tree
Default constructor necessary for de/serialization
Tree(int) - Constructor for class net.opentsdb.tree.Tree
Constructor that sets the tree ID and the created timestamp to the current time.
Tree(Tree) - Constructor for class net.opentsdb.tree.Tree
Copy constructor that creates a completely independent copy of the original object.
TREE_FAMILY() - Static method in class net.opentsdb.tree.Tree
 
TREE_ID_WIDTH() - Static method in class net.opentsdb.tree.Tree
 
TreeBuilder - Class in net.opentsdb.tree
Contains the logic and methods for building a branch from a tree definition and a TSMeta object.
TreeBuilder(TSDB, Tree) - Constructor for class net.opentsdb.tree.TreeBuilder
Constructor to initialize the builder.
TreeRule - Class in net.opentsdb.tree
Represents single rule in a set of rules for a given tree.
TreeRule() - Constructor for class net.opentsdb.tree.TreeRule
Default constructor necessary for de/serialization
TreeRule(int) - Constructor for class net.opentsdb.tree.TreeRule
Constructor initializes the tree ID
TreeRule(TreeRule) - Constructor for class net.opentsdb.tree.TreeRule
Copy constructor that creates a completely independent copy of the original object
TreeRule.TreeRuleType - Enum in net.opentsdb.tree
Types of tree rules
treeTable() - Method in class net.opentsdb.core.TSDB
 
TSDB - Class in net.opentsdb.core
Thread-safe implementation of the TSDB client.
TSDB(Config) - Constructor for class net.opentsdb.core.TSDB
Constructor
TSMeta - Class in net.opentsdb.meta
Timeseries Metadata is associated with a particular series of data points and includes user configurable values and some stats calculated by OpenTSDB.
TSMeta() - Constructor for class net.opentsdb.meta.TSMeta
Default constructor necessary for POJO de/serialization
TSMeta(String) - Constructor for class net.opentsdb.meta.TSMeta
Constructor for RPC timeseries parsing that will not set the timestamps
TSMeta(byte[], long) - Constructor for class net.opentsdb.meta.TSMeta
Constructor for new timeseries that initializes the created and last_received times to the current system time
TSQuery - Class in net.opentsdb.core
Parameters and state to query the underlying storage system for timeseries data points.
TSQuery() - Constructor for class net.opentsdb.core.TSQuery
Default constructor necessary for POJO de/serialization
TSSubQuery - Class in net.opentsdb.core
Represents the parameters for an individual sub query on a metric or specific timeseries.
TSSubQuery() - Constructor for class net.opentsdb.core.TSSubQuery
Default constructor necessary for POJO de/serialization

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.
UIDMeta - Class in net.opentsdb.meta
UIDMeta objects are associated with the UniqueId of metrics, tag names or tag values.
UIDMeta() - Constructor for class net.opentsdb.meta.UIDMeta
Default constructor Initializes the the changed map
UIDMeta(UniqueId.UniqueIdType, String) - Constructor for class net.opentsdb.meta.UIDMeta
Constructor used for overwriting.
UIDMeta(UniqueId.UniqueIdType, byte[], String) - Constructor for class net.opentsdb.meta.UIDMeta
Constructor used by TSD only to create a new UID with the given data and the current system time for createdd
uidTable() - Method in class net.opentsdb.core.TSDB
 
uidToString(byte[]) - Static method in class net.opentsdb.uid.UniqueId
Converts a byte array to a hex encoded, upper case string with padding
UniqueId - Class in net.opentsdb.uid
Represents a table of Unique IDs, manages the lookup and creation of IDs.
UniqueId(HBaseClient, byte[], String, int) - Constructor for class net.opentsdb.uid.UniqueId
Constructor.
UniqueId.UniqueIdType - Enum in net.opentsdb.uid
Enumerator for different types of UIDS @since 2.0
UniqueIdInterface - Interface in net.opentsdb.uid
Deprecated.
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.
user() - Static method in class net.opentsdb.BuildData
Username of the user who built this package.

V

validateAndSetQuery() - Method in class net.opentsdb.core.TSQuery
Runs through query parameters to make sure it's a valid request.
validateAndSetQuery() - Method in class net.opentsdb.core.TSSubQuery
Runs through query parameters to make sure it's a valid request.
validateString(String, String) - Static method in class net.opentsdb.core.Tags
Ensures that a given string is a valid metric name or tag name/value.
value() - Method in class net.opentsdb.core.Internal.Cell
 
valueOf(String) - Static method in enum net.opentsdb.BuildData.RepoStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.opentsdb.core.Aggregators.Interpolation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.opentsdb.search.SearchQuery.SearchType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.opentsdb.tree.TreeRule.TreeRuleType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.opentsdb.uid.UniqueId.UniqueIdType
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.
values() - Static method in enum net.opentsdb.core.Aggregators.Interpolation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.opentsdb.search.SearchQuery.SearchType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.opentsdb.tree.TreeRule.TreeRuleType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.opentsdb.uid.UniqueId.UniqueIdType
Returns an array containing the constants of this enum type, in the order they are declared.
version - Static variable in class net.opentsdb.BuildData
Version string MAJOR.MINOR.MAINT
version() - Static method in class net.opentsdb.BuildData
Version string MAJOR.MINOR.MAINT
version() - Method in class net.opentsdb.search.SearchPlugin
Should return the version of this plugin in the format: MAJOR.MINOR.MAINT, e.g.
version() - Method in class net.opentsdb.tsd.HttpSerializer
The version of this serializer plugin in the format "MAJOR.MINOR.MAINT" The MAJOR version should match the major version of OpenTSDB, e.g.
version() - Method in class net.opentsdb.tsd.RpcPlugin
Should return the version of this plugin in the format: MAJOR.MINOR.MAINT, e.g.
version() - Method in class net.opentsdb.tsd.RTPublisher
Should return the version of this plugin in the format: MAJOR.MINOR.MAINT, e.g.

W

width() - Method in class net.opentsdb.uid.UniqueId
 
width() - Method in interface net.opentsdb.uid.UniqueIdInterface
Deprecated.
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.

Z

ZIMSUM - Static variable in class net.opentsdb.core.Aggregators
Sums data points but will cause the SpanGroup to return a 0 if timesamps don't line up instead of interpolating.
A B C D E F G H I J K L M N O P Q R S T U V W Z