Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions r/R/type.R
Original file line number Diff line number Diff line change
Expand Up @@ -146,16 +146,27 @@ infer_type.Expression <- function(x, ...) x$type()

#' @title FixedWidthType class
#'
#' @description
#' `FixedWidthType` is a base class for data types with a fixed width in bits.
#' This includes all integer types, floating-point types, `Boolean`,
#' `FixedSizeBinary`, temporal types (dates, times, timestamps, durations),
#' and decimal types.
Comment on lines +149 to +153
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we mark this as internal with #' @keywords internal or at the least add a note in here that this is basically an internal type, not something that users of Arrow should need?

#'
#' @usage NULL
#' @format NULL
#' @docType class
#'
#' @section Methods:
#' @section R6 Methods:
#'
#' `FixedWidthType` inherits from [DataType], so it has the same methods.
#'
#' @section Active bindings:
#'
#' TODO
#' - `$bit_width`: The width of the type in bits
#'
#' @rdname FixedWidthType
#' @name FixedWidthType
#' @keywords internal
FixedWidthType <- R6Class(
"FixedWidthType",
inherit = DataType,
Expand Down
Loading