属性的dataType有映射信息吗?
Is there a mapping information for dataType of property?
我是一名使用 Autodesk Forge 的开发人员。
现在我从 Forge API 下载的 SQLite 中获得了属性数据。
我想将这些数据插入到 Elasticsearch 中,所以我想知道每个值的数据类型。
在属性数据中,我可以找到 dataType 但它有一个整数值。
我不能用数字来判断他们。
dataType字段有映射信息吗?
请检查,但不是所有的都支持。
enum AttributeType {
/* Numeric types */
Unknown = 0,
Boolean,
Integer,
Double,
/* Special types */
BLOB = 10,
DbKey, /* reprensets a link to another object in the database, using database internal ID */
/* String types */
String = 20,
LocalizableString,
DateTime, /* ISO 8601 date */
GeoLocation, /* LatLonHeight - ISO6709 Annex H string, e.g: "+27.5916+086.5640+8850/" for Mount Everest */
Position /* "x y z w" space separated string representing vector with 2,3 or 4 elements*/
};
我是一名使用 Autodesk Forge 的开发人员。 现在我从 Forge API 下载的 SQLite 中获得了属性数据。 我想将这些数据插入到 Elasticsearch 中,所以我想知道每个值的数据类型。 在属性数据中,我可以找到 dataType 但它有一个整数值。 我不能用数字来判断他们。
dataType字段有映射信息吗?
请检查
enum AttributeType {
/* Numeric types */
Unknown = 0,
Boolean,
Integer,
Double,
/* Special types */
BLOB = 10,
DbKey, /* reprensets a link to another object in the database, using database internal ID */
/* String types */
String = 20,
LocalizableString,
DateTime, /* ISO 8601 date */
GeoLocation, /* LatLonHeight - ISO6709 Annex H string, e.g: "+27.5916+086.5640+8850/" for Mount Everest */
Position /* "x y z w" space separated string representing vector with 2,3 or 4 elements*/
};