跳转到主要内容

替代的图形解析语言和REPL,用于DataStax Enterprise (DSE)

项目描述

# Firehawk

实验性语言和REPL

# 安装

pip安装firehawk

您还需要DSE图形驱动程序。现在由您自己决定。

# 代码示例

> from firehawk import parse_line > query = parse_line(“CREATE VERTEX person”)

> type(query) firehawk.ddl.CreateVertex

> print query schema = graph.schema() schema.buildVertexLabel(‘person’).add()

# REPL

此软件包提供了一个REPL。

graph [name]

# 支持的语法

create graph [graph] use [graph] create vertex [label] create edge [label] create property [name] [type] CREATE [materialized|secondary|search] INDEX [name] ON VERTEX [label]([field]) CREATE [in|out] INDEX [name] ON VERTEX [vertex-label] ON EDGE [edge-label]([edge-property])

项目详情


下载文件

下载适合您平台的文件。如果您不确定选择哪个,请了解更多关于安装包的信息。

源分发

firehawk-0.3.tar.gz (9.8 kB 查看散列)

上传时间:

由以下支持

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误记录 StatusPage StatusPage 状态页面