View a markdown version of this page

DFE での Gremlin ステップカバレッジ - Amazon Neptune

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

DFE での Gremlin ステップカバレッジ

Gremlin DFE は実験的な機能であり、インスタンスパラメータを有効にするか、Neptune#useDFEクエリヒントを使用して使用できます。詳細については、「Neptune DFE クエリエンジンでの Gremlin の使用」を参照してください。

次の手順は Gremlin DFE で使用できます。

パスとトラバーサルステップ:

asDate()barrier()call()cap()dateAdd()dateDiff()disjunct()drop()fail()filter()flatMap()id()identity()index()intersect()inject()label()length()loop()map()order()order(local)path()project()range()repeat()reverse()sack()sample()select()sideEffect()split()unfold()union()

集約と収集のステップ:

aggregate(global)combine()count()dedup()dedup(local)fold()group()groupCount()

数学的なステップ:

max()mean()min()sum()

要素ステップ:

otherV()elementMap()element()v() out()、in()、both()、outE()、inE()、bothE()、outV()、inV()、bothV()、otherV()

プロパティステップ:

properties()key()valueMap()value()

フィルターステップ:

and()coalesce()coin()has()is()local()none()not()or()where()

文字列操作ステップ:

concat()lTrim()rTrim()substring()toLower()toUpper()trim()

述語:

制限事項

制限付きで繰り返し、繰り返しトラバーサルと重複排除内のラベルは DFE ではまだサポートされていません。

// With Limit inside the repeat traversal g.V().has('code','AGR').repeat(out().limit(5)).until(has('code','FRA')) // With Labels inside the repeat traversal g.V().has('code','AGR').repeat(out().as('a')).until(has('code','FRA')) // With Dedup inside the repeat traversal g.V().has('code','AGR').repeat(out().dedup()).until(has('code','FRA'))

ネストされた繰り返しを含むパス、または分岐ステップはまだサポートされていません。

// Path with branching steps g.V().has('code','AGR').union(identity, outE().inV()).path().by('code') // With nested repeat g.V().has('code','AGR').repeat(out().union(identity(), out())).path().by('code')