final class Unsafe[S[_]] extends LiftedOps[WriteFile, 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(h: WriteHandle): FreeS[slamdata.Predef.Unit]
Close the write 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: WriteFile[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): M[WriteHandle]
Returns a write handle for the specified file which may be used to append data to the file it represents, creating it if necessary.
Returns a write handle for the specified file which may be used to append data to the file it represents, creating it if necessary.
Care must be taken to
closethe handle when it is no longer needed to avoid potential resource leaks. -
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( ... )
-
def
write(h: WriteHandle, chunk: slamdata.Predef.Vector[Data]): FreeS[slamdata.Predef.Vector[FileSystemError]]
Write a chunk of data to the file represented by the write handle.
Write a chunk of data to the file represented by the write handle.
Attempts to write as much of the chunk as possible, even if parts of it fail, any such failures will be returned in the output
VectorAn emptyVectormeans the entire chunk was written successfully.