Documentation ¶
Index ¶
- type SimpleTransformer
- func (s *SimpleTransformer) Apply(items []abstract.ChangeItem) abstract.TransformerResult
- func (s *SimpleTransformer) Description() string
- func (s *SimpleTransformer) ResultSchema(original *abstract.TableSchema) (*abstract.TableSchema, error)
- func (s *SimpleTransformer) Suitable(table abstract.TableID, schema *abstract.TableSchema) bool
- func (s *SimpleTransformer) Type() abstract.TransformerType
- type SimpleTransformerApplyUDF
- type SimpleTransformerSuitableUDF
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SimpleTransformer ¶
type SimpleTransformer struct {
// contains filtered or unexported fields
}
func NewSimpleTransformer ¶
func NewSimpleTransformer(t *testing.T, applyUdf SimpleTransformerApplyUDF, suitableUdf SimpleTransformerSuitableUDF) *SimpleTransformer
func (*SimpleTransformer) Apply ¶
func (s *SimpleTransformer) Apply(items []abstract.ChangeItem) abstract.TransformerResult
func (*SimpleTransformer) Description ¶
func (s *SimpleTransformer) Description() string
func (*SimpleTransformer) ResultSchema ¶
func (s *SimpleTransformer) ResultSchema(original *abstract.TableSchema) (*abstract.TableSchema, error)
func (*SimpleTransformer) Suitable ¶
func (s *SimpleTransformer) Suitable(table abstract.TableID, schema *abstract.TableSchema) bool
func (*SimpleTransformer) Type ¶
func (s *SimpleTransformer) Type() abstract.TransformerType
type SimpleTransformerApplyUDF ¶
type SimpleTransformerApplyUDF func(*testing.T, []abstract.ChangeItem) abstract.TransformerResult
type SimpleTransformerSuitableUDF ¶
type SimpleTransformerSuitableUDF func(abstract.TableID, abstract.TableColumns) bool
Click to show internal directories.
Click to hide internal directories.