summaryrefslogtreecommitdiffstats
path: root/src/arrow/r/man/Field.Rd
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 11:54:28 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 11:54:28 +0000
commite6918187568dbd01842d8d1d2c808ce16a894239 (patch)
tree64f88b554b444a49f656b6c656111a145cbbaa28 /src/arrow/r/man/Field.Rd
parentInitial commit. (diff)
downloadceph-e6918187568dbd01842d8d1d2c808ce16a894239.tar.xz
ceph-e6918187568dbd01842d8d1d2c808ce16a894239.zip
Adding upstream version 18.2.2.upstream/18.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/arrow/r/man/Field.Rd')
-rw-r--r--src/arrow/r/man/Field.Rd37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/arrow/r/man/Field.Rd b/src/arrow/r/man/Field.Rd
new file mode 100644
index 000000000..3b709e879
--- /dev/null
+++ b/src/arrow/r/man/Field.Rd
@@ -0,0 +1,37 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/field.R
+\docType{class}
+\name{Field}
+\alias{Field}
+\alias{field}
+\title{Field class}
+\usage{
+field(name, type, metadata, nullable = TRUE)
+}
+\arguments{
+\item{name}{field name}
+
+\item{type}{logical type, instance of \link{DataType}}
+
+\item{metadata}{currently ignored}
+
+\item{nullable}{TRUE if field is nullable}
+}
+\description{
+\code{field()} lets you create an \code{arrow::Field} that maps a
+\link[=data-type]{DataType} to a column name. Fields are contained in
+\link[=Schema]{Schemas}.
+}
+\section{Methods}{
+
+\itemize{
+\item \code{f$ToString()}: convert to a string
+\item \code{f$Equals(other)}: test for equality. More naturally called as \code{f == other}
+}
+}
+
+\examples{
+\dontshow{if (arrow_available()) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf}
+field("x", int32())
+\dontshow{\}) # examplesIf}
+}