公告:所有在
2025 年 4 月 15 日之前注册使用 Earth Engine 的非商业项目都必须
验证是否符合非商业性质的资格条件,才能继续使用 Earth Engine。
CsvColumnDataType
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
枚举 |
CSV_COLUMN_DATA_TYPE_UNSPECIFIED |
默认枚举值,对类型没有影响。请勿使用。 |
CSV_COLUMN_DATA_TYPE_STRING |
关联的列应视为与 CSV 文件采用相同编码的字符串(如果系统自动检测到该列为数值,此设置会非常有用)。 |
CSV_COLUMN_DATA_TYPE_NUMERIC |
关联的列应被视为数值(对于没有数据的列非常有用,这些列默认会变为字符串)。 |
CSV_COLUMN_DATA_TYPE_LONG |
关联的列应视为 long。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\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. |"]]