Object

fr.acinq.eclair.db.sqlite

SqliteUtils

Related Doc: package sqlite

Permalink

object SqliteUtils

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SqliteUtils
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class ExtendedResultSet(rs: ResultSet) extends Product with Serializable

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object ExtendedResultSet extends Serializable

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  7. def codecSequence[T](rs: ResultSet, codec: Codec[T]): Seq[T]

    Permalink

    This helper assumes that there is a "data" column available, decodable with the provided codec

    This helper assumes that there is a "data" column available, decodable with the provided codec

    TODO: we should use an scala.Iterator instead

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  11. def getVersion(statement: Statement, db_name: String, currentVersion: Int): Int

    Permalink

    Several logical databases (channels, network, peers) may be stored in the same physical sqlite database.

    Several logical databases (channels, network, peers) may be stored in the same physical sqlite database. We keep track of their respective version using a dedicated table. The version entry will be created if there is none but will never be updated here (use setVersion to do that).

  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  17. def obtainExclusiveLock(sqlite: Connection): Int

    Permalink

    Obtain an exclusive lock on a sqlite database.

    Obtain an exclusive lock on a sqlite database. This is useful when we want to make sure that only one process accesses the database file (see https://www.sqlite.org/pragma.html).

    The lock will be kept until the database is closed, or if the locking mode is explicitly reset.

  18. def setVersion(statement: Statement, db_name: String, newVersion: Int): Int

    Permalink

    Updates the version for a particular logical database, it will overwrite the previous version.

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

    Permalink
    Definition Classes
    AnyRef
  20. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  21. def using[T <: Statement, U](statement: T, inTransaction: Boolean = false)(block: (T) ⇒ U): U

    Permalink

    This helper makes sure statements are correctly closed.

    This helper makes sure statements are correctly closed.

    inTransaction

    if set to true, all updates in the block will be run in a transaction.

  22. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped