import { LoggerContext } from './../../../../platform-sdk-logging'; import gremlin from 'gremlin'; import { GetConnectionInput, GremlinRemoteConnection, InternalGremlinRemoteConnection, NeptuneStaticConfig } from "../types"; import { Edge, FindEdgeInput, FindVertexInput, GetEdgeInput, GetEdgesByIdInput, GetVertexInput, GetVerticesByIdInput, GraphObjectPropertyValue, GraphTraversalLike, NeptuneGraphObjectType, NeptuneReaderQueries, TraversalToGraphObjectListInput, Vertex, WithNeptuneTraverse } from './types'; export declare function applyNeptuneTraverse(traversal: GraphTraversalLike, graphObjectType: NeptuneGraphObjectType, queries: NeptuneReaderQueries, options: WithNeptuneTraverse): GraphTraversalLike; export declare class NeptuneReaderQueriesImpl implements NeptuneReaderQueries { gremlinConnection: InternalGremlinRemoteConnection; neptuneConfig: NeptuneStaticConfig; accountId: string | undefined; propertyPrefixLength: number; propertyPrefix: string; g: gremlin.process.GraphTraversalSource; constructor(gremlinConnection: GremlinRemoteConnection, neptuneConfig: NeptuneStaticConfig, options: GetConnectionInput); /** * Produce a property name that is seen by the user. * For example `j1dev|_deleted` will become `_deleted`. */ propertyNameForConsumer(propertyName: string): string; /** * Produce a property name that is used in the storage layer. * For example `_deleted` will become `j1dev|_deleted`. */ propertyNameForStorage(propertyName: string): string; /** * Get vertex */ getVertex(context: LoggerContext, options: GetVertexInput): Promise; /** * Get edge */ getEdge(context: LoggerContext, options: GetEdgeInput): Promise; getVerticesById(context: LoggerContext, options: GetVerticesByIdInput): Promise; getEdgesById(context: LoggerContext, options: GetEdgesByIdInput): Promise; /** * Find vertices */ findVertices(context: LoggerContext, options: FindVertexInput): Promise; /** * Find edges */ findEdges(context: LoggerContext, options: FindEdgeInput): Promise; /** * Perform traversal that produces list of vertices */ traversalToVertexList(context: LoggerContext, options: TraversalToGraphObjectListInput): Promise; /** * Perform traversal that produces list of edges */ traversalToEdgeList(context: LoggerContext, options: TraversalToGraphObjectListInput): Promise; }