AddSemanticRule

gRPC · Database service

UNARY

Map a schema to a graph node label or edge relationship for semantic querying.

/shrikedb.v2.ShrikeDbService/AddSemanticRule

Request fields

Protocol fieldTypeJSON field
schema_iduint64schemaId
semantic_typeSemanticTypesemanticType

Response contract

Open AddSemanticRuleResponse for every field, enum, nested message, and presence rule. Check the RPC status and any outcome fields in the response.

Connection and availability

Use the selected database and caller credentials from your deployment. Feature settings, permissions, snapshot support, and HA restrictions govern whether an operation can execute. See authentication and wire encoding for metadata, deadlines, and retry behavior.