Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DataType_name = map[int32]string{ 0: "DataType_UNSPECIFIED", 1: "BOOL", 2: "INT8", 3: "INT16", 4: "INT32", 5: "INT64", 6: "FLOAT32", 7: "FLOAT64", 8: "INT", 9: "INTEGER", 10: "FLOAT", 11: "DOUBLE", 12: "STRING", 13: "STR", 14: "DATETIME", 15: "TIMESTAMP", } DataType_value = map[string]int32{ "DataType_UNSPECIFIED": 0, "BOOL": 1, "INT8": 2, "INT16": 3, "INT32": 4, "INT64": 5, "FLOAT32": 6, "FLOAT64": 7, "INT": 8, "INTEGER": 9, "FLOAT": 10, "DOUBLE": 11, "STRING": 12, "STR": 13, "DATETIME": 14, "TIMESTAMP": 15, } )
Enum value maps for DataType.
View Source
var File_api_v1_column_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type DataType ¶
type DataType int32
Column Data Type Column DataType values are subset of [data types in secretflow spec](https://github.com/secretflow/spec/blob/main/secretflow/spec/v1/data.proto#L116)
const ( DataType_DataType_UNSPECIFIED DataType = 0 DataType_BOOL DataType = 1 // reserved datatype, not supported yet, use INT32 instead DataType_INT8 DataType = 2 // reserved datatype, not supported yet, use INT32 instead DataType_INT16 DataType = 3 // reserved datatype, not supported yet, use INT32 instead DataType_INT32 DataType = 4 DataType_INT64 DataType = 5 DataType_FLOAT32 DataType = 6 DataType_FLOAT64 DataType = 7 DataType_INT DataType = 8 // alias for INT32 DataType_INTEGER DataType = 9 // alias for INT32 DataType_FLOAT DataType = 10 // alias for FLOAT32 DataType_DOUBLE DataType = 11 // alias for FLOAT64 DataType_STRING DataType = 12 DataType_STR DataType = 13 // alias for STRING DataType_DATETIME DataType = 14 DataType_TIMESTAMP DataType = 15 )
func (DataType) Descriptor ¶
func (DataType) Descriptor() protoreflect.EnumDescriptor
func (DataType) EnumDescriptor
deprecated
func (DataType) Number ¶
func (x DataType) Number() protoreflect.EnumNumber
func (DataType) Type ¶
func (DataType) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.