final class Unsafe[S[_]] extends LiftedOps[ReadFile, S]
Low-level, unsafe operations. Clients are responsible for resource-safety when using these.
- Alphabetic
- By Inheritance
- Unsafe
- LiftedOps
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
type
FreeS[A] = Free[S, A]
- Definition Classes
- LiftedOps
- type M[A] = EitherT[FreeS, FileSystemError, A]
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
close(rh: ReadHandle): FreeS[slamdata.Predef.Unit]
Closes the given read handle, freeing any resources it was using.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
lift[A](ga: ReadFile[A]): FreeS[A]
- Definition Classes
- LiftedOps
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
open(file: AFile, offset: Natural, limit: slamdata.Predef.Option[Positive]): M[ReadHandle]
Returns a read handle for the given file, positioned at the given zero-indexed offset, that may be used to read chunks of data from the file.
Returns a read handle for the given file, positioned at the given zero-indexed offset, that may be used to read chunks of data from the file. An optional limit may be supplied to restrict the total amount of data able to be read using the handle.
Care must be taken to
closethe returned handle in order to avoid potential resource leaks. -
def
read(rh: ReadHandle): M[slamdata.Predef.Vector[Data]]
Read a chunk of data from the file represented by the given handle.
Read a chunk of data from the file represented by the given handle.
An empty
Vectorsignals that all data has been read. -
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )