Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildFieldType ¶
BuildFieldType build a field type from big query schema
func BuildSchemaTypes ¶
BuildSchemaTypes build type matching table schema
Types ¶
type FieldType ¶
type FieldType string
FieldType is the type of field.
const ( // FieldTypeString is a string field type. FieldTypeString FieldType = "STRING" // FieldTypeBytes is a bytes field type. FieldTypeBytes FieldType = "BYTES" // FieldTypeInteger is a integer field type. FieldTypeInteger FieldType = "INTEGER" // FieldTypeFloat is a float field type. FieldTypeFloat FieldType = "FLOAT" // FieldTypeBoolean is a boolean field type. FieldTypeBoolean FieldType = "BOOLEAN" // FieldTypeTimestamp is a timestamp field type. FieldTypeTimestamp FieldType = "TIMESTAMP" // FieldTypeRecord is a record field type. FieldTypeRecord FieldType = "RECORD" // FieldTypeDate is a date field type. FieldTypeDate FieldType = "DATE" // FieldTypeTime is a time field type. FieldTypeTime FieldType = "TIME" // FieldTypeDateTime is a datetime field type. FieldTypeDateTime FieldType = "DATETIME" // FieldTypeNumeric is a numeric field type. FieldTypeNumeric FieldType = "NUMERIC" // FieldTypeBigNumeric is a numeric field type that supports values of larger precision FieldTypeBigNumeric FieldType = "BIGNUMERIC" )
Click to show internal directories.
Click to hide internal directories.