]> git.proxmox.com Git - ceph.git/blame - ceph/src/arrow/r/man/OutputStream.Rd
import quincy 17.2.0
[ceph.git] / ceph / src / arrow / r / man / OutputStream.Rd
CommitLineData
1d09f67e
TL
1% Generated by roxygen2: do not edit by hand
2% Please edit documentation in R/io.R
3\docType{class}
4\name{OutputStream}
5\alias{OutputStream}
6\alias{FileOutputStream}
7\alias{BufferOutputStream}
8\title{OutputStream classes}
9\description{
10\code{FileOutputStream} is for writing to a file;
11\code{BufferOutputStream} writes to a buffer;
12You can create one and pass it to any of the table writers, for example.
13}
14\section{Factory}{
15
16
17The \verb{$create()} factory methods instantiate the \code{OutputStream} object and
18take the following arguments, depending on the subclass:
19\itemize{
20\item \code{path} For \code{FileOutputStream}, a character file name
21\item \code{initial_capacity} For \code{BufferOutputStream}, the size in bytes of the
22buffer.
23}
24}
25
26\section{Methods}{
27
28\itemize{
29\item \verb{$tell()}: return the position in the stream
30\item \verb{$close()}: close the stream
31\item \verb{$write(x)}: send \code{x} to the stream
32\item \verb{$capacity()}: for \code{BufferOutputStream}
33\item \verb{$finish()}: for \code{BufferOutputStream}
34\item \verb{$GetExtentBytesWritten()}: for \code{MockOutputStream}, report how many bytes
35were sent.
36}
37}
38