package
1.3.5
Repository: https://github.com/silenceshell/influxdb.git
Documentation: pkg.go.dev

# Functions

NewBufferedPointsWriter returns a new BufferedPointsWriter.
NewConfig returns an instance of Config with defaults.
NewPointsWriter returns a new instance of PointsWriter for a node.
NewShardMapping creates an empty ShardMapping.

# 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.
DefaultWriteTimeout is the default timeout for a complete write to succeed.

# Variables

ErrDatabaseNameRequired is returned when executing statements that require a database, when a database has not been provided.
ErrPartialWrite is returned when a write partially succeeds but does not meet the requested consistency level.
ErrTimeout is returned when a write times out.
ErrWriteFailed is returned when no writes succeeded.

# Structs

BufferedPointsWriter adds buffering to a pointsWriter so that SELECT INTO queries write their points to the destination in batches.
Config represents the configuration for the coordinator service.
IntoWriteRequest is a partial copy of cluster.WriteRequest.
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.
WriteStatistics keeps statistics related to the PointsWriter.

# Interfaces

IteratorCreator is an interface that combines mapping fields and creating iterators.
MetaClient is an interface for accessing meta data.
ShardIteratorCreator is an interface for creating an IteratorCreator to access a specific shard.
ShardMapper retrieves and maps shards into an IteratorCreator that can later be used for executing queries.
TSDBStore is an interface for accessing the time series data store.