PhysicalOrder
Cases
Methods
- compare() : int
- Orders two physical values as parquet statistics do: bytes unsigned, DECIMAL signed two's complement, UINT unsigned, floats by IEEE 754 total order (-0.0 < +0.0, NaN greatest), false < true.
- compareKeys() : int
- forColumn() : self
- isFloatingPoint() : bool
- isNan() : bool
- isSigned() : bool
- Whether the deprecated statistics min/max may hold the column's bounds (arrow-rs SortOrder::SIGNED).
- isUnordered() : bool
- isZero() : bool
- key() : int|string
- zero() : float|string
Cases
Boolean
Bytes
Decimal
Double
Float
Float16
Signed
Unordered
Unsigned32
Unsigned64
Methods
compare()
Orders two physical values as parquet statistics do: bytes unsigned, DECIMAL signed two's complement, UINT unsigned, floats by IEEE 754 total order (-0.0 < +0.0, NaN greatest), false < true.
public
compare(bool|float|int|string $a, bool|float|int|string $b) : int
Parameters
- $a : bool|float|int|string
- $b : bool|float|int|string
Return values
intcompareKeys()
public
compareKeys(int|string $a, int|string $b) : int
Parameters
- $a : int|string
- $b : int|string
Return values
intforColumn()
public
static forColumn(FlatColumn $column) : self
Parameters
- $column : FlatColumn
Return values
selfisFloatingPoint()
public
isFloatingPoint() : bool
Return values
boolisNan()
public
isNan(bool|float|int|string $value) : bool
Parameters
- $value : bool|float|int|string
Return values
boolisSigned()
Whether the deprecated statistics min/max may hold the column's bounds (arrow-rs SortOrder::SIGNED).
public
isSigned() : bool
Return values
boolisUnordered()
public
isUnordered() : bool
Return values
boolisZero()
public
isZero(bool|float|int|string $value) : bool
Parameters
- $value : bool|float|int|string
Return values
boolkey()
public
key(bool|float|int|string $value) : int|string
Parameters
- $value : bool|float|int|string
Return values
int|stringzero()
public
zero(bool $negative) : float|string
Parameters
- $negative : bool