Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
datafusion_common::scalar - Rust
[go: Go Back, main page]

Expand description

This module provides ScalarValue, an enum that can be used for storage of single elements

Enums

  • Represents a dynamically typed, nullable single value. This is the single-valued counter-part to arrow’s Array.

Constants

Traits

  • Trait used to map a NativeTime to a ScalarType.

Functions

  • This function takes two timestamps with an optional timezone, and returns the duration between them. If one of the timestamps has a None timezone, the other one is also treated as having None.
  • This function computes the duration (in microseconds) of the given daytime-interval.
  • This function computes the duration (in milliseconds) of the given daytime-interval.
  • This function computes the duration (in nanoseconds) of the given daytime-interval.
  • This function computes the duration (in seconds) of the given daytime-interval.
  • return a reference to the values array and the index into it for a dictionary array
  • This function computes the duration (in microseconds) of the given month-day-nano-interval. Assumes a month is 30 days long.
  • This function computes the duration (in milliseconds) of the given month-day-nano-interval. Assumes a month is 30 days long.
  • This function computes the duration (in nanoseconds) of the given month-day-nano-interval. Assumes a month is 30 days long.
  • This function computes the duration (in seconds) of the given month-day-nano-interval. Assumes a month is 30 days long.
  • This function adds/subtracts two “raw” intervals (lhs and rhs) of the same type IntervalDayTimeType. The argument sign chooses between addition and subtraction. The return value is an 64-bit integer. It can be involved in a IntervalDayTimeType in the outer scope.
  • This function adds/subtracts two “raw” intervals (lhs and rhs) of different types (IntervalDayTimeType and IntervalMonthDayNanoType, respectively). The argument sign chooses between addition and subtraction, the argument commute swaps lhs and rhs. The return value is an 128-bit integer. It can be involved in a IntervalMonthDayNanoType in the outer scope.
  • This function adds/subtracts two “raw” intervals (lhs and rhs) of the same type IntervalMonthDayNanoType. The argument sign chooses between addition and subtraction. The return value is an 128-bit integer. It can be involved in a IntervalMonthDayNanoType in the outer scope.
  • This function adds/subtracts two “raw” intervals (lhs and rhs) of the same type IntervalYearMonthType. The argument sign chooses between addition and subtraction. The return value is an 32-bit integer. It can be involved in a IntervalYearMonthType in the outer scope.
  • This function adds/subtracts two “raw” intervals (lhs and rhs) of different types (IntervalYearMonthType and IntervalDayTimeType, respectively). The argument sign chooses between addition and subtraction, the argument commute swaps lhs and rhs. The return value is an 128-bit integer. It can be involved in a IntervalMonthDayNanoType in the outer scope.
  • This function adds/subtracts two “raw” intervals (lhs and rhs) of different types (IntervalYearMonthType and IntervalMonthDayNanoType, respectively). The argument sign chooses between addition and subtraction, the argument commute swaps lhs and rhs. The return value is an 128-bit integer. It can be involved in a IntervalMonthDayNanoType in the outer scope.
  • This function parses the timezone from string to Tz. If it cannot parse or timezone field is None, it returns None.
  • This function computes the duration (in milliseconds) of the given year-month-interval.
  • This function computes the duration (in milliseconds) of the given year-month-interval.
  • This function computes the duration (in nanoseconds) of the given year-month-interval.
  • This function computes the duration (in milliseconds) of the given year-month-interval.