File: FeatherReader.Rd

package info (click to toggle)
apache-arrow 23.0.1-1
  • links: PTS
  • area: main
  • in suites: sid
  • size: 76,220 kB
  • sloc: cpp: 654,608; python: 70,522; ruby: 45,964; ansic: 18,742; sh: 7,365; makefile: 669; javascript: 125; xml: 41
file content (33 lines) | stat: -rw-r--r-- 1,070 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/feather.R
\docType{class}
\name{FeatherReader}
\alias{FeatherReader}
\title{FeatherReader class}
\description{
This class enables you to interact with Feather files. Create
one to connect to a file or other InputStream, and call \code{Read()} on it to
make an \code{arrow::Table}. See its usage in \code{\link[=read_feather]{read_feather()}}.
}
\section{Factory}{


The \code{FeatherReader$create()} factory method instantiates the object and
takes the following argument:
\itemize{
\item \code{file} an Arrow file connection object inheriting from \code{RandomAccessFile}.
}
}

\section{Methods}{

\itemize{
\item \verb{$Read(columns)}: Returns a \code{Table} of the selected columns, a vector of
integer indices
\item \verb{$column_names}: Active binding, returns the column names in the Feather file
\item \verb{$schema}: Active binding, returns the schema of the Feather file
\item \verb{$version}: Active binding, returns \code{1} or \code{2}, according to the Feather
file version
}
}