Vertex

The vertex schema defines how PuppyGraph vertex maps to the catalog.

FieldTypeDescription

label

string

A user-provided name for reference in edges and queries

mappedTableSource

MappedTableSourceSchema

Specifies how vertex maps to catalog

attributes

[]AttributeSchema

Specifies additional attribute for queries.

MappedTableSourceSchema

FieldTypeDescription

catalog

string

Catalog name matches the specified catalog schema.

schema

string

Schema name matches the schema inside the catalog.

table

string

Table name matches the table inside the catalog.

metaFields

{"id": "string_value"}

The vertex id fields inside the data source table. The id field must be string and unique.

AttributeSchema

name

string

The field name. The name must match the field name inside the data source table.

type

string

The data type of the attribute. Please refer to the Attribute Types for specifications.

Last updated