Documentation ¶
Overview ¶
Package idrf provides the structures for the Outflux Intermediate Data Reperesentation Format. These structures describe data and it's schema. The package also contains functions for safe initialization of the structures
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bundle ¶
Bundle defines a bundle of a data definition (schema) and a channel that caries data in IDRF format
type Column ¶
Column represents DDL description of a single column in IDRF
type DataSet ¶
DataSet represents DDL description of a single data set (table, measurement) in IDRF
func NewDataSet ¶
NewDataSet creates a new instance of DataSet with checked arguments
func (*DataSet) ColumnNamed ¶
ColumnNamed returns the ColumnInfo for a column given it's name, or nil if no column with that name exists in the data set
type DataType ¶
type DataType int
DataType Supported data types in the Intermediate Data Representation Format
const ( IDRFInteger32 DataType = iota + 1 IDRFInteger64 IDRFDouble IDRFSingle IDRFString IDRFBoolean IDRFTimestamptz IDRFTimestamp IDRFJson IDRFUnknown )
Available values for IDRF DataType enum
func (DataType) CanFitInto ¶
CanFitInto returns true if this data type can be safely cast to the other data type