Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
CsvColumnDataType
Stay organized with collections
Save and categorize content based on your preferences.
Use ColumnDataType instead
Enums |
CSV_COLUMN_DATA_TYPE_UNSPECIFIED |
Default enum value, no effect on types. Do not use. |
CSV_COLUMN_DATA_TYPE_STRING |
The associated column should be treated as a string in the same encoding as the CSV file (useful if the column is auto-detected as numeric). |
CSV_COLUMN_DATA_TYPE_NUMERIC |
The associated column should be treated as a numeric (useful for columns with no data, which become strings by default). |
CSV_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."],[[["\u003cp\u003eThis item, \u003ccode\u003eCSVColumnDataType\u003c/code\u003e, is deprecated and should no longer be used.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers should utilize \u003ccode\u003eColumnDataType\u003c/code\u003e instead of \u003ccode\u003eCSVColumnDataType\u003c/code\u003e for specifying column types.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCSVColumnDataType\u003c/code\u003e included options for treating columns as strings, numeric, or long data types.\u003c/p\u003e\n"],["\u003cp\u003eUsing the default \u003ccode\u003eCSV_COLUMN_DATA_TYPE_UNSPECIFIED\u003c/code\u003e enum value has no effect and should be avoided.\u003c/p\u003e\n"]]],["The provided information outlines deprecated item and lists available options for `ColumnDataType`. These options include `CSV_COLUMN_DATA_TYPE_UNSPECIFIED` (default, not for use), `CSV_COLUMN_DATA_TYPE_STRING` (forces string interpretation), `CSV_COLUMN_DATA_TYPE_NUMERIC` (forces numeric), and `CSV_COLUMN_DATA_TYPE_LONG` (forces long data type). These specify how a CSV column should be treated, allowing overrides of automatic detection. `ColumnDataType` is the recommended alternative.\n"],null,["# CsvColumnDataType\n\n| This item is deprecated!\nUse ColumnDataType instead\n\n| Enums ||\n|------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------|\n| `CSV_COLUMN_DATA_TYPE_UNSPECIFIED` | Default enum value, no effect on types. Do not use. |\n| `CSV_COLUMN_DATA_TYPE_STRING` | The associated column should be treated as a string in the same encoding as the CSV file (useful if the column is auto-detected as numeric). |\n| `CSV_COLUMN_DATA_TYPE_NUMERIC` | The associated column should be treated as a numeric (useful for columns with no data, which become strings by default). |\n| `CSV_COLUMN_DATA_TYPE_LONG` | The associated column should be treated as a long. |"]]