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
intforColumn()
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|nullfromThrift()
public
static fromThrift(IntType $thrift) : self
Parameters
- $thrift : IntType
Return values
selfis()
public
is(int $bitWidth, bool $signed) : bool
Parameters
- $bitWidth : int
- $signed : bool
Return values
boolisSigned()
public
isSigned() : bool
Return values
booltoThrift()
public
toThrift() : IntType