co.teapot.tempest.server

TempestSQLDatabaseClient

Related Doc: package server

class TempestSQLDatabaseClient extends TempestDatabaseClient

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TempestSQLDatabaseClient
  2. TempestDatabaseClient
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TempestSQLDatabaseClient(config: DatabaseConfig)

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 addEdges(graphName: String, ids1: Seq[Long], ids2: Seq[Long]): Unit

  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. val attributeColumns: HashMap[String, Set[String]]

  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val connectionSource: HikariDataSource

  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  11. def filterNodeIds(graphName: String, nodeIds: Seq[Long], sqlClause: String): Seq[Long]

    Returns all node ids in the given Seq which have the given attribute value.

    Returns all node ids in the given Seq which have the given attribute value.

    Definition Classes
    TempestSQLDatabaseClientTempestDatabaseClient
  12. def filterNodeIdsUsingAttributeValue(graphName: String, nodeIds: Seq[Long], attributeName: String, attributeValue: String): Seq[Long]

    Returns all node ids in the given Seq which have the given attribute value.

    Returns all node ids in the given Seq which have the given attribute value.

    Definition Classes
    TempestSQLDatabaseClientTempestDatabaseClient
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def getAttributeColumnsFromDB(graphName: String): Set[String]

  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def getMultiNodeAttribute[A](graphName: String, nodeIds: Seq[Long], attributeName: String)(implicit c: Column[A]): Map[Long, A]

    Returns a map from node id to attribute value for the the given attribute name.

    Returns a map from node id to attribute value for the the given attribute name. Any nodes with null attribute value will be omitted from the resulting map. The implicit anorm.Column[A] parameter just means that A must be some type which Anorm can extract from a JDBC row.

    Definition Classes
    TempestSQLDatabaseClientTempestDatabaseClient
  17. def getMultiNodeAttributeAsJSON(graphName: String, nodeIds: Seq[Long], attributeName: String): Map[Long, String]

  18. def getNodeAttribute[A](graphName: String, nodeId: Long, attributeName: String)(implicit c: Column[A]): Option[A]

    Definition Classes
    TempestDatabaseClient
  19. def getNodeAttributeAsJSON(graphName: String, nodeId: Long, attributeName: String): String

    Definition Classes
    TempestDatabaseClient
  20. def getNodeIdsWithAttributeValue(graphName: String, attributeName: String, attributeValue: String): Seq[Long]

  21. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  24. def nodeIdsFiltered(graphName: String, sqlClause: String): Seq[Long]

  25. def nodesTable(graphName: String): String

  26. final def notify(): Unit

    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  28. def rejectUnsafeSQL(sqlClause: String): Unit

  29. def setNodeAttribute(graphName: String, nodeId: Long, attributeName: String, attributeValue: String): Unit

  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  31. def toString(): String

    Definition Classes
    AnyRef → Any
  32. def validateAttributeName(graphName: String, attributeName: String): Unit

  33. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. def withConnection[A](body: (Connection) ⇒ A): A

Inherited from TempestDatabaseClient

Inherited from AnyRef

Inherited from Any

Ungrouped