class Smallint
A PHP representation of the CQL smallint
datatype.
Implements
Methods
__construct
(mixed
$value )
Creates a new 16-bit signed integer.
string
__toString
( )Cassandra\Type
type
( )The type of this value (smallint).
int
value
( )Returns the integer value.
Cassandra\Numeric
abs
( )Cassandra\Numeric
neg
( )Cassandra\Numeric
sqrt
( )int
toInt
( )float
toDouble
( )
static
Cassandra\Smallint
min
( )Minimum possible Cassandra\Smallint
value
- Static
- This method is static
static
Cassandra\Smallint
max
( )Maximum possible Cassandra\Smallint
value
- Static
- This method is static