Click or drag to resize

QdbTableCreate Method (TimeSpan, IEnumerableQdbColumnDefinition)

Creates the time-series.

Namespace:  Quasardb.TimeSeries
Assembly:  Quasardb (in Quasardb.dll) Version: 3.15.0.0 (3.15.0.0)
Syntax
public void Create(
	TimeSpan shardSize,
	IEnumerable<QdbColumnDefinition> columnDefinitions
)

Parameters

shardSize
Type: SystemTimeSpan
The size of a single shard (bucket)
columnDefinitions
Type: System.Collections.GenericIEnumerableQdbColumnDefinition
The description of the columns
Exceptions
ExceptionCondition
QdbAliasAlreadyExistsExceptionIf the time-series already exists.
QdbIncompatibleTypeExceptionIf the alias matches with an entry of another type.
QdbInvalidArgumentExceptionIf shard size is less than one millisecond or greater than maximum allowed length.
See Also