Skip to main content

Interface: SemTypeInfo

dg.SemTypeInfo

Metadata associated with the semantic type.

Properties

columnNameRegexp

Optional columnNameRegexp: string

Regular expression to check against the column name Used for the automatic detection of semantic data types.

Defined in

src/const.ts:689


description

description: string

Semantic type description (shown in tooltips, etc)

Defined in

src/const.ts:680


itemType

Optional itemType: "string" | "bigint" | "object" | "int" | "double" | "bool" | "byte_array" | "datetime" | "qnum" | "dataframe"

Specifies the value data type. For example, the itemType for semantic type Molecule is String. Used for the automatic detection of semantic data types.

Defined in

src/const.ts:685


name

name: string

Semantic type id

Defined in

src/const.ts:677


valueRegexp

Optional valueRegexp: string

Regular expression to check against the values (only applies to strings) Used for the automatic detection of semantic data types.

Defined in

src/const.ts:693