Packages

final class TigerGraphDriver extends IDriver with ISchemaSafeDriver

The driver used to communicate to a remote TigerGraph instance. One must build a schema on the first use of the database.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TigerGraphDriver
  2. ISchemaSafeDriver
  3. IDriver
  4. AutoCloseable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new TigerGraphDriver(hostname: String = DEFAULT_HOSTNAME, restPpPort: Int = DEFAULT_RESTPP_PORT, gsqlPort: Int = DEFAULT_GSQL_PORT, username: String = DEFAULT_USERNAME, password: String = DEFAULT_PASSWORD, timeout: Int = DEFAULT_TIMEOUT, scheme: String = "http", txMax: Int = DEFAULT_TX_MAX, tgVersion: String = "3.5.0", authKey: String = "")

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def NODES_IN_SCHEMA: Seq[String]
    Attributes
    protected
    Definition Classes
    IDriver
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def astLinker(): Unit

    Create REF edges from TYPE nodes to TYPE_DECL, EVAL_TYPE edges from nodes of various types to TYPE, REF edges from METHOD_REFs to METHOD, INHERITS_FROM nodes from TYPE_DECL nodes to TYPE, and ALIAS_OF edges from TYPE_DECL nodes to TYPE.

    Create REF edges from TYPE nodes to TYPE_DECL, EVAL_TYPE edges from nodes of various types to TYPE, REF edges from METHOD_REFs to METHOD, INHERITS_FROM nodes from TYPE_DECL nodes to TYPE, and ALIAS_OF edges from TYPE_DECL nodes to TYPE.

    Requires initMaps

    Attributes
    protected
    Definition Classes
    IDriver
  7. def buildInterproceduralEdges(): Unit

    Runs linkers for AST node relations and calls.

    Runs linkers for AST node relations and calls.

    Definition Classes
    IDriver
  8. def buildSchema(): Unit

    Create the schema on the underlying database.

    Create the schema on the underlying database.

    Definition Classes
    TigerGraphDriverISchemaSafeDriver
  9. def buildSchemaPayload(): String

    Build the schema to be injected.

    Build the schema to be injected.

    Definition Classes
    TigerGraphDriverISchemaSafeDriver
  10. def bulkTx(dg: AppliedDiff): Unit

    Executes all changes contained within the given overflowdb.BatchedUpdate.AppliedDiff as a (or set of) bulk transaction(s).

    Executes all changes contained within the given overflowdb.BatchedUpdate.AppliedDiff as a (or set of) bulk transaction(s).

    Definition Classes
    TigerGraphDriverIDriver
  11. def bulkTx(dg: AppliedDiffGraph): Unit

    Executes all changes contained within the given io.shiftleft.passes.AppliedDiffGraph as a (or set of) bulk transaction(s).

    Executes all changes contained within the given io.shiftleft.passes.AppliedDiffGraph as a (or set of) bulk transaction(s).

    Definition Classes
    TigerGraphDriverIDriver
  12. def clear(): Unit

    Removes all entries from the database.

    Removes all entries from the database.

    Definition Classes
    TigerGraphDriverIDriver
  13. def clearMaps(): Unit
    Attributes
    protected
    Definition Classes
    IDriver
  14. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  15. def close(): Unit

    Does nothing as HTTP does not require closing

    Does nothing as HTTP does not require closing

    Definition Classes
    TigerGraphDriver → AutoCloseable
  16. def deserializeLists(properties: Map[String, Any]): Map[String, Any]

    Where former list properties were serialized as strings, they will be deserialized as Seq.

    Where former list properties were serialized as strings, they will be deserialized as Seq.

    properties

    the serialized property map.

    returns

    a property map where comma-separated strings are made Seq objects.

    Attributes
    protected
    Definition Classes
    IDriver
  17. def dynamicCallLinker(): Unit

    Links all dynamic dispatch calls to their methods.

    Links all dynamic dispatch calls to their methods.

    Definition Classes
    TigerGraphDriverIDriver
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  20. def exists(srcId: Long, dstId: Long, edge: String): Boolean

    Determines if there exists an edge between two nodes.

    Determines if there exists an edge between two nodes. Edges are assumed to be directional.

    Definition Classes
    TigerGraphDriverIDriver
  21. def exists(nodeId: Long): Boolean

    Determines if the node exists in the database.

    Determines if the node exists in the database.

    Definition Classes
    TigerGraphDriverIDriver
  22. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  24. def id(node: AbstractNode, dg: AppliedDiffGraph): Any

    Provides the assigned ID for the given node using the given diff graph.

    Provides the assigned ID for the given node using the given diff graph.

    Attributes
    protected
    Definition Classes
    IDriver
  25. def idInterval(lower: Long, upper: Long): Set[Long]

    Returns all the taken IDs between the two boundaries (inclusive).

    Returns all the taken IDs between the two boundaries (inclusive).

    Definition Classes
    TigerGraphDriverIDriver
  26. def initMaps(): Unit
    Attributes
    protected
    Definition Classes
    IDriver
  27. def isConnected: Boolean

    Will return true if the database is connected, false if otherwise.

    Will return true if the database is connected, false if otherwise.

    Definition Classes
    TigerGraphDriverIDriver
  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. def linkAstNodes(srcLabels: List[String], edgeType: String, dstNodeMap: Map[String, Any], dstFullNameKey: String, dstNodeType: String): Unit

    Links nodes by their source label and destination full name key to their destination nodes by the specified edge type using the destination node map as the lookup table.

    Links nodes by their source label and destination full name key to their destination nodes by the specified edge type using the destination node map as the lookup table. Source labels are assumed to be non-empty.

    Definition Classes
    TigerGraphDriverIDriver
  30. val methodFullNameToNode: Map[String, Any]
    Attributes
    protected
    Definition Classes
    IDriver
  31. val namespaceNameToNode: Map[String, Any]
    Attributes
    protected
    Definition Classes
    IDriver
  32. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  33. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  34. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  35. implicit val payloadEncoder: Encoder[PayloadBody]
  36. def propertyFromNodes(nodeType: String, keys: String*): List[Map[String, Any]]

    Obtains properties from the specified node type and key(s).

    Obtains properties from the specified node type and key(s). By default will return the ID property as one of the keys as "id".

    Definition Classes
    TigerGraphDriverIDriver
  37. def removeSourceFiles(filenames: String*): Unit

    Given filenames, will remove related TYPE, TYPE_DECL, METHOD (with AST children), and NAMESPACE_BLOCK.

    Given filenames, will remove related TYPE, TYPE_DECL, METHOD (with AST children), and NAMESPACE_BLOCK.

    Definition Classes
    TigerGraphDriverIDriver
  38. def serializeLists(properties: Map[String, Any]): Map[String, Any]

    To handle the case where databases don't support lists, we simply serialize these as a comma-separated string.

    To handle the case where databases don't support lists, we simply serialize these as a comma-separated string.

    properties

    the property map.

    returns

    a property map where lists are serialized as strings.

    Attributes
    protected
    Definition Classes
    IDriver
  39. def staticCallLinker(): Unit

    Links all static dispatch calls to their methods.

    Links all static dispatch calls to their methods.

    Definition Classes
    TigerGraphDriverIDriver
  40. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  41. def toString(): String
    Definition Classes
    AnyRef → Any
  42. val typeDeclFullNameToNode: Map[String, Any]
    Attributes
    protected
    Definition Classes
    IDriver
  43. val typeFullNameToNode: Map[String, Any]
    Attributes
    protected
    Definition Classes
    IDriver
  44. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from ISchemaSafeDriver

Inherited from IDriver

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped