Documentation ¶
Index ¶
- type ByName
- type Column
- type StreamSchema
- type StreamSchemaObj
- func (s *StreamSchemaObj) AddField(streamName, name string, fieldType arrow.DataType, driverType string)
- func (s *StreamSchemaObj) FakeEvolve()
- func (s *StreamSchemaObj) GetLatestSchema() []StreamSchema
- func (s *StreamSchemaObj) RemoveField(streamName, columnName string)
- func (s *StreamSchemaObj) RemoveFields(streamName string, columnNames []string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StreamSchema ¶
StreamSchema represents YAML configuration of the source plugin schema. It's used to build Apache Arrow schema from this definition
func (*StreamSchema) AsArrow ¶
func (s *StreamSchema) AsArrow() *arrow.Schema
func (*StreamSchema) SortColumnsAsc ¶
func (s *StreamSchema) SortColumnsAsc()
type StreamSchemaObj ¶
type StreamSchemaObj struct {
// contains filtered or unexported fields
}
func NewStreamSchemaObj ¶
func NewStreamSchemaObj(s []StreamSchema) *StreamSchemaObj
func (*StreamSchemaObj) AddField ¶
func (s *StreamSchemaObj) AddField(streamName, name string, fieldType arrow.DataType, driverType string)
func (*StreamSchemaObj) FakeEvolve ¶
func (s *StreamSchemaObj) FakeEvolve()
func (*StreamSchemaObj) GetLatestSchema ¶
func (s *StreamSchemaObj) GetLatestSchema() []StreamSchema
func (*StreamSchemaObj) RemoveField ¶
func (s *StreamSchemaObj) RemoveField(streamName, columnName string)
func (*StreamSchemaObj) RemoveFields ¶
func (s *StreamSchemaObj) RemoveFields(streamName string, columnNames []string)
Click to show internal directories.
Click to hide internal directories.