(b byte)
| 56 | } |
| 57 | |
| 58 | func getColumnEncodingByByte(b byte) (ColumnEncoding, error) { |
| 59 | encoding, exists := byteToEncoding[b] |
| 60 | if !exists { |
| 61 | return INT32_ARRAY_COLUMN_ENCODING, fmt.Errorf("invalid value: %v", b) |
| 62 | } |
| 63 | return encoding, nil |
| 64 | } |
| 65 | |
| 66 | type Column interface { |
| 67 | GetDataType() TSDataType |
no outgoing calls
no test coverage detected
searching dependent graphs…