Documentation ¶
Index ¶
- func DefaultRowSort(rowMap map[string]map[string]interface{}) []string
- func DescribeRowSort(payload map[string]map[string]interface{}) []string
- func EmptyProtectResultSet(rv internaldto.ExecutorOutput, columns []string, typCfg typing.Config) internaldto.ExecutorOutput
- func ExtractSQLNodeParams(statement sqlparser.SQLNode, insertValOnlyRows map[int]map[int]interface{}) (map[int]map[string]interface{}, error)
- func GenerateSimpleErroneousOutput(err error, typCfg typing.Config) internaldto.ExecutorOutput
- func GetFilePathFromRepositoryRoot(relativePath string) (string, error)
- func GetForwardSlashFilePathFromRepositoryRoot(relativePath string) (string, error)
- func GetHeaderOnlyResultStream(colz []string, typCfg typing.Config) sqldata.ISQLResultStream
- func MaxMapKey(numbers map[int]interface{}) int
- func PrepareResultSet(payload internaldto.PrepareResultSetDTO) internaldto.ExecutorOutput
- func TransformSQLRawParameters(input map[string]interface{}) (map[string]interface{}, error)
- func TrimSelectItemsKey(selectItemsKey string) string
- type AnnotatedTabulation
- type Column
- type TableSchemaAnalyzer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultRowSort ¶
func DescribeRowSort ¶
func EmptyProtectResultSet ¶
func EmptyProtectResultSet( rv internaldto.ExecutorOutput, columns []string, typCfg typing.Config, ) internaldto.ExecutorOutput
func ExtractSQLNodeParams ¶
func GenerateSimpleErroneousOutput ¶
func GenerateSimpleErroneousOutput( err error, typCfg typing.Config, ) internaldto.ExecutorOutput
func GetHeaderOnlyResultStream ¶
func GetHeaderOnlyResultStream( colz []string, typCfg typing.Config, ) sqldata.ISQLResultStream
func PrepareResultSet ¶
func PrepareResultSet( payload internaldto.PrepareResultSetDTO, ) internaldto.ExecutorOutput
func TrimSelectItemsKey ¶ added in v0.5.589
Types ¶
type AnnotatedTabulation ¶
type AnnotatedTabulation interface { GetAlias() string GetHeirarchyIdentifiers() internaldto.HeirarchyIdentifiers GetInputTableName() string GetSQLDataSource() (sql_datasource.SQLDataSource, bool) GetTabulation() anysdk.Tabulation SetSQLDataSource(sql_datasource.SQLDataSource) WithParameters(parameters map[string]interface{}) AnnotatedTabulation GetParameters() map[string]interface{} }
func NewAnnotatedTabulation ¶
func NewAnnotatedTabulation( tab anysdk.Tabulation, hIds internaldto.HeirarchyIdentifiers, inputTableName string, alias string, ) AnnotatedTabulation
type TableSchemaAnalyzer ¶
type TableSchemaAnalyzer interface { GetColumns() ([]Column, error) GetColumnDescriptors(AnnotatedTabulation) ([]anysdk.ColumnDescriptor, error) }
func NewTableSchemaAnalyzer ¶
func NewTableSchemaAnalyzer(s anysdk.Schema, m anysdk.OperationStore) TableSchemaAnalyzer
Click to show internal directories.
Click to hide internal directories.