| 311 | DUCKDB_API static LogicalType Deserialize(Deserializer& source); |
| 312 | |
| 313 | DUCKDB_API static bool TypeIsTimestamp(LogicalTypeId id) { |
| 314 | return (id == LogicalTypeId::TIMESTAMP || id == LogicalTypeId::TIMESTAMP_MS || |
| 315 | id == LogicalTypeId::TIMESTAMP_NS || id == LogicalTypeId::TIMESTAMP_SEC || |
| 316 | id == LogicalTypeId::TIMESTAMP_TZ); |
| 317 | } |
| 318 | DUCKDB_API static bool TypeIsTimestamp(const LogicalType& type) { return TypeIsTimestamp(type.id()); } |
| 319 | DUCKDB_API string ToString() const; |
| 320 | DUCKDB_API bool IsIntegral() const; |