Enums | |
---|---|
COLUMN_DATA_TYPE_UNSPECIFIED |
Default enum value, no effect on types. Do not use. |
COLUMN_DATA_TYPE_STRING |
The associated column should be treated as a string (in the same encoding as the input file, if the file is CSV). Useful if the column is auto-detected as numeric. |
COLUMN_DATA_TYPE_NUMERIC |
The associated column should be treated as a numeric (useful for columns with no data, which become strings by default). |
COLUMN_DATA_TYPE_LONG |
The associated column should be treated as a long. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-06-05 UTC.
[null,null,["Last updated 2024-06-05 UTC."],[[["Enums specify the data type of a column in a dataset."],["`COLUMN_DATA_TYPE_STRING`, `COLUMN_DATA_TYPE_NUMERIC`, and `COLUMN_DATA_TYPE_LONG` enums enforce specific data type interpretations for columns."],["`COLUMN_DATA_TYPE_UNSPECIFIED` is a default value with no effect and should be avoided."],["These enums can be particularly useful for overriding auto-detected data types or handling columns with missing data."]]],[]]