Skip to content

Attribute Types

Supported types

  • Boolean - True / False
  • Byte - 8bit
  • Short - 16bit
  • Int - 32bit
  • Long - 64bit
  • HugeInt - 128bit or larger integers
  • Float
  • Double
  • Decimal(P, S)
  • String
  • Date
  • DateTime
  • Array<T> - Collection of elements of type T

Type mapping

Type Gremlin Java Type Iceberg Hudi Databricks SQL / Delta lake ClickHouse
Boolean java.lang.Boolean boolean boolean BOOLEAN Boolean
Byte java.lang.Byte - - TINYINT Int8
Short java.lang.Short - - SMALLINT Int16, UInt8
Int java.lang.Integer int int INT Int32, UInt16, Nullable(Int32)
Long java.lang.Long long long BIGINT Int64, UInt32
HugeInt java.math.BigInteger - - - UInt64
Float java.lang.Float float float FLOAT Float32
Double java.lang.Double double double DOUBLE Float64
Decimal(P, S) java.math.BigDecimal decimal(P, S) decimal DECIMAL(P, S) Decimal(P, S), Decimal32(S), Decimal64(S), Decimal128(S)
String java.lang.String string string VARCHAR / STRING / ... String, FixedString, Enum8, Enum16, UUID, LowCardinality(String)
Date java.time.LocalDate date date DATE Date, Date32
DateTime java.time.LocalDateTime timestamp - TIMESTAMP_NTZ DateTime, DateTime64
Array<T> java.util.List - - - Array(T), Nested