gremlin
    Preparing search index...

    Converts a Gremlin traversal string into a Python source code representation. Assumes use of the uuid and datetime standard library modules.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Methods

    appendAnonymousSpawn appendArgumentSeparator appendExplicitNaming appendGeometryFromWkt appendStepClose appendStepOpen appendStepSeparator getCardinalityFunctionClass getParameters getTranslated handleStringLiteralText processGremlinSymbol visit visitBinaryLiteral visitBooleanArgument visitBooleanLiteral visitCharacterLiteral visitChildren visitConfiguration visitDateLiteral visitDurationLiteral visitErrorNode visitFloatLiteral visitGenericArgument visitGenericCollectionLiteral visitGenericLiteral visitGenericMapLiteral visitGenericRangeLiteral visitGenericSetLiteral visitGeometryArgument visitGeometryLiteral visitGeoModel visitInfLiteral visitIntegerLiteral visitKeyword visitMapEntry visitMapKey visitNakedKey visitNanLiteral visitNestedTraversal visitNullLiteral visitP visitStringLiteral visitStringNullableLiteral visitTerminal visitTraversalBarrier visitTraversalCardinality visitTraversalColumn visitTraversalDirection visitTraversalDirectionLong visitTraversalDirectionShort visitTraversalDT visitTraversalGType visitTraversalMerge visitTraversalOperator visitTraversalOrder visitTraversalPick visitTraversalPop visitTraversalPredicate visitTraversalPredicate_between visitTraversalPredicate_containing visitTraversalPredicate_endingWith visitTraversalPredicate_eq visitTraversalPredicate_geoContains visitTraversalPredicate_geoWithin visitTraversalPredicate_gt visitTraversalPredicate_gte visitTraversalPredicate_inside visitTraversalPredicate_lt visitTraversalPredicate_lte visitTraversalPredicate_neq visitTraversalPredicate_not visitTraversalPredicate_notContaining visitTraversalPredicate_notEndingWith visitTraversalPredicate_notRegex visitTraversalPredicate_notStartingWith visitTraversalPredicate_outside visitTraversalPredicate_regex visitTraversalPredicate_startingWith visitTraversalPredicate_typeOf visitTraversalPredicate_within visitTraversalPredicate_without visitTraversalScope visitTraversalSource visitTraversalSourceSelfMethod visitTraversalStrategy visitTraversalT visitTraversalTLong visitTraversalTShort visitUuidLiteral visitVariable extractGTypeName isGeometryGType removeFirstAndLastCharacters

    Constructors

    Properties

    graphTraversalSourceName: string
    parameters: Set<string> = ...
    sb: string[] = []
    GEOMETRY_GTYPE_NAMES: ReadonlySet<string> = ...

    The names of the GType entries that identify a geometry, which includes the model based CARTESIAN and GEOGRAPHIC entries. Kept in step with the geometry entries of org.apache.tinkerpop.gremlin.process.traversal.GType.

    Methods

    • Appends Geometry.fromWkt("..."), the form the JVM languages use since they have a WKT reader, with Model.GEOGRAPHIC or the SRID as a second argument where the geometry carries one. The WKT is decoded from the Gremlin string literal and written back escaped for a JVM string literal, since this translator has no WKT reader of its own to normalize the text through. The whitespace the JVM WKT reader skips at either end is dropped, while the whitespace within the text is kept as written.

      Parameters

      • ctx: any

      Returns void