View a markdown version of this page

Copertura dei passaggi Gremlin in DFE - Amazon Neptune

Le traduzioni sono generate tramite traduzione automatica. In caso di conflitto tra il contenuto di una traduzione e la versione originale in Inglese, quest'ultima prevarrà.

Copertura dei passaggi Gremlin in DFE

Gremlin DFE è una funzionalità sperimentale e può essere utilizzata abilitando il parametro instance o utilizzando il suggerimento di interrogazione. Neptune#useDFE Per ulteriori informazioni, fare riferimento a Uso di Gremlin con il motore di interrogazione Neptune DFE.

I seguenti passaggi sono disponibili per l'uso in Gremlin DFE.

Percorso e fasi di attraversamento:

asDate (), barrier (), call (), cap (), dateAdd (), dateDiff (), disjunct (), drop (), fail (), filter (), flatMap (), id (), identity (), index (), index (), intersect (), inject (), label (), https://tinkerpop.apache.org/docs/current/reference/#inject-step https://tinkerpop.apache.org/docs/current/reference/#label-step length (), loops (), map (), order (), order (), order (), path (), project (), range (), repeat (), repeat (), reverse (), sack (), sample (), select (), sideEffect (), split (), unfold (), union ()

Fasi di aggregazione e raccolta:

aggregato (globale), combine (), count (), dedup (), dedup (locale), fold (), group (), groupCount (), https://tinkerpop.apache.org/docs/current/reference/#groupcount-step

Passaggi matematici:

max (), media (), min (), somma ()

Fasi degli elementi:

altroV (), elementMap (), element (), v (), out (), in (), both (), outE (), inE (), boE (), outV (), inV (), bothV (), bothV (), otherV () ()

Fasi relative alla proprietà:

proprietà (), chiave (), valueMap (), valore ()

Passaggi del filtro:

e (), coalesce (), coin (), has (), is (), local (), none (), none (), not () o (), dove ()

Fasi di manipolazione delle stringhe:

concat (), lTrim (), rTrim (), substring (), toLower (), toUpper (), trim () https://tinkerpop.apache.org/docs/current/reference/#trim-step

Predicati:

Limitazioni

Ripeti con limite, le etichette all'interno di repeat traversal e dedup non sono ancora supportate in 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'))

I percorsi con ripetizioni annidate o i passaggi ramificati non sono ancora supportati.

// 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')