Statements

trait Statements[F[_]]
Companion
object
class Object
trait Matchable
class Any

Value members

Concrete methods

def chunkExists(id: String, chunkNr: Long): ConnectionIO[Boolean]
def chunkExistsRemove(id: String, chunkNr: Long, size: Long): Free[[A] =>> ConnectionOp[A], Boolean]
def chunkLengthCheckOrRemove(fileId: String, chunkNr: Long, chunkLength: Long): Free[[A] =>> ConnectionOp[A], Boolean]
def count: ConnectionIO[Long]
def countChunks(id: String): ConnectionIO[Long]
def createChunkTable(db: Dbms): Update0
def createMetaTable: Update0
def deleteChunks(id: String): Update0
def deleteFileMeta(id: String): Update0
def fileExists(id: String): ConnectionIO[Option[String]]
def insertChunk(ch: FileChunk): Update0
def insertFileMeta(fm: FileMeta): Update0
def selectChunkArray(id: String, offset: Option[Int], limit: Option[Int]): Query0[Array[Byte]]
def selectChunkData(id: String, offset: Option[Int], limit: Option[Int]): Query0[ByteVector]
def selectChunks(id: String, offset: Option[Int], limit: Option[Int]): Query0[FileChunk]
def selectFileMeta(id: String): ConnectionIO[Option[FileMeta]]
def tryUpdateFileId(old: String, id: String): Free[[A] =>> ConnectionOp[A], Either[SQLException, Int]]
def updateFileMeta(id: String, timestamp: Instant, checksum: String): Update0
def updateMimetype(id: String, mimetype: Mimetype): Update0

Abstract fields