package
2.7.11
Repository: https://github.com/influxdata/influxdb.git
Documentation: pkg.go.dev

# Functions

NewConfig returns an instance of Config with defaults.
NewPointsWriter returns a new instance of PointsWriter for a node.
NewShardMapping creates an empty ShardMapping.
PrometheusCollectors returns all prometheus metrics for the tsm1 package.

# Constants

DefaultMaxConcurrentQueries is the maximum number of running queries.
DefaultMaxSelectPointN is the maximum number of points a SELECT can process.
DefaultMaxSelectSeriesN is the maximum number of series a SELECT can run.

# Variables

ErrDatabaseNameRequired is returned when executing statements that require a database, when a database has not been provided.
ErrTimeout is returned when a write times out.
ErrWriteFailed is returned when no writes succeeded.

# Structs

Config represents the configuration for the coordinator service.
LocalShardMapper implements a ShardMapper for local shards.
ShardMapper maps data sources to a list of shard information.
LocalTSDBStore embeds a tsdb.Store and implements IteratorCreator to satisfy the TSDBStore interface.
PointsWriter handles writes across multiple local and remote data nodes.
ShardMapping contains a mapping of shards to points.
Source contains the database and retention policy source for data.
StatementExecutor executes a statement in the query.
WritePointsRequest represents a request to write point data to the cluster.

# Interfaces

IteratorCreator is an interface that combines mapping fields and creating iterators.
MetaClient is an interface for accessing meta data.
TSDBStore is an interface for accessing the time series data store.