Flow PHP

Integer

Read onlyYes
FinalYes

Methods

__construct()  : mixed
bitWidth()  : int
forColumn()  : self|null
The column's integer width and sign: its converted type, else its logical INTEGER; null for neither.
fromThrift()  : self
is()  : bool
isSigned()  : bool
toThrift()  : IntType

Methods

__construct()

public __construct(int $bitWidth, bool $isSigned) : mixed
Parameters
$bitWidth : int
$isSigned : bool

bitWidth()

public bitWidth() : int
Return values
int

forColumn()

The column's integer width and sign: its converted type, else its logical INTEGER; null for neither.

public static forColumn(FlatColumn $column) : self|null
Parameters
$column : FlatColumn
Return values
self|null

fromThrift()

public static fromThrift(IntType $thrift) : self
Parameters
$thrift : IntType
Return values
self

is()

public is(int $bitWidth, bool $signed) : bool
Parameters
$bitWidth : int
$signed : bool
Return values
bool

isSigned()

public isSigned() : bool
Return values
bool
On this page

Search results