A B C D E G H I L M O P Q R S T V 

A

AbstractClient - Class in org.kairosdb.client
Base code used to send metrics to Kairos or query Kairos.
AbstractClient(String) - Constructor for class org.kairosdb.client.AbstractClient
Creates a client
addAggregator(Aggregator) - Method in class org.kairosdb.client.builder.QueryMetric
Adds an aggregator to the metric.
addDataPoint(long, long) - Method in class org.kairosdb.client.builder.Metric
Adds the data point to the metric.
addDataPoint(long) - Method in class org.kairosdb.client.builder.Metric
Adds the data point to the metric with a timestamp of now.
addDataPoint(long, Object) - Method in class org.kairosdb.client.builder.Metric
 
addDataPoint(long, double) - Method in class org.kairosdb.client.builder.Metric
Adds the data point to the metric.
addDataPoint(double) - Method in class org.kairosdb.client.builder.Metric
Adds the data point to the metric with a timestamp of now.
addErrors(List<String>) - Method in class org.kairosdb.client.response.Response
 
addGrouper(Grouper) - Method in class org.kairosdb.client.builder.QueryMetric
Add a grouper to the metric.
addMetric(String) - Method in class org.kairosdb.client.builder.MetricBuilder
Adds a metric to the builder.
addMetric(String, String) - Method in class org.kairosdb.client.builder.MetricBuilder
Adds a metric to the builder with a customer type.
addMetric(String) - Method in class org.kairosdb.client.builder.QueryBuilder
The metric to query for.
addMultiValuedTags(Map<String, List<String>>) - Method in class org.kairosdb.client.builder.QueryMetric
Add a map of tags.
addTag(String, String) - Method in class org.kairosdb.client.builder.Metric
Adds a tag to the data point.
addTag(String, String...) - Method in class org.kairosdb.client.builder.QueryMetric
Adds a tag with multiple values.
addTags(Map<String, String>) - Method in class org.kairosdb.client.builder.Metric
Adds tags to the data point.
addTags(Map<String, String>) - Method in class org.kairosdb.client.builder.QueryMetric
Add a map of tags.
Aggregator - Class in org.kairosdb.client.builder
An aggregator manipulates data points.
Aggregator(String) - Constructor for class org.kairosdb.client.builder.Aggregator
 
AggregatorFactory - Class in org.kairosdb.client.builder
 
AggregatorFactory() - Constructor for class org.kairosdb.client.builder.AggregatorFactory
 

B

build() - Method in class org.kairosdb.client.builder.MetricBuilder
Returns the JSON string built by the builder.
build() - Method in class org.kairosdb.client.builder.QueryBuilder
Returns the JSON string built by the builder.

C

checkNotNullOrEmpty(String) - Static method in class org.kairosdb.client.util.Preconditions
 
checkNotNullOrEmpty(String, String, Object...) - Static method in class org.kairosdb.client.util.Preconditions
 
Client - Interface in org.kairosdb.client
 
createAverageAggregator(int, TimeUnit) - Static method in class org.kairosdb.client.builder.AggregatorFactory
Creates an aggregator that returns the average values for each time period as specified.
createCountAggregator(int, TimeUnit) - Static method in class org.kairosdb.client.builder.AggregatorFactory
Creates an aggregator that returns the count of all values over each time period as specified.
createCustomAggregator(String, String) - Static method in class org.kairosdb.client.builder.AggregatorFactory
Creates an aggregator with a custom json fragment.
createDivAggregator(double) - Static method in class org.kairosdb.client.builder.AggregatorFactory
Creates an aggregator that divides each value by the divisor.
createMaxAggregator(int, TimeUnit) - Static method in class org.kairosdb.client.builder.AggregatorFactory
Creates an aggregator that returns the maximum values for each time period as specified.
createMinAggregator(int, TimeUnit) - Static method in class org.kairosdb.client.builder.AggregatorFactory
Creates an aggregator that returns the minimum values for each time period as specified.
createRateAggregator(TimeUnit) - Static method in class org.kairosdb.client.builder.AggregatorFactory
Creates an aggregator that returns the rate of change between each pair of data points
createStandardDeviationAggregator(int, TimeUnit) - Static method in class org.kairosdb.client.builder.AggregatorFactory
Creates an aggregator that returns the standard deviation values for each time period as specified.
createSumAggregator(int, TimeUnit) - Static method in class org.kairosdb.client.builder.AggregatorFactory
Creates an aggregator that returns the sum of all values over each time period as specified.
CustomAggregator - Class in org.kairosdb.client.builder.aggregator
Creates an aggregator that takes custom JSON.
CustomAggregator(String, String) - Constructor for class org.kairosdb.client.builder.aggregator.CustomAggregator
 
CustomAggregatorSerializer - Class in org.kairosdb.client.serializer
Used by the JSON parser to serialize a custom aggregator.
CustomAggregatorSerializer() - Constructor for class org.kairosdb.client.serializer.CustomAggregatorSerializer
 
CustomGrouper - Class in org.kairosdb.client.builder.grouper
Grouper that that takes custom json.
CustomGrouper(String, String) - Constructor for class org.kairosdb.client.builder.grouper.CustomGrouper
 
CustomGrouperSerializer - Class in org.kairosdb.client.serializer
 
CustomGrouperSerializer() - Constructor for class org.kairosdb.client.serializer.CustomGrouperSerializer
 

D

DataFormatException - Exception in org.kairosdb.client.builder
 
DataFormatException() - Constructor for exception org.kairosdb.client.builder.DataFormatException
 
DataFormatException(String) - Constructor for exception org.kairosdb.client.builder.DataFormatException
 
DataPoint - Class in org.kairosdb.client.builder
A measurement.
DataPoint(long, Object) - Constructor for class org.kairosdb.client.builder.DataPoint
 
DataPointSerializer - Class in org.kairosdb.client.serializer
Used by the JSON parser to serialize a DataPoint.
DataPointSerializer() - Constructor for class org.kairosdb.client.serializer.DataPointSerializer
 
DefaultGroupResult - Class in org.kairosdb.client.response.grouping
Group that represents natural grouping based on the type of the data.
DefaultGroupResult(String, String) - Constructor for class org.kairosdb.client.response.grouping.DefaultGroupResult
 
delete(QueryBuilder) - Method in class org.kairosdb.client.AbstractClient
 
delete(String) - Method in class org.kairosdb.client.AbstractClient
 
delete(QueryBuilder) - Method in interface org.kairosdb.client.Client
Deletes data in KairosDB using the query built by the builder.
delete(String) - Method in class org.kairosdb.client.HttpClient
 
deleteMetric(String) - Method in class org.kairosdb.client.AbstractClient
 
deleteMetric(String) - Method in interface org.kairosdb.client.Client
Deletes a metric.
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class org.kairosdb.client.deserializer.GroupByDeserializer
 
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class org.kairosdb.client.deserializer.ResultsDeserializer
 
doubleValue() - Method in class org.kairosdb.client.builder.DataPoint
 

E

equals(Object) - Method in class org.kairosdb.client.builder.DataPoint
 
ErrorResponse - Class in org.kairosdb.client.response
List of errors returned by KairosDB.
ErrorResponse(List<String>) - Constructor for class org.kairosdb.client.response.ErrorResponse
 
ErrorResponse(String) - Constructor for class org.kairosdb.client.response.ErrorResponse
 

G

getCacheTime() - Method in class org.kairosdb.client.builder.QueryBuilder
Returns the cache time.
getCount() - Method in class org.kairosdb.client.builder.grouper.TimeGrouper
 
getDataPoints() - Method in class org.kairosdb.client.builder.Metric
 
getDataPoints() - Method in class org.kairosdb.client.response.Results
 
getDataPointValueClass(String) - Method in class org.kairosdb.client.AbstractClient
 
getDataPointValueClass(String) - Method in interface org.kairosdb.client.Client
Returns the data point value class for the given group type or null if one is not registered for the group type
getEndAbsolute() - Method in class org.kairosdb.client.builder.QueryBuilder
Returns the absolute range end time.
getEndRelative() - Method in class org.kairosdb.client.builder.QueryBuilder
Returns the relative range end time.
getErrors() - Method in class org.kairosdb.client.response.ErrorResponse
 
getErrors() - Method in class org.kairosdb.client.response.Response
 
getGroup() - Method in class org.kairosdb.client.response.grouping.TagGroupResult
List of tag names and their corresponding values for this group.
getGroup() - Method in class org.kairosdb.client.response.grouping.TimeGroupResult
How the results were group.
getGroup() - Method in class org.kairosdb.client.response.grouping.ValueGroupResult
How the results were group.
getGroupCount() - Method in class org.kairosdb.client.response.grouping.TimeGroupResult
Number of groups.
getGroupNumber() - Method in class org.kairosdb.client.response.grouping.GroupingNumber
 
getGroupResults() - Method in class org.kairosdb.client.response.Results
 
getInstance() - Static method in class org.kairosdb.client.builder.MetricBuilder
Returns a new metric builder.
getInstance() - Static method in class org.kairosdb.client.builder.QueryBuilder
Returns a new query builder.
getMetricNames() - Method in class org.kairosdb.client.AbstractClient
 
getMetricNames() - Method in interface org.kairosdb.client.Client
Returns a list of all metric names.
getMetrics() - Method in class org.kairosdb.client.builder.MetricBuilder
Returns a list of metrics added to the builder.
getMetrics() - Method in class org.kairosdb.client.builder.QueryBuilder
Returns the list metrics to query for.
getName() - Method in class org.kairosdb.client.builder.Aggregator
Returns the aggregator's name.
getName() - Method in class org.kairosdb.client.builder.Grouper
Returns the name of the group by.
getName() - Method in class org.kairosdb.client.builder.Metric
Returns the metric name.
getName() - Method in class org.kairosdb.client.response.GroupResult
 
getName() - Method in class org.kairosdb.client.response.Results
 
getQueries() - Method in class org.kairosdb.client.response.QueryResponse
 
getRangeSize() - Method in class org.kairosdb.client.builder.grouper.TimeGrouper
 
getRangeSize() - Method in class org.kairosdb.client.builder.grouper.ValueGrouper
 
getRangeSize() - Method in class org.kairosdb.client.response.grouping.TimeGroupResult
The size of each range for the group.
getRangeSize() - Method in class org.kairosdb.client.response.grouping.ValueGroupResult
The size of each range for the group.
GetResponse - Class in org.kairosdb.client.response
Response of a GET request.
GetResponse(int) - Constructor for class org.kairosdb.client.response.GetResponse
 
GetResponse(int, List<String>) - Constructor for class org.kairosdb.client.response.GetResponse
 
getResults() - Method in class org.kairosdb.client.response.GetResponse
 
getResults() - Method in class org.kairosdb.client.response.Queries
 
getRetryCount() - Method in interface org.kairosdb.client.Client
Returns the number of retries.
getRetryCount() - Method in class org.kairosdb.client.HttpClient
 
getSampleSize() - Method in class org.kairosdb.client.response.Queries
Returns the number of data points returned by the query prior to aggregation.
getStartAbsolute() - Method in class org.kairosdb.client.builder.QueryBuilder
Returns the absolute range start time.
getStartRelative() - Method in class org.kairosdb.client.builder.QueryBuilder
Returns the relative range start time.
getStatusCode() - Method in class org.kairosdb.client.response.Response
 
getTagNames() - Method in class org.kairosdb.client.AbstractClient
 
getTagNames() - Method in class org.kairosdb.client.builder.grouper.TagGrouper
 
getTagNames() - Method in interface org.kairosdb.client.Client
Returns a list of all tag names.
getTags() - Method in class org.kairosdb.client.builder.Metric
Returns the tags associated with the data point.
getTags() - Method in class org.kairosdb.client.response.grouping.TagGroupResult
List of tag names that the results were grouped by.
getTags() - Method in class org.kairosdb.client.response.Results
 
getTagValues() - Method in class org.kairosdb.client.AbstractClient
 
getTagValues() - Method in interface org.kairosdb.client.Client
Returns a list of all tag values.
getTimeRelativeTo(long) - Method in class org.kairosdb.client.builder.RelativeTime
Returns the time in milliseconds relative to the specified time.
getTimestamp() - Method in class org.kairosdb.client.builder.DataPoint
Time when the data point was measured.
getType() - Method in class org.kairosdb.client.builder.Metric
Returns the custom type name.
getType() - Method in class org.kairosdb.client.response.grouping.DefaultGroupResult
Returns the type of data.
getUnit() - Method in class org.kairosdb.client.builder.aggregator.RateAggregator
 
getUnit() - Method in class org.kairosdb.client.builder.aggregator.SamplingAggregator
 
getUnit() - Method in class org.kairosdb.client.builder.RelativeTime
The unit of time.
getValue() - Method in class org.kairosdb.client.builder.aggregator.SamplingAggregator
 
getValue() - Method in class org.kairosdb.client.builder.DataPoint
 
getValue() - Method in class org.kairosdb.client.builder.RelativeTime
The time's value.
Group - Interface in org.kairosdb.client.response
 
GroupByDeserializer - Class in org.kairosdb.client.deserializer
Called by the JSON parser to deserialize groub-by.
GroupByDeserializer() - Constructor for class org.kairosdb.client.deserializer.GroupByDeserializer
 
Grouper - Class in org.kairosdb.client.builder
Specifies how data is grouped.
Grouper(String) - Constructor for class org.kairosdb.client.builder.Grouper
 
GroupingNumber - Class in org.kairosdb.client.response.grouping
How the results were grouped.
GroupingNumber(int) - Constructor for class org.kairosdb.client.response.grouping.GroupingNumber
 
GroupResult - Class in org.kairosdb.client.response
 
GroupResult(String) - Constructor for class org.kairosdb.client.response.GroupResult
 

H

hashCode() - Method in class org.kairosdb.client.builder.DataPoint
 
HttpClient - Class in org.kairosdb.client
HTTP implementation of a client.
HttpClient(String) - Constructor for class org.kairosdb.client.HttpClient
Creates a client to talk to the host on the specified port.

I

isDoubleValue() - Method in class org.kairosdb.client.builder.DataPoint
 
isIntegerValue() - Method in class org.kairosdb.client.builder.DataPoint
 

L

ListMultiMapSerializer - Class in org.kairosdb.client.serializer
 
ListMultiMapSerializer() - Constructor for class org.kairosdb.client.serializer.ListMultiMapSerializer
 
longValue() - Method in class org.kairosdb.client.builder.DataPoint
 

M

main(String[]) - Static method in class TheMain
 
Metric - Class in org.kairosdb.client.builder
A metric contains measurements or data points.
Metric(String) - Constructor for class org.kairosdb.client.builder.Metric
 
Metric(String, String) - Constructor for class org.kairosdb.client.builder.Metric
 
MetricBuilder - Class in org.kairosdb.client.builder
Builder used to create the JSON to push metrics to KairosDB.

O

org.kairosdb.client - package org.kairosdb.client
 
org.kairosdb.client.builder - package org.kairosdb.client.builder
 
org.kairosdb.client.builder.aggregator - package org.kairosdb.client.builder.aggregator
 
org.kairosdb.client.builder.grouper - package org.kairosdb.client.builder.grouper
 
org.kairosdb.client.deserializer - package org.kairosdb.client.deserializer
 
org.kairosdb.client.response - package org.kairosdb.client.response
 
org.kairosdb.client.response.grouping - package org.kairosdb.client.response.grouping
 
org.kairosdb.client.serializer - package org.kairosdb.client.serializer
 
org.kairosdb.client.util - package org.kairosdb.client.util
 

P

postData(String, String) - Method in class org.kairosdb.client.AbstractClient
 
postData(String, String) - Method in class org.kairosdb.client.HttpClient
 
Preconditions - Class in org.kairosdb.client.util
 
Preconditions() - Constructor for class org.kairosdb.client.util.Preconditions
 
pushMetrics(MetricBuilder) - Method in class org.kairosdb.client.AbstractClient
 
pushMetrics(MetricBuilder) - Method in interface org.kairosdb.client.Client
Sends metrics from the builder to the KairosDB server.
pushMetrics(MetricBuilder) - Method in class org.kairosdb.client.TelnetClient
Sends metrics from the builder to the Kairos server.

Q

Queries - Class in org.kairosdb.client.response
Resulting object from a Query.
Queries(List<Results>, long) - Constructor for class org.kairosdb.client.response.Queries
 
query(QueryBuilder) - Method in class org.kairosdb.client.AbstractClient
 
query(QueryBuilder) - Method in interface org.kairosdb.client.Client
Queries KairosDB using the query built by the builder.
QueryBuilder - Class in org.kairosdb.client.builder
Builder used to create the JSON to query KairosDB.
queryData(String) - Method in class org.kairosdb.client.AbstractClient
 
queryData(String) - Method in class org.kairosdb.client.HttpClient
 
QueryMetric - Class in org.kairosdb.client.builder
Query request for a metric.
QueryResponse - Class in org.kairosdb.client.response
Response returned by KairosDB.
QueryResponse() - Constructor for class org.kairosdb.client.response.QueryResponse
 

R

RateAggregator - Class in org.kairosdb.client.builder.aggregator
 
RateAggregator(TimeUnit) - Constructor for class org.kairosdb.client.builder.aggregator.RateAggregator
 
registerCustomDataType(String, Class) - Method in class org.kairosdb.client.AbstractClient
 
registerCustomDataType(String, Class) - Method in interface org.kairosdb.client.Client
Registers a new custom data type.
RelativeTime - Class in org.kairosdb.client.builder
A time unit relative to now.
RelativeTime(int, TimeUnit) - Constructor for class org.kairosdb.client.builder.RelativeTime
 
Response - Class in org.kairosdb.client.response
Response returned by the KairosDB server.
Response() - Constructor for class org.kairosdb.client.response.Response
 
Response(int) - Constructor for class org.kairosdb.client.response.Response
 
Results - Class in org.kairosdb.client.response
Query Results.
Results(String, Map<String, List<String>>, List<DataPoint>, List<GroupResult>) - Constructor for class org.kairosdb.client.response.Results
 
ResultsDeserializer - Class in org.kairosdb.client.deserializer
 
ResultsDeserializer(Client) - Constructor for class org.kairosdb.client.deserializer.ResultsDeserializer
 

S

SamplingAggregator - Class in org.kairosdb.client.builder.aggregator
 
SamplingAggregator(String, int, TimeUnit) - Constructor for class org.kairosdb.client.builder.aggregator.SamplingAggregator
 
serialize(CustomAggregator, Type, JsonSerializationContext) - Method in class org.kairosdb.client.serializer.CustomAggregatorSerializer
 
serialize(CustomGrouper, Type, JsonSerializationContext) - Method in class org.kairosdb.client.serializer.CustomGrouperSerializer
 
serialize(DataPoint, Type, JsonSerializationContext) - Method in class org.kairosdb.client.serializer.DataPointSerializer
 
serialize(ListMultimap, Type, JsonSerializationContext) - Method in class org.kairosdb.client.serializer.ListMultiMapSerializer
 
setCacheTime(int) - Method in class org.kairosdb.client.builder.QueryBuilder
How long to cache this exact query.
setClient(CloseableHttpClient) - Method in class org.kairosdb.client.HttpClient
Used for testing only
setEnd(Date) - Method in class org.kairosdb.client.builder.QueryBuilder
The ending value of the time range.
setEnd(int, TimeUnit) - Method in class org.kairosdb.client.builder.QueryBuilder
The ending time of the time range relative to now.
setRetryCount(int) - Method in class org.kairosdb.client.HttpClient
 
setStart(Date) - Method in class org.kairosdb.client.builder.QueryBuilder
The beginning time of the time range.
setStart(int, TimeUnit) - Method in class org.kairosdb.client.builder.QueryBuilder
The beginning time of the time range relative to now.
setStatusCode(int) - Method in class org.kairosdb.client.response.Response
 
shutdown() - Method in interface org.kairosdb.client.Client
Shuts down the client.
shutdown() - Method in class org.kairosdb.client.HttpClient
 
shutdown() - Method in class org.kairosdb.client.TelnetClient
Closes the socket.
stringValue() - Method in class org.kairosdb.client.builder.DataPoint
 

T

TagGrouper - Class in org.kairosdb.client.builder.grouper
Grouper used to group by tag names.
TagGrouper(String...) - Constructor for class org.kairosdb.client.builder.grouper.TagGrouper
 
TagGrouper(List<String>) - Constructor for class org.kairosdb.client.builder.grouper.TagGrouper
 
TagGroupResult - Class in org.kairosdb.client.response.grouping
Grouping by tags.
TagGroupResult(List<String>, Map<String, String>) - Constructor for class org.kairosdb.client.response.grouping.TagGroupResult
 
TelnetClient - Class in org.kairosdb.client
Communicates with KairosDB using the Telnet protocol.
TelnetClient(String, int) - Constructor for class org.kairosdb.client.TelnetClient
 
TheMain - Class in <Unnamed>
 
TheMain() - Constructor for class TheMain
 
TheMain.ComplexNumber - Class in <Unnamed>
 
TheMain.ComplexNumber(double, double) - Constructor for class TheMain.ComplexNumber
 
TimeGrouper - Class in org.kairosdb.client.builder.grouper
Grouper used to group by time range.
TimeGrouper(RelativeTime, int) - Constructor for class org.kairosdb.client.builder.grouper.TimeGrouper
 
TimeGroupResult - Class in org.kairosdb.client.response.grouping
 
TimeGroupResult(RelativeTime, int, GroupingNumber) - Constructor for class org.kairosdb.client.response.grouping.TimeGroupResult
 
TimeUnit - Enum in org.kairosdb.client.builder
 
TimeValidator - Class in org.kairosdb.client.builder
Validates start and end times.
toJson() - Method in class org.kairosdb.client.builder.aggregator.CustomAggregator
 
toJson() - Method in class org.kairosdb.client.builder.grouper.CustomGrouper
 
toString() - Method in class org.kairosdb.client.builder.DataPoint
 

V

validateEndTimeLaterThanStartTime(long, long) - Static method in class org.kairosdb.client.builder.TimeValidator
 
validateEndTimeLaterThanStartTime(RelativeTime, RelativeTime) - Static method in class org.kairosdb.client.builder.TimeValidator
 
validateEndTimeLaterThanStartTime(long, RelativeTime) - Static method in class org.kairosdb.client.builder.TimeValidator
 
validateEndTimeLaterThanStartTime(RelativeTime, long) - Static method in class org.kairosdb.client.builder.TimeValidator
 
ValueGrouper - Class in org.kairosdb.client.builder.grouper
Grouper used to group by metric value.
ValueGrouper(int) - Constructor for class org.kairosdb.client.builder.grouper.ValueGrouper
 
ValueGroupResult - Class in org.kairosdb.client.response.grouping
Results from a ValueGrouper.
ValueGroupResult(int, GroupingNumber) - Constructor for class org.kairosdb.client.response.grouping.ValueGroupResult
 
valueOf(String) - Static method in enum org.kairosdb.client.builder.TimeUnit
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.kairosdb.client.builder.TimeUnit
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E G H I L M O P Q R S T V 

Copyright © 2014. All rights reserved.