binny-pglo
binny-pglo
binny.pglo
PgLoBinaryStore
PgLoBinaryStore
PgLoConfig
PgLoConfig
PgSetup
binny.pglo.impl
PgApi
binny-pglo
/
binny.pglo.impl
/
PgApi
PgApi
final
class
PgApi
[
F
[
_
]](
table:
String
,
logger:
Logger
[
F
])(
implicit
evidence$1:
Sync
[
F
])
Graph
Supertypes
class
Object
trait
Matchable
class
Any
Value members
Value members
Concrete methods
def
computeAttr
(
id:
BinaryId
,
detect:
ContentTypeDetect
,
hint:
Hint
,
chunkSize:
Int
):
DbRun
[
F
,
BinaryAttributes
]
def
createLO
(
lom:
LargeObjectManager
):
DbRun
[
F
,
Long
]
def
createTable
:
DbRun
[
F
,
Int
]
def
delete
(
id:
BinaryId
):
DbRun
[
F
,
Int
]
def
exists
(
id:
BinaryId
):
DbRun
[[
_
]
=>>
OptionT
[
F
,
_$15
],
Unit
]
def
findOid
(
id:
BinaryId
):
DbRun
[
F
,
Option
[
Long
]]
def
insert
(
id:
BinaryId
,
bytes:
Stream
[
F
,
Chunk
[
Byte
]]):
DbRun
[
F
,
Int
]
def
listAllIds
(
prefix:
Option
[
String
],
chunkSize:
Int
,
ds:
DataSource
):
Stream
[
F
,
BinaryId
]
def
loManager
:
DbRun
[
F
,
LargeObjectManager
]
def
loManagerS
:
Stream
[[
_
]
=>>
DbRun
[
F
,
_$3
],
LargeObjectManager
]
def
loadAll
(
id:
BinaryId
,
range:
ByteRange
,
chunkSize:
Int
):
DbRun
[[
_
]
=>>
Stream
[
F
,
_$22
],
Byte
]
def
loadChunk
(
id:
BinaryId
,
range:
Chunk
):
DbRun
[
F
,
Chunk
[
Byte
]]
def
loadChunkByOID
(
oid:
Long
,
range:
Chunk
):
DbRun
[
F
,
Chunk
[
Byte
]]
def
openLORead
(
lom:
LargeObjectManager
,
oid:
Long
):
DbRun
[[
_
]
=>>
Resource
[
F
,
_$9
],
LargeObject
]
def
openLOWrite
():
DbRun
[[
_
]
=>>
Resource
[
F
,
_$5
],
LargeObject
]