Documentation
      ¶
    
    
  
    
  
    Index ¶
- Variables
 - func AnyValueReturnType(typs []types.Type) types.Type
 - func AvgReturnType(typs []types.Type) types.Type
 - func BitAndReturnType(typs []types.Type) types.Type
 - func BitmapConstructReturnType(_ []types.Type) types.Type
 - func MaxReturnType(typs []types.Type) types.Type
 - func MinReturnType(typs []types.Type) types.Type
 - func RegisterAnyValue2(id int64)
 - func RegisterApproxCount(id int64)
 - func RegisterAvg2(id int64)
 - func RegisterBitAnd2(id int64)
 - func RegisterBitOr2(id int64)
 - func RegisterBitXor2(id int64)
 - func RegisterBitmapConstruct2(id int64)
 - func RegisterBitmapOr2(id int64)
 - func RegisterClusterCenters(id int64)
 - func RegisterCountColumn(id int64)
 - func RegisterCountStar(id int64)
 - func RegisterDenseRank(id int64)
 - func RegisterGroupConcat(id int64)
 - func RegisterMax2(id int64)
 - func RegisterMedian(id int64)
 - func RegisterMin2(id int64)
 - func RegisterRank(id int64)
 - func RegisterRowNumber(id int64)
 - func RegisterStdDevPop2(id int64)
 - func RegisterSum2(id int64)
 - func RegisterVarPop2(id int64)
 - func VarPopReturnType(typs []types.Type) types.Type
 
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
    var ( SumSupportedTypes = []types.T{ types.T_bit, types.T_uint8, types.T_uint16, types.T_uint32, types.T_uint64, types.T_int8, types.T_int16, types.T_int32, types.T_int64, types.T_float32, types.T_float64, types.T_decimal64, types.T_decimal128, } SumReturnType = func(typs []types.Type) types.Type { switch typs[0].Oid { case types.T_float32, types.T_float64: return types.T_float64.ToType() case types.T_int8, types.T_int16, types.T_int32, types.T_int64: return types.T_int64.ToType() case types.T_uint8, types.T_uint16, types.T_uint32, types.T_uint64: return types.T_uint64.ToType() case types.T_bit: return types.T_uint64.ToType() case types.T_decimal64: return types.New(types.T_decimal128, 38, typs[0].Scale) case types.T_decimal128: return types.New(types.T_decimal128, 38, typs[0].Scale) } panic(moerr.NewInternalErrorNoCtx("unsupported type '%v' for sum", typs[0])) } )
      View Source
      
  
    var AnyValueSupportedTypes = []types.T{ types.T_uint8, types.T_uint16, types.T_uint32, types.T_uint64, types.T_int8, types.T_int16, types.T_int32, types.T_int64, types.T_float32, types.T_float64, types.T_date, types.T_datetime, types.T_timestamp, types.T_time, types.T_decimal64, types.T_decimal128, types.T_bool, types.T_bit, types.T_varchar, types.T_char, types.T_blob, types.T_text, types.T_uuid, types.T_binary, types.T_varbinary, types.T_Rowid, }
      View Source
      
  
    var AvgSupportedTypes = []types.T{ types.T_bit, types.T_uint8, types.T_uint16, types.T_uint32, types.T_uint64, types.T_int8, types.T_int16, types.T_int32, types.T_int64, types.T_float32, types.T_float64, types.T_decimal64, types.T_decimal128, }
      View Source
      
  
    var BitAndSupportedParameters = []types.T{ types.T_uint8, types.T_uint16, types.T_uint32, types.T_uint64, types.T_int8, types.T_int16, types.T_int32, types.T_int64, types.T_float32, types.T_float64, types.T_binary, types.T_varbinary, types.T_bit, }
      View Source
      
  
    var BitmapConstructSupportedTypes = []types.T{ types.T_uint64, }
      View Source
      
  
    var BitmapOrReturnType = BitmapConstructReturnType
    
      View Source
      
  
    var BitmapOrSupportedTypes = []types.T{ types.T_varbinary, }
      View Source
      
  
    var MaxSupportedTypes = []types.T{ types.T_uint8, types.T_uint16, types.T_uint32, types.T_uint64, types.T_int8, types.T_int16, types.T_int32, types.T_int64, types.T_float32, types.T_float64, types.T_date, types.T_datetime, types.T_timestamp, types.T_time, types.T_decimal64, types.T_decimal128, types.T_bool, types.T_bit, types.T_varchar, types.T_char, types.T_blob, types.T_text, types.T_uuid, types.T_binary, types.T_varbinary, }
      View Source
      
  
    
  
var MinSupportedTypes = []types.T{ types.T_uint8, types.T_uint16, types.T_uint32, types.T_uint64, types.T_int8, types.T_int16, types.T_int32, types.T_int64, types.T_float32, types.T_float64, types.T_date, types.T_datetime, types.T_timestamp, types.T_time, types.T_decimal64, types.T_decimal128, types.T_bool, types.T_bit, types.T_varchar, types.T_char, types.T_blob, types.T_text, types.T_uuid, types.T_binary, types.T_varbinary, }
Functions ¶
func RegisterAnyValue2 ¶ added in v1.2.1
func RegisterAnyValue2(id int64)
func RegisterApproxCount ¶
func RegisterApproxCount(id int64)
func RegisterAvg2 ¶ added in v1.2.1
func RegisterAvg2(id int64)
func RegisterBitAnd2 ¶ added in v1.2.1
func RegisterBitAnd2(id int64)
func RegisterBitOr2 ¶ added in v1.2.1
func RegisterBitOr2(id int64)
func RegisterBitXor2 ¶ added in v1.2.1
func RegisterBitXor2(id int64)
func RegisterBitmapConstruct2 ¶ added in v1.2.1
func RegisterBitmapConstruct2(id int64)
func RegisterBitmapOr2 ¶ added in v1.2.1
func RegisterBitmapOr2(id int64)
func RegisterClusterCenters ¶
func RegisterClusterCenters(id int64)
func RegisterCountColumn ¶
func RegisterCountColumn(id int64)
func RegisterCountStar ¶
func RegisterCountStar(id int64)
func RegisterDenseRank ¶
func RegisterDenseRank(id int64)
func RegisterGroupConcat ¶
func RegisterGroupConcat(id int64)
func RegisterMax2 ¶ added in v1.2.1
func RegisterMax2(id int64)
func RegisterMedian ¶
func RegisterMedian(id int64)
func RegisterMin2 ¶ added in v1.2.1
func RegisterMin2(id int64)
func RegisterRank ¶
func RegisterRank(id int64)
func RegisterRowNumber ¶
func RegisterRowNumber(id int64)
func RegisterStdDevPop2 ¶ added in v1.2.1
func RegisterStdDevPop2(id int64)
func RegisterSum2 ¶ added in v1.2.1
func RegisterSum2(id int64)
func RegisterVarPop2 ¶ added in v1.2.1
func RegisterVarPop2(id int64)
Types ¶
This section is empty.
 Click to show internal directories. 
   Click to hide internal directories.