Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var OpIO = map[string][]*IOType{ "aggfunc": { {Type: IOINPUT_TYPE_COLLECTION, RowType: IOROW_TYPE_ANY, CollectionType: IOCOLLECTION_TYPE_ANY}, {Type: IOINPUT_TYPE_COLLECTION, CollectionType: IOCOLLECTION_TYPE_GROUPED}, }, "filter": { {Type: IOINPUT_TYPE_ANY, RowType: IOROW_TYPE_ANY, CollectionType: IOCOLLECTION_TYPE_ANY}, {Type: IOINPUT_TYPE_SAME}, }, "function": { {Type: IOINPUT_TYPE_ANY, CollectionType: IOCOLLECTION_TYPE_SINGLE, RowType: IOROW_TYPE_ANY}, {Type: IOINPUT_TYPE_SAME}, }, "groupby": { {Type: IOINPUT_TYPE_COLLECTION, CollectionType: IOCOLLECTION_TYPE_SINGLE, RowType: IOROW_TYPE_ANY}, {Type: IOINPUT_TYPE_COLLECTION, CollectionType: IOCOLLECTION_TYPE_GROUPED}, }, "join": { {Type: IOINPUT_TYPE_ANY, CollectionType: IOCOLLECTION_TYPE_SINGLE, RowType: IOROW_TYPE_SINGLE, AllowMulti: true}, {Type: IOINPUT_TYPE_COLLECTION, CollectionType: IOCOLLECTION_TYPE_SINGLE, RowType: IOROW_TYPE_MERGED}, }, "orderby": { {Type: IOINPUT_TYPE_COLLECTION, RowType: IOROW_TYPE_ANY, CollectionType: IOCOLLECTION_TYPE_ANY}, {Type: IOINPUT_TYPE_SAME}, }, "pick": { {Type: IOINPUT_TYPE_ANY, RowType: IOROW_TYPE_ANY, CollectionType: IOCOLLECTION_TYPE_ANY}, {Type: IOINPUT_TYPE_SAME}, }, "watermark": { {Type: IOINPUT_TYPE_ROW, RowType: IOROW_TYPE_ANY, CollectionType: IOCOLLECTION_TYPE_ANY, AllowMulti: true}, {Type: IOINPUT_TYPE_SAME}, }, "window": { {Type: IOINPUT_TYPE_ROW, RowType: IOROW_TYPE_ANY, CollectionType: IOCOLLECTION_TYPE_ANY, AllowMulti: true}, {Type: IOINPUT_TYPE_COLLECTION, CollectionType: IOCOLLECTION_TYPE_SINGLE, RowType: IOROW_TYPE_SINGLE}, }, "switch": { {Type: IOINPUT_TYPE_ANY, RowType: IOROW_TYPE_ANY, CollectionType: IOCOLLECTION_TYPE_ANY}, {Type: IOINPUT_TYPE_SAME}, }, "script": { {Type: IOINPUT_TYPE_ANY, RowType: IOROW_TYPE_ANY, CollectionType: IOCOLLECTION_TYPE_ANY}, {Type: IOINPUT_TYPE_SAME}, }, }
OpIO The io constraints for a node
Functions ¶
Types ¶
type IOType ¶
type IOType struct { Type IoInputType `json:"type"` RowType IoRowType `json:"rowType"` CollectionType IoCollectionType `json:"collectionType"` AllowMulti bool `json:"allowMulti"` }
IOType is the type of input/output all fields are default to any
type IoCollectionType ¶
type IoCollectionType uint8
const ( IOCOLLECTION_TYPE_SAME IoCollectionType = iota IOCOLLECTION_TYPE_SINGLE IOCOLLECTION_TYPE_GROUPED IOCOLLECTION_TYPE_ANY )
type IoInputType ¶
type IoInputType uint8
const ( IOINPUT_TYPE_SAME IoInputType = iota IOINPUT_TYPE_ROW // 0b01 IOINPUT_TYPE_COLLECTION // 0b10 IOINPUT_TYPE_ANY // 0b11 )
Click to show internal directories.
Click to hide internal directories.