Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dependency ¶
type Dependency struct { Name string `json:"name,omitempty"` Value DependencyValue `json:"value,omitempty"` }
type DependencyList ¶
type DependencyList []Dependency
func (DependencyList) ToMap ¶
func (dl DependencyList) ToMap() DependencyMap
type DependencyMap ¶
type DependencyValue ¶
type DependencyValue struct {
ReferenceName string `json:"__dr,omitempty"`
}
type LightSpeedData ¶
type LightSpeedData struct { Name string `json:"name"` Steps interface{} `json:"step"` }
type LightSpeedDecoder ¶
type LightSpeedDecoder struct { Table any // struct that contains pointers to all the dependencies/stores Dependencies DependencyMap StatementReferences map[int]any }
func NewLightSpeedDecoder ¶
func NewLightSpeedDecoder(dependencies DependencyMap, table any) *LightSpeedDecoder
func (*LightSpeedDecoder) Decode ¶
func (ls *LightSpeedDecoder) Decode(data interface{}) interface{}
pass the LightSpeedData.Steps to this function
type StepType ¶
type StepType int
const ( BLOCK StepType = 1 LOAD StepType = 2 STORE StepType = 3 STORE_ARRAY StepType = 4 CALL_STORED_PROCEDURE StepType = 5 CALL_NATIVE_TYPE_OPERATION StepType = 6 CALL_NATIVE_OPERATION StepType = 7 LIST StepType = 8 UNDEFINED StepType = 9 INFINITY StepType = 10 NAN StepType = 11 RETURN StepType = 12 BOOL_TO_STR StepType = 13 BLOBS_TO_STRING StepType = 14 BLOBS_OF_STRING StepType = 15 TO_BLOB StepType = 16 I64_OF_FLOAT StepType = 17 I64_TO_FLOAT StepType = 18 I64_FROM_STRING StepType = 19 I64_TO_STRING StepType = 20 READ_GK StepType = 21 READ_QE StepType = 22 IF StepType = 23 OR StepType = 24 AND StepType = 25 NOT StepType = 26 IS_NULL StepType = 27 ENFORCE_NOT_NULL StepType = 28 GENERIC_EQUAL StepType = 29 I64_EQUAL StepType = 30 BLOB_EQUAL StepType = 31 GENERIC_NOT_EQUAL StepType = 32 I64_NOT_EQUAL StepType = 33 BLOB_NOT_EQUAL StepType = 34 GENERIC_GREATER_THAN StepType = 35 I64_GREATER_THAN StepType = 36 BLOB_GREATER_THAN StepType = 37 GENERIC_GREATER_THAN_OR_EQUAL StepType = 38 I64_GREATER_THAN_OR_EQUAL StepType = 39 BLOB_GREATER_THAN_OR_EQUAL StepType = 40 GENERIC_LESS_THAN StepType = 41 I64_LESS_THAN StepType = 42 BLOB_LESS_THAN StepType = 43 GENERIC_LESS_THAN_OR_EQUAL StepType = 44 I64_LESS_THAN_OR_EQUAL StepType = 45 BLOB_LESS_THAN_OR_EQUAL StepType = 46 THROW StepType = 47 LOG_CONSOLE StepType = 48 LOGGER_LOG StepType = 49 NATIVE_OP_ARRAY_CREATE StepType = 50 NATIVE_OP_ARRAY_APPEND StepType = 51 NATIVE_OP_ARRAY_GET_SIZE StepType = 52 NATIVE_OP_MAP_CREATE StepType = 53 NATIVE_OP_MAP_GET StepType = 54 NATIVE_OP_MAP_SET StepType = 55 NATIVE_OP_MAP_KEYS StepType = 56 NATIVE_OP_MAP_DELETE StepType = 57 NATIVE_OP_MAP_HAS StepType = 58 NATIVE_OP_STR_JOIN StepType = 59 NATIVE_OP_CURRENT_TIME StepType = 60 NATIVE_OP_JSON_STRINGIFY StepType = 61 NATIVE_OP_RNG_NUM StepType = 62 NATIVE_OP_LOCALIZATION_SUPPORTED StepType = 63 NATIVE_OP_LOCALIZATION_SUPPORTED_V2 StepType = 64 NATIVE_OP_RESOLVE_LOCALIZED StepType = 65 NATIVE_OP_RESOLVE_LOCALIZED_V2 StepType = 66 ADD StepType = 68 I64_ADD StepType = 69 I64_CAST StepType = 70 READ_JUSTKNOB StepType = 71 READ_IGGK StepType = 72 GET_RUN_MODE StepType = 73 STR_TRIM StepType = 74 STR_REPLACE StepType = 75 JOIN StepType = 76 STR_LIKE StepType = 77 LENGTH StepType = 78 IN StepType = 79 IN_VEC StepType = 80 SUB StepType = 81 MUL StepType = 82 DIV StepType = 83 MOD StepType = 84 I64_SUB StepType = 85 I64_MUL StepType = 86 I64_DIV StepType = 87 I64_MOD StepType = 88 I64_IN StepType = 89 I64_IN_VEC StepType = 90 BITWISE_LEFT_SHIFT StepType = 91 BITWISE_RIGHT_SHIFT StepType = 92 ARITHMETIC_RIGHT_SHIFT StepType = 93 BITWISE_AND StepType = 94 BITWISE_OR StepType = 95 BITWISE_XOR StepType = 96 TERNARY StepType = 97 XOR StepType = 98 NULLISH_COALESE StepType = 99 READ_COLUMN StepType = 100 READ_COLUMN_REF StepType = 101 READ_GROUP_COUNT StepType = 102 COMMENT StepType = 103 IMPORT StepType = 104 LOOP StepType = 105 QUERY_COMPARISON_EQUAL StepType = 106 QUERY_COMPARISON_NOT_EQUAL StepType = 107 QUERY_COMPARISON_GREATER_THAN StepType = 108 QUERY_COMPARISON_GREATER_THAN_OR_EQUAL StepType = 109 QUERY_COMPARISON_LESS_THAN StepType = 110 QUERY_COMPARISON_LESS_THAN_OR_EQUAL StepType = 111 QUERY_MERGE_CONSTRAINTS StepType = 112 QUERY_FETCH_ROWS StepType = 113 QUERY_FILTER_ROWS StepType = 114 QUERY_SORT_ROWS_BY StepType = 115 QUERY_DELETE_ROWS StepType = 116 QUERY_SLICE_ROWS StepType = 117 QUERY_COUNT_ROWS StepType = 118 QUERY_PEEK_NEXT_ROW_ID StepType = 119 QUERY_UPDATE_ROWS StepType = 120 QUERY_INSERT_ROWS StepType = 121 QUERY_PUT_ROWS StepType = 122 QUERY_FOREACH_ROW StepType = 123 QUERY_SELECT_MATCH_ROW StepType = 124 QUERY_CURSOR_SLICE StepType = 125 QUERY_GROUP_BY StepType = 126 )
Click to show internal directories.
Click to hide internal directories.