create(1, 2, 3, 4, 5, 6, 7, 8, 9); * * var_dump($collection); * ``` * * @param \Cassandra\Type $type The type of values * * @return \Cassandra\Type The collection type * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Type/#method-collection */ final public static function collection($type) { } /** * Initialize a set type * ``` * create("a", "b", "c", "d", "e", "f", "g", "h", "i", "j"); * * var_dump($set); * ``` * * @param \Cassandra\Type $type The types of values * * @return \Cassandra\Type The set type * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Type/#method-set */ final public static function set($type) { } /** * Initialize a map type * ```create(1, "a", 2, "b", 3, "c", 4, "d", 5, "e", 6, "f") * * var_dump($map);``` * * @param \Cassandra\Type $keyType The type of keys * @param \Cassandra\Type $valueType The type of values * * @return \Cassandra\Type The map type * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Type/#method-map */ final public static function map($keyType, $valueType) { } /** * Initialize a tuple type * ```create("a", 123); * * var_dump($tuple);``` * * @param \Cassandra\Type $types A variadic list of types * * @return \Cassandra\Type The tuple type * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Type/#method-tuple */ final public static function tuple($types) { } /** * Initialize a user type * ```create("a", "abc", "b", 123); * * var_dump($userType);``` * * @param \Cassandra\Type $types A variadic list of name/type pairs * * @return \Cassandra\Type The user type * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Type/#method-userType */ final public static function userType($types) { } /** * Returns the name of this type as string. * * @return string Name of this type * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Type/#method-name */ abstract public function name(); /** * Returns string representation of this type. * * @return string String representation of this type * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Type/#method-__toString */ abstract public function __toString(); } /** * A PHP representation of the CQL `varint` datatype * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Varint/ */ final class Varint implements Value, Numeric { /** * Creates a new variable length integer. * * @param string $value integer value as a string * * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Varint/#method-__construct */ public function __construct($value) { } /** * Returns the integer value. * * @return string integer value * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Varint/#method-__toString */ public function __toString() { } /** * The type of this varint. * * @return \Cassandra\Type * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Varint/#method-type */ public function type() { } /** * Returns the integer value. * * @return string integer value * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Varint/#method-value */ public function value() { } /** * @param \Cassandra\Numeric $num a number to add to this one * * @return \Cassandra\Numeric sum * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Varint/#method-add */ public function add($num) { } /** * @param \Cassandra\Numeric $num a number to subtract from this one * * @return \Cassandra\Numeric difference * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Varint/#method-sub */ public function sub($num) { } /** * @param \Cassandra\Numeric $num a number to multiply this one by * * @return \Cassandra\Numeric product * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Varint/#method-mul */ public function mul($num) { } /** * @param \Cassandra\Numeric $num a number to divide this one by * * @return \Cassandra\Numeric quotient * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Varint/#method-div */ public function div($num) { } /** * @param \Cassandra\Numeric $num a number to divide this one by * * @return \Cassandra\Numeric remainder * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Varint/#method-mod */ public function mod($num) { } /** * @return \Cassandra\Numeric absolute value * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Varint/#method-abs */ public function abs() { } /** * @return \Cassandra\Numeric negative value * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Varint/#method-neg */ public function neg() { } /** * @return \Cassandra\Numeric square root * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Varint/#method-sqrt */ public function sqrt() { } /** * @return int this number as int * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Varint/#method-toInt */ public function toInt() { } /** * @return float this number as float * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Varint/#method-toDouble */ public function toDouble() { } } /** * A PHP representation of the CQL `map` datatype * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Map/ */ final class Map implements Value, \Countable, \Iterator, \ArrayAccess { /** * Creates a new map of a given key and value type. * * @param \Cassandra\Type $keyType * @param \Cassandra\Type $valueType * * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Map/#method-__construct */ public function __construct($keyType, $valueType) { } /** * The type of this map. * * @return \Cassandra\Type * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Map/#method-type */ public function type() { } /** * Returns all keys in the map as an array. * * @return array keys * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Map/#method-keys */ public function keys() { } /** * Returns all values in the map as an array. * * @return array values * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Map/#method-values */ public function values() { } /** * Sets key/value in the map. * * @param mixed $key key * @param mixed $value value * * @return mixed * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Map/#method-set */ public function set($key, $value) { } /** * Gets the value of the key in the map. * * @param mixed $key Key * * @return mixed Value or null * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Map/#method-get */ public function get($key) { } /** * Removes the key from the map. * * @param mixed $key Key * * @return bool Whether the key was removed or not, e.g. didn't exist * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Map/#method-remove */ public function remove($key) { } /** * Returns whether the key is in the map. * * @param mixed $key Key * * @return bool Whether the key is in the map or not * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Map/#method-has */ public function has($key) { } /** * Total number of elements in this map * * @return int count * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Map/#method-count */ public function count() { } /** * Current value for iteration * * @return mixed current value * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Map/#method-current */ public function current() { } /** * Current key for iteration * * @return int current key * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Map/#method-key */ public function key() { } /** * Move internal iterator forward * * @return void * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Map/#method-next */ public function next() { } /** * Check whether a current value exists * * @return bool * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Map/#method-valid */ public function valid() { } /** * Rewind internal iterator * * @return void * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Map/#method-rewind */ public function rewind() { } /** * Sets the value at a given key * * @param mixed $key Key to use. * @param mixed $value Value to set. * * @return void * @throws \Cassandra\Exception\InvalidArgumentException when the type of key or value is wrong * * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Map/#method-offsetSet */ public function offsetSet($key, $value) { } /** * Retrieves the value at a given key * * @param mixed $key Key to use. * * @return mixed Value or `null` * @throws \Cassandra\Exception\InvalidArgumentException when the type of key is wrong * * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Map/#method-offsetGet */ public function offsetGet($key) { } /** * Deletes the value at a given key * * @param mixed $key Key to use. * * @return void * @throws \Cassandra\Exception\InvalidArgumentException when the type of key is wrong * * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Map/#method-offsetUnset */ public function offsetUnset($key) { } /** * Returns whether the value a given key is present * * @param mixed $key Key to use. * * @return bool Whether the value at a given key is present * @throws \Cassandra\Exception\InvalidArgumentException when the type of key is wrong * * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Map/#method-offsetExists */ public function offsetExists($key) { } } /** * A PHP representation of the CQL `uuid` datatype * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Uuid/ */ final class Uuid implements Value, UuidInterface { /** * Creates a uuid from a given uuid string or a random one. * * @param string $uuid A uuid string * * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Uuid/#method-__construct */ public function __construct($uuid) { } /** * Returns this uuid as string. * * @return string uuid * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Uuid/#method-__toString */ public function __toString() { } /** * The type of this uuid. * * @return \Cassandra\Type * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Uuid/#method-type */ public function type() { } /** * Returns this uuid as string. * * @return string uuid * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Uuid/#method-uuid */ public function uuid() { } /** * Returns the version of this uuid. * * @return int version of this uuid * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Uuid/#method-version */ public function version() { } } /** * A PHP representation of the CQL `float` datatype * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Float/ */ final class Float_ implements Value, Numeric { /** * Creates a new float. * * @param float|int|string|\Cassandra\Float_ $value A float value as a string, number or Float * * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Float/#method-__construct */ public function __construct($value) { } /** * Minimum possible Float value * * @return \Cassandra\Float_ minimum value * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Float/#method-min */ public static function min() { } /** * Maximum possible Float value * * @return \Cassandra\Float_ maximum value * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Float/#method-max */ public static function max() { } /** * Returns string representation of the float value. * * @return string float value * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Float/#method-__toString */ public function __toString() { } /** * The type of this float. * * @return \Cassandra\Type * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Float/#method-type */ public function type() { } /** * Returns the float value. * * @return float float value * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Float/#method-value */ public function value() { } /** * @return bool * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Float/#method-isInfinite */ public function isInfinite() { } /** * @return bool * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Float/#method-isFinite */ public function isFinite() { } /** * @return bool * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Float/#method-isNaN */ public function isNaN() { } /** * @param \Cassandra\Numeric $num a number to add to this one * * @return \Cassandra\Numeric sum * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Float/#method-add */ public function add($num) { } /** * @param \Cassandra\Numeric $num a number to subtract from this one * * @return \Cassandra\Numeric difference * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Float/#method-sub */ public function sub($num) { } /** * @param \Cassandra\Numeric $num a number to multiply this one by * * @return \Cassandra\Numeric product * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Float/#method-mul */ public function mul($num) { } /** * @param \Cassandra\Numeric $num a number to divide this one by * * @return \Cassandra\Numeric quotient * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Float/#method-div */ public function div($num) { } /** * @param \Cassandra\Numeric $num a number to divide this one by * * @return \Cassandra\Numeric remainder * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Float/#method-mod */ public function mod($num) { } /** * @return \Cassandra\Numeric absolute value * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Float/#method-abs */ public function abs() { } /** * @return \Cassandra\Numeric negative value * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Float/#method-neg */ public function neg() { } /** * @return \Cassandra\Numeric square root * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Float/#method-sqrt */ public function sqrt() { } /** * @return int this number as int * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Float/#method-toInt */ public function toInt() { } /** * @return float this number as float * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Float/#method-toDouble */ public function toDouble() { } } /** * A PHP representation of the CQL `duration` datatype * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Duration/ */ final class Duration implements Value { /** * @param int|float|string|\Cassandra\Bigint $months Months attribute of the duration. * @param int|float|string|\Cassandra\Bigint $days Days attribute of the duration. * @param int|float|string|\Cassandra\Bigint $nanos Nanos attribute of the duration. * * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Duration/#method-__construct */ public function __construct($months, $days, $nanos) { } /** * The type of represented by the value. * * @return \Cassandra\Type the Cassandra type for Duration * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Duration/#method-type */ public function type() { } /** * @return string the months attribute of this Duration * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Duration/#method-months */ public function months() { } /** * @return string the days attribute of this Duration * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Duration/#method-days */ public function days() { } /** * @return string the nanoseconds attribute of this Duration * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Duration/#method-nanos */ public function nanos() { } /** * @return string string representation of this Duration; may be used as a literal parameter in CQL queries. * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Duration/#method-__toString */ public function __toString() { } } /** * A PHP representation of a keyspace * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultKeyspace/ */ final class DefaultKeyspace implements Keyspace { /** * Returns keyspace name * * @return string Name * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultKeyspace/#method-name */ public function name() { } /** * Returns replication class name * * @return string Replication class * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultKeyspace/#method-replicationClassName */ public function replicationClassName() { } /** * Returns replication options * * @return \Cassandra\Map Replication options * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultKeyspace/#method-replicationOptions */ public function replicationOptions() { } /** * Returns whether the keyspace has durable writes enabled * * @return string Whether durable writes are enabled * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultKeyspace/#method-hasDurableWrites */ public function hasDurableWrites() { } /** * Returns a table by name * * @param string $name Table name * * @return \Cassandra\Table * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultKeyspace/#method-table */ public function table($name) { } /** * Returns all tables defined in this keyspace * * @return array An array of `Table` instances * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultKeyspace/#method-tables */ public function tables() { } /** * Get user type by name * * @param string $name User type name * * @return \Cassandra\Type\UserType|null A user type or null * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultKeyspace/#method-userType */ public function userType($name) { } /** * Get all user types * * @return array An array of user types * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultKeyspace/#method-userTypes */ public function userTypes() { } /** * Get materialized view by name * * @param string $name Materialized view name * * @return \Cassandra\MaterizedView|null A materialized view or null * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultKeyspace/#method-materializedView */ public function materializedView($name) { } /** * Gets all materialized views * * @return array An array of materialized views * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultKeyspace/#method-materializedViews */ public function materializedViews() { } /** * Get a function by name and signature * * @param string $name Function name * @param string|\Cassandra\Type $params Function arguments * * @return \Cassandra\Function_|null A function or null * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultKeyspace/#method-function */ public function function_($name, ...$params) { } /** * Get all functions * * @return array An array of functions * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultKeyspace/#method-functions */ public function functions() { } /** * Get an aggregate by name and signature * * @param string $name Aggregate name * @param string|\Cassandra\Type $params Aggregate arguments * * @return \Cassandra\Aggregate|null An aggregate or null * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultKeyspace/#method-aggregate */ public function aggregate($name, ...$params) { } /** * Get all aggregates * * @return array An array of aggregates * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultKeyspace/#method-aggregates */ public function aggregates() { } } /** * A PHP representation of the CQL `inet` datatype * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Inet/ */ final class Inet implements Value { /** * Creates a new IPv4 or IPv6 inet address. * * @param string $address any IPv4 or IPv6 address * * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Inet/#method-__construct */ public function __construct($address) { } /** * Returns the normalized string representation of the address. * * @return string address * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Inet/#method-__toString */ public function __toString() { } /** * The type of this inet. * * @return \Cassandra\Type * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Inet/#method-type */ public function type() { } /** * Returns the normalized string representation of the address. * * @return string address * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Inet/#method-address */ public function address() { } } /** * A PHP representation of the CQL `date` type. * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Date/ */ final class Date implements Value { /** * Creates a new Date object * * @param int $seconds Absolute seconds from epoch (1970, 1, 1), can be negative, defaults to current time. * * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Date/#method-__construct */ public function __construct($seconds) { } /** * Creates a new Date object from a \DateTime object. * * @param \DateTime $datetime A \DateTime object to convert. * * @return \DateTime PHP representation * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Date/#method-fromDateTime */ public static function fromDateTime($datetime) { } /** * The type of this date. * * @return \Cassandra\Type * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Date/#method-type */ public function type() { } /** * @return int Absolute seconds from epoch (1970, 1, 1), can be negative * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Date/#method-seconds */ public function seconds() { } /** * Converts current date to PHP DateTime. * * @param \Cassandra\Time $time An optional Time object that is added to the DateTime object. * * @return \DateTime PHP representation * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Date/#method-toDateTime */ public function toDateTime($time) { } /** * @return string this date in string format: Date(seconds=$seconds) * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Date/#method-__toString */ public function __toString() { } } /** * A PHP representation of a column * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultColumn/ */ final class DefaultColumn implements Column { /** * Returns the name of the column. * * @return string Name of the column or null * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultColumn/#method-name */ public function name() { } /** * Returns the type of the column. * * @return \Cassandra\Type Type of the column * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultColumn/#method-type */ public function type() { } /** * Returns whether the column is in descending or ascending order. * * @return bool Whether the column is stored in descending order. * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultColumn/#method-isReversed */ public function isReversed() { } /** * Returns true for static columns. * * @return bool Whether the column is static * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultColumn/#method-isStatic */ public function isStatic() { } /** * Returns true for frozen columns. * * @return bool Whether the column is frozen * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultColumn/#method-isFrozen */ public function isFrozen() { } /** * Returns name of the index if defined. * * @return string Name of the index if defined or null * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultColumn/#method-indexName */ public function indexName() { } /** * Returns index options if present. * * @return string Index options if present or null * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultColumn/#method-indexOptions */ public function indexOptions() { } } /** * A PHP representation of the CQL `blob` datatype * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Blob/ */ final class Blob implements Value { /** * Creates a new bytes array. * * @param string $bytes any bytes * * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Blob/#method-__construct */ public function __construct($bytes) { } /** * Returns bytes as a hex string. * * @return string bytes as hexadecimal string * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Blob/#method-__toString */ public function __toString() { } /** * The type of this blob. * * @return \Cassandra\Type * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Blob/#method-type */ public function type() { } /** * Returns bytes as a hex string. * * @return string bytes as hexadecimal string * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Blob/#method-bytes */ public function bytes() { } /** * Returns bytes as a binary string. * * @return string bytes as binary string * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Blob/#method-toBinaryString */ public function toBinaryString() { } } /** * A PHP representation of a table * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultTable/ */ final class DefaultTable implements Table { /** * Returns the name of this table * * @return string Name of the table * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultTable/#method-name */ public function name() { } /** * Return a table's option by name * * @param string $name The name of the option * * @return \Cassandra\Value Value of an option by name * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultTable/#method-option */ public function option($name) { } /** * Returns all the table's options * * @return array A dictionary of `string` and `Value` pairs of the table's options. * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultTable/#method-options */ public function options() { } /** * Description of the table, if any * * @return string Table description or null * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultTable/#method-comment */ public function comment() { } /** * Returns read repair chance * * @return float Read repair chance * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultTable/#method-readRepairChance */ public function readRepairChance() { } /** * Returns local read repair chance * * @return float Local read repair chance * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultTable/#method-localReadRepairChance */ public function localReadRepairChance() { } /** * Returns GC grace seconds * * @return int GC grace seconds * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultTable/#method-gcGraceSeconds */ public function gcGraceSeconds() { } /** * Returns caching options * * @return string Caching options * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultTable/#method-caching */ public function caching() { } /** * Returns bloom filter FP chance * * @return float Bloom filter FP chance * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultTable/#method-bloomFilterFPChance */ public function bloomFilterFPChance() { } /** * Returns memtable flush period in milliseconds * * @return int Memtable flush period in milliseconds * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultTable/#method-memtableFlushPeriodMs */ public function memtableFlushPeriodMs() { } /** * Returns default TTL. * * @return int Default TTL. * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultTable/#method-defaultTTL */ public function defaultTTL() { } /** * Returns speculative retry. * * @return string Speculative retry. * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultTable/#method-speculativeRetry */ public function speculativeRetry() { } /** * Returns index interval * * @return int Index interval * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultTable/#method-indexInterval */ public function indexInterval() { } /** * Returns compaction strategy class name * * @return string Compaction strategy class name * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultTable/#method-compactionStrategyClassName */ public function compactionStrategyClassName() { } /** * Returns compaction strategy options * * @return \Cassandra\Map Compaction strategy options * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultTable/#method-compactionStrategyOptions */ public function compactionStrategyOptions() { } /** * Returns compression parameters * * @return \Cassandra\Map Compression parameters * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultTable/#method-compressionParameters */ public function compressionParameters() { } /** * Returns whether or not the `populate_io_cache_on_flush` is true * * @return bool Value of `populate_io_cache_on_flush` or null * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultTable/#method-populateIOCacheOnFlush */ public function populateIOCacheOnFlush() { } /** * Returns whether or not the `replicate_on_write` is true * * @return bool Value of `replicate_on_write` or null * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultTable/#method-replicateOnWrite */ public function replicateOnWrite() { } /** * Returns the value of `max_index_interval` * * @return int Value of `max_index_interval` or null * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultTable/#method-maxIndexInterval */ public function maxIndexInterval() { } /** * Returns the value of `min_index_interval` * * @return int Value of `min_index_interval` or null * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultTable/#method-minIndexInterval */ public function minIndexInterval() { } /** * Returns column by name * * @param string $name Name of the column * * @return \Cassandra\Column Column instance * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultTable/#method-column */ public function column($name) { } /** * Returns all columns in this table * * @return array A list of `Column` instances * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultTable/#method-columns */ public function columns() { } /** * Returns the partition key columns of the table * * @return array A list of of `Column` instance * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultTable/#method-partitionKey */ public function partitionKey() { } /** * Returns both the partition and clustering key columns of the table * * @return array A list of of `Column` instance * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultTable/#method-primaryKey */ public function primaryKey() { } /** * Returns the clustering key columns of the table * * @return array A list of of `Column` instances * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultTable/#method-clusteringKey */ public function clusteringKey() { } /** * @return array A list of cluster column orders ('asc' and 'desc') * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultTable/#method-clusteringOrder */ public function clusteringOrder() { } /** * Get an index by name * * @param string $name Index name * * @return \Cassandra\Index|null An index or null * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultTable/#method-index */ public function index($name) { } /** * Gets all indexes * * @return array An array of indexes * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultTable/#method-indexes */ public function indexes() { } /** * Get materialized view by name * * @param string $name Materialized view name * * @return \Cassandra\MaterizedView|null A materialized view or null * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultTable/#method-materializedView */ public function materializedView($name) { } /** * Gets all materialized views * * @return array An array of materialized views * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.DefaultTable/#method-materializedViews */ public function materializedViews() { } } /** * A future that always resolves in a value. * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.FutureValue/ */ final class FutureValue implements Future { /** * Waits for a given future resource to resolve and throws errors if any. * * @param int|float|null $timeout A timeout in seconds * * @return mixed A value * @throws \Cassandra\Exception\TimeoutException * * @throws \Cassandra\Exception\InvalidArgumentException * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.FutureValue/#method-get */ public function get($timeout) { } } /** * A PHP representation of the CQL `decimal` datatype * * The actual value of a decimal is `$value * pow(10, $scale * -1)` * @link https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Decimal/ */ final class Decimal implements Value, Numeric { /** * Creates a decimal from a given decimal string: * * ~~~{.php} *