diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-02-12 07:22:22 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-02-12 07:22:22 +0100 |
commit | fb594681cd54320dd7b0e00d4d793d4579a1d3cc (patch) | |
tree | 7933eccae70bba818b467a61d6c0ce3833511c73 | |
parent | aa3b42d636ecfa3a65289ae26e42513adc9f169b (diff) |
php-pecl-cassandra: 1.1.0
-rw-r--r-- | REFLECTION | 1054 | ||||
-rw-r--r-- | php-pecl-cassandra.spec | 29 |
2 files changed, 1020 insertions, 63 deletions
@@ -1,4 +1,4 @@ -Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { +Extension [ <persistent> extension #82 cassandra version 1.1.0 ] { - Dependencies { Dependency [ spl (Required) ] @@ -13,7 +13,7 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { } } - - Classes [73] { + - Classes [86] { Interface [ <internal:cassandra> interface Cassandra\Exception ] { - Constants [0] { @@ -1400,6 +1400,29 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { } } + Interface [ <internal:cassandra> interface Cassandra\Value ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [1] { + Method [ <internal:cassandra> abstract public method type ] { + + - Parameters [0] { + } + } + } + } + Interface [ <internal:cassandra> interface Cassandra\Numeric ] { - Constants [0] { @@ -1482,7 +1505,7 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { } } - Class [ <internal:cassandra> final class Cassandra\Bigint implements Cassandra\Numeric ] { + Class [ <internal:cassandra> final class Cassandra\Bigint implements Cassandra\Value, Cassandra\Numeric ] { - Constants [0] { } @@ -1507,7 +1530,7 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { - Properties [0] { } - - Methods [13] { + - Methods [14] { Method [ <internal:cassandra, ctor> public method __construct ] { - Parameters [1] { @@ -1521,6 +1544,12 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { } } + Method [ <internal:cassandra, prototype Cassandra\Value> public method type ] { + + - Parameters [0] { + } + } + Method [ <internal:cassandra> public method value ] { - Parameters [0] { @@ -1594,7 +1623,7 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { } } - Class [ <internal:cassandra> final class Cassandra\Blob ] { + Class [ <internal:cassandra> final class Cassandra\Blob implements Cassandra\Value ] { - Constants [0] { } @@ -1608,7 +1637,7 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { - Properties [0] { } - - Methods [4] { + - Methods [5] { Method [ <internal:cassandra, ctor> public method __construct ] { - Parameters [1] { @@ -1622,6 +1651,12 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { } } + Method [ <internal:cassandra, prototype Cassandra\Value> public method type ] { + + - Parameters [0] { + } + } + Method [ <internal:cassandra> public method bytes ] { - Parameters [0] { @@ -1636,7 +1671,7 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { } } - Class [ <internal:cassandra> final class Cassandra\Decimal implements Cassandra\Numeric ] { + Class [ <internal:cassandra> final class Cassandra\Decimal implements Cassandra\Value, Cassandra\Numeric ] { - Constants [0] { } @@ -1650,7 +1685,7 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { - Properties [0] { } - - Methods [14] { + - Methods [15] { Method [ <internal:cassandra, ctor> public method __construct ] { - Parameters [1] { @@ -1664,6 +1699,12 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { } } + Method [ <internal:cassandra, prototype Cassandra\Value> public method type ] { + + - Parameters [0] { + } + } + Method [ <internal:cassandra> public method value ] { - Parameters [0] { @@ -1743,7 +1784,7 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { } } - Class [ <internal:cassandra> final class Cassandra\Float implements Cassandra\Numeric ] { + Class [ <internal:cassandra> final class Cassandra\Float implements Cassandra\Value, Cassandra\Numeric ] { - Constants [0] { } @@ -1768,7 +1809,7 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { - Properties [0] { } - - Methods [16] { + - Methods [17] { Method [ <internal:cassandra, ctor> public method __construct ] { - Parameters [1] { @@ -1782,6 +1823,12 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { } } + Method [ <internal:cassandra, prototype Cassandra\Value> public method type ] { + + - Parameters [0] { + } + } + Method [ <internal:cassandra> public method value ] { - Parameters [0] { @@ -1873,7 +1920,7 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { } } - Class [ <internal:cassandra> final class Cassandra\Inet ] { + Class [ <internal:cassandra> final class Cassandra\Inet implements Cassandra\Value ] { - Constants [0] { } @@ -1887,7 +1934,7 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { - Properties [0] { } - - Methods [3] { + - Methods [4] { Method [ <internal:cassandra, ctor> public method __construct ] { - Parameters [1] { @@ -1901,6 +1948,12 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { } } + Method [ <internal:cassandra, prototype Cassandra\Value> public method type ] { + + - Parameters [0] { + } + } + Method [ <internal:cassandra> public method address ] { - Parameters [0] { @@ -1909,7 +1962,7 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { } } - Class [ <internal:cassandra> final class Cassandra\Timestamp ] { + Class [ <internal:cassandra> final class Cassandra\Timestamp implements Cassandra\Value ] { - Constants [0] { } @@ -1923,7 +1976,7 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { - Properties [0] { } - - Methods [5] { + - Methods [6] { Method [ <internal:cassandra, ctor> public method __construct ] { - Parameters [2] { @@ -1932,6 +1985,12 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { } } + Method [ <internal:cassandra, prototype Cassandra\Value> public method type ] { + + - Parameters [0] { + } + } + Method [ <internal:cassandra> public method time ] { } @@ -1979,7 +2038,7 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { } } - Class [ <internal:cassandra> final class Cassandra\Timeuuid implements Cassandra\UuidInterface ] { + Class [ <internal:cassandra> final class Cassandra\Timeuuid implements Cassandra\Value, Cassandra\UuidInterface ] { - Constants [0] { } @@ -1993,7 +2052,7 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { - Properties [0] { } - - Methods [6] { + - Methods [7] { Method [ <internal:cassandra, ctor> public method __construct ] { - Parameters [1] { @@ -2007,6 +2066,12 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { } } + Method [ <internal:cassandra, prototype Cassandra\Value> public method type ] { + + - Parameters [0] { + } + } + Method [ <internal:cassandra, prototype Cassandra\UuidInterface> public method uuid ] { - Parameters [0] { @@ -2033,7 +2098,7 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { } } - Class [ <internal:cassandra> final class Cassandra\Uuid implements Cassandra\UuidInterface ] { + Class [ <internal:cassandra> final class Cassandra\Uuid implements Cassandra\Value, Cassandra\UuidInterface ] { - Constants [0] { } @@ -2047,7 +2112,7 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { - Properties [0] { } - - Methods [4] { + - Methods [5] { Method [ <internal:cassandra, ctor> public method __construct ] { - Parameters [1] { @@ -2061,6 +2126,12 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { } } + Method [ <internal:cassandra, prototype Cassandra\Value> public method type ] { + + - Parameters [0] { + } + } + Method [ <internal:cassandra, prototype Cassandra\UuidInterface> public method uuid ] { - Parameters [0] { @@ -2075,7 +2146,7 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { } } - Class [ <internal:cassandra> final class Cassandra\Varint implements Cassandra\Numeric ] { + Class [ <internal:cassandra> final class Cassandra\Varint implements Cassandra\Value, Cassandra\Numeric ] { - Constants [0] { } @@ -2089,7 +2160,7 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { - Properties [0] { } - - Methods [13] { + - Methods [14] { Method [ <internal:cassandra, ctor> public method __construct ] { - Parameters [1] { @@ -2103,6 +2174,12 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { } } + Method [ <internal:cassandra, prototype Cassandra\Value> public method type ] { + + - Parameters [0] { + } + } + Method [ <internal:cassandra> public method value ] { - Parameters [0] { @@ -2176,7 +2253,7 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { } } - Class [ <internal:cassandra> <iterateable> final class Cassandra\Set implements Countable, Iterator, Traversable ] { + Class [ <internal:cassandra> <iterateable> final class Cassandra\Set implements Cassandra\Value, Countable, Iterator, Traversable ] { - Constants [0] { } @@ -2190,7 +2267,7 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { - Properties [0] { } - - Methods [11] { + - Methods [12] { Method [ <internal:cassandra, ctor> public method __construct ] { - Parameters [1] { @@ -2198,7 +2275,7 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { } } - Method [ <internal:cassandra> public method type ] { + Method [ <internal:cassandra, prototype Cassandra\Value> public method type ] { - Parameters [0] { } @@ -2217,6 +2294,13 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { } } + Method [ <internal:cassandra> public method has ] { + + - Parameters [1] { + Parameter #0 [ <required> $value ] + } + } + Method [ <internal:cassandra> public method remove ] { - Parameters [1] { @@ -2262,7 +2346,7 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { } } - Class [ <internal:cassandra> <iterateable> final class Cassandra\Map implements Countable, Iterator, Traversable, ArrayAccess ] { + Class [ <internal:cassandra> <iterateable> final class Cassandra\Map implements Cassandra\Value, Countable, Iterator, Traversable, ArrayAccess ] { - Constants [0] { } @@ -2276,7 +2360,7 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { - Properties [0] { } - - Methods [19] { + - Methods [18] { Method [ <internal:cassandra, ctor> public method __construct ] { - Parameters [1] { @@ -2284,7 +2368,7 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { } } - Method [ <internal:cassandra> public method keyType ] { + Method [ <internal:cassandra, prototype Cassandra\Value> public method type ] { - Parameters [0] { } @@ -2296,12 +2380,6 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { } } - Method [ <internal:cassandra> public method valueType ] { - - - Parameters [0] { - } - } - Method [ <internal:cassandra> public method values ] { - Parameters [0] { @@ -2404,7 +2482,7 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { } } - Class [ <internal:cassandra> <iterateable> final class Cassandra\Collection implements Countable, Iterator, Traversable ] { + Class [ <internal:cassandra> <iterateable> final class Cassandra\Collection implements Cassandra\Value, Countable, Iterator, Traversable ] { - Constants [0] { } @@ -2426,7 +2504,7 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { } } - Method [ <internal:cassandra> public method type ] { + Method [ <internal:cassandra, prototype Cassandra\Value> public method type ] { - Parameters [0] { } @@ -2504,9 +2582,181 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { } } + Class [ <internal:cassandra> <iterateable> final class Cassandra\Tuple implements Cassandra\Value, Countable, Iterator, Traversable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [11] { + Method [ <internal:cassandra, ctor> public method __construct ] { + + - Parameters [1] { + Parameter #0 [ <required> $type ] + } + } + + Method [ <internal:cassandra, prototype Cassandra\Value> public method type ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra> public method values ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra> public method set ] { + + - Parameters [1] { + Parameter #0 [ <required> $value ] + } + } + + Method [ <internal:cassandra> public method get ] { + + - Parameters [1] { + Parameter #0 [ <required> $index ] + } + } + + Method [ <internal:cassandra, prototype Countable> public method count ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Iterator> public method current ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Iterator> public method key ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Iterator> public method next ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Iterator> public method valid ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Iterator> public method rewind ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:cassandra> <iterateable> final class Cassandra\UserTypeValue implements Cassandra\Value, Countable, Iterator, Traversable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [11] { + Method [ <internal:cassandra, ctor> public method __construct ] { + + - Parameters [1] { + Parameter #0 [ <required> $type ] + } + } + + Method [ <internal:cassandra, prototype Cassandra\Value> public method type ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra> public method values ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra> public method set ] { + + - Parameters [1] { + Parameter #0 [ <required> $value ] + } + } + + Method [ <internal:cassandra> public method get ] { + + - Parameters [1] { + Parameter #0 [ <required> $index ] + } + } + + Method [ <internal:cassandra, prototype Countable> public method count ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Iterator> public method current ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Iterator> public method key ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Iterator> public method next ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Iterator> public method valid ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Iterator> public method rewind ] { + + - Parameters [0] { + } + } + } + } + Class [ <internal:cassandra> class Cassandra ] { - - Constants [41] { + - Constants [42] { Constant [ integer CONSISTENCY_ANY ] { 0 } Constant [ integer CONSISTENCY_ONE ] { 1 } Constant [ integer CONSISTENCY_TWO ] { 2 } @@ -2547,7 +2797,8 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { Constant [ string TYPE_VARINT ] { varint } Constant [ string TYPE_TIMEUUID ] { timeuuid } Constant [ string TYPE_INET ] { inet } - Constant [ string VERSION ] { 1.0.0 } + Constant [ string VERSION ] { 1.1.0 } + Constant [ string CPP_DRIVER_VERSION ] { 2.2.2 } } - Static properties [0] { @@ -2619,7 +2870,7 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { - Properties [0] { } - - Methods [21] { + - Methods [24] { Method [ <internal:cassandra> public method build ] { - Parameters [0] { @@ -2768,6 +3019,27 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { Parameter #0 [ <required> $delay ] } } + + Method [ <internal:cassandra> public method withRetryPolicy ] { + + - Parameters [1] { + Parameter #0 [ <required> Cassandra\RetryPolicy $policy ] + } + } + + Method [ <internal:cassandra> public method withTimestampGenerator ] { + + - Parameters [1] { + Parameter #0 [ <required> Cassandra\TimestampGenerator $generator ] + } + } + + Method [ <internal:cassandra> public method withSchemaMetadata ] { + + - Parameters [1] { + Parameter #0 [ <optional> $enabled ] + } + } } } @@ -3292,7 +3564,7 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { - Properties [0] { } - - Methods [15] { + - Methods [16] { Method [ <internal:cassandra, ctor> public method __construct ] { - Parameters [0] { @@ -3383,6 +3655,12 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { } } + Method [ <internal:cassandra> public method pagingStateToken ] { + + - Parameters [0] { + } + } + Method [ <internal:cassandra> public method first ] { - Parameters [0] { @@ -3465,7 +3743,7 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { - Properties [0] { } - - Methods [6] { + - Methods [8] { Method [ <internal:cassandra> abstract public method name ] { - Parameters [0] { @@ -3502,6 +3780,19 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { - Parameters [0] { } } + + Method [ <internal:cassandra> abstract public method userType ] { + + - Parameters [1] { + Parameter #0 [ <required> $name ] + } + } + + Method [ <internal:cassandra> abstract public method userTypes ] { + + - Parameters [0] { + } + } } } @@ -3519,7 +3810,7 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { - Properties [0] { } - - Methods [6] { + - Methods [8] { Method [ <internal:cassandra, prototype Cassandra\Keyspace> public method name ] { - Parameters [0] { @@ -3556,6 +3847,19 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { - Parameters [0] { } } + + Method [ <internal:cassandra, prototype Cassandra\Keyspace> public method userType ] { + + - Parameters [1] { + Parameter #0 [ <required> $name ] + } + } + + Method [ <internal:cassandra, prototype Cassandra\Keyspace> public method userTypes ] { + + - Parameters [0] { + } + } } } @@ -3961,7 +4265,7 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { - Static properties [0] { } - - Static methods [19] { + - Static methods [21] { Method [ <internal:cassandra> final static public method ascii ] { - Parameters [0] { @@ -4079,6 +4383,20 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { Parameter #1 [ <required> Cassandra\Type $valueType ] } } + + Method [ <internal:cassandra> final static public method tuple ] { + + - Parameters [1] { + Parameter #0 [ <optional> $types ] + } + } + + Method [ <internal:cassandra> final static public method userType ] { + + - Parameters [1] { + Parameter #0 [ <optional> $types ] + } + } } - Properties [0] { @@ -4100,7 +4418,7 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { Method [ <internal:cassandra> abstract public method create ] { - Parameters [1] { - Parameter #0 [ <optional> $value ] + Parameter #0 [ <optional> $values ] } } } @@ -4114,7 +4432,7 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { - Static properties [0] { } - - Static methods [19] { + - Static methods [21] { Method [ <internal:cassandra, inherits Cassandra\Type> final static public method ascii ] { - Parameters [0] { @@ -4232,12 +4550,32 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { Parameter #1 [ <required> Cassandra\Type $valueType ] } } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method tuple ] { + + - Parameters [1] { + Parameter #0 [ <optional> $types ] + } + } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method userType ] { + + - Parameters [1] { + Parameter #0 [ <optional> $types ] + } + } } - Properties [0] { } - - Methods [3] { + - Methods [4] { + Method [ <internal:cassandra, ctor> public method __construct ] { + + - Parameters [0] { + } + } + Method [ <internal:cassandra, prototype Cassandra\Type> public method name ] { - Parameters [0] { @@ -4267,7 +4605,7 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { - Static properties [0] { } - - Static methods [19] { + - Static methods [21] { Method [ <internal:cassandra, inherits Cassandra\Type> final static public method ascii ] { - Parameters [0] { @@ -4385,19 +4723,39 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { Parameter #1 [ <required> Cassandra\Type $valueType ] } } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method tuple ] { + + - Parameters [1] { + Parameter #0 [ <optional> $types ] + } + } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method userType ] { + + - Parameters [1] { + Parameter #0 [ <optional> $types ] + } + } } - Properties [0] { } - - Methods [4] { + - Methods [5] { + Method [ <internal:cassandra, ctor> public method __construct ] { + + - Parameters [0] { + } + } + Method [ <internal:cassandra, prototype Cassandra\Type> public method name ] { - Parameters [0] { } } - Method [ <internal:cassandra> public method type ] { + Method [ <internal:cassandra> public method valueType ] { - Parameters [0] { } @@ -4426,7 +4784,7 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { - Static properties [0] { } - - Static methods [19] { + - Static methods [21] { Method [ <internal:cassandra, inherits Cassandra\Type> final static public method ascii ] { - Parameters [0] { @@ -4544,19 +4902,39 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { Parameter #1 [ <required> Cassandra\Type $valueType ] } } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method tuple ] { + + - Parameters [1] { + Parameter #0 [ <optional> $types ] + } + } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method userType ] { + + - Parameters [1] { + Parameter #0 [ <optional> $types ] + } + } } - Properties [0] { } - - Methods [4] { + - Methods [5] { + Method [ <internal:cassandra, ctor> public method __construct ] { + + - Parameters [0] { + } + } + Method [ <internal:cassandra, prototype Cassandra\Type> public method name ] { - Parameters [0] { } } - Method [ <internal:cassandra> public method type ] { + Method [ <internal:cassandra> public method valueType ] { - Parameters [0] { } @@ -4585,7 +4963,7 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { - Static properties [0] { } - - Static methods [19] { + - Static methods [21] { Method [ <internal:cassandra, inherits Cassandra\Type> final static public method ascii ] { - Parameters [0] { @@ -4703,12 +5081,32 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { Parameter #1 [ <required> Cassandra\Type $valueType ] } } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method tuple ] { + + - Parameters [1] { + Parameter #0 [ <optional> $types ] + } + } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method userType ] { + + - Parameters [1] { + Parameter #0 [ <optional> $types ] + } + } } - Properties [0] { } - - Methods [5] { + - Methods [6] { + Method [ <internal:cassandra, ctor> public method __construct ] { + + - Parameters [0] { + } + } + Method [ <internal:cassandra, prototype Cassandra\Type> public method name ] { - Parameters [0] { @@ -4742,6 +5140,384 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { } } + Class [ <internal:cassandra> final class Cassandra\Type\Tuple implements Cassandra\Type ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [21] { + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method ascii ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method bigint ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method blob ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method boolean ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method counter ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method decimal ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method double ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method float ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method int ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method text ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method timestamp ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method uuid ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method varchar ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method varint ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method timeuuid ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method inet ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method collection ] { + + - Parameters [1] { + Parameter #0 [ <required> Cassandra\Type $type ] + } + } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method set ] { + + - Parameters [1] { + Parameter #0 [ <required> Cassandra\Type $type ] + } + } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method map ] { + + - Parameters [2] { + Parameter #0 [ <required> Cassandra\Type $keyType ] + Parameter #1 [ <required> Cassandra\Type $valueType ] + } + } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method tuple ] { + + - Parameters [1] { + Parameter #0 [ <optional> $types ] + } + } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method userType ] { + + - Parameters [1] { + Parameter #0 [ <optional> $types ] + } + } + } + + - Properties [0] { + } + + - Methods [5] { + Method [ <internal:cassandra, ctor> public method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Cassandra\Type> public method name ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Cassandra\Type> public method __toString ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra> public method types ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Cassandra\Type> public method create ] { + + - Parameters [1] { + Parameter #0 [ <optional> $values ] + } + } + } + } + + Class [ <internal:cassandra> final class Cassandra\Type\UserType implements Cassandra\Type ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [21] { + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method ascii ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method bigint ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method blob ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method boolean ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method counter ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method decimal ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method double ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method float ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method int ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method text ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method timestamp ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method uuid ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method varchar ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method varint ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method timeuuid ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method inet ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method collection ] { + + - Parameters [1] { + Parameter #0 [ <required> Cassandra\Type $type ] + } + } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method set ] { + + - Parameters [1] { + Parameter #0 [ <required> Cassandra\Type $type ] + } + } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method map ] { + + - Parameters [2] { + Parameter #0 [ <required> Cassandra\Type $keyType ] + Parameter #1 [ <required> Cassandra\Type $valueType ] + } + } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method tuple ] { + + - Parameters [1] { + Parameter #0 [ <optional> $types ] + } + } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method userType ] { + + - Parameters [1] { + Parameter #0 [ <optional> $types ] + } + } + } + + - Properties [0] { + } + + - Methods [8] { + Method [ <internal:cassandra, ctor> public method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra> public method withName ] { + + - Parameters [1] { + Parameter #0 [ <required> $name ] + } + } + + Method [ <internal:cassandra, prototype Cassandra\Type> public method name ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra> public method withKeyspace ] { + + - Parameters [1] { + Parameter #0 [ <required> $keyspace ] + } + } + + Method [ <internal:cassandra> public method keyspace ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Cassandra\Type> public method __toString ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra> public method types ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Cassandra\Type> public method create ] { + + - Parameters [1] { + Parameter #0 [ <optional> $value ] + } + } + } + } + Class [ <internal:cassandra> final class Cassandra\Type\Custom implements Cassandra\Type ] { - Constants [0] { @@ -4750,7 +5526,7 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { - Static properties [0] { } - - Static methods [19] { + - Static methods [21] { Method [ <internal:cassandra, inherits Cassandra\Type> final static public method ascii ] { - Parameters [0] { @@ -4868,12 +5644,32 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { Parameter #1 [ <required> Cassandra\Type $valueType ] } } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method tuple ] { + + - Parameters [1] { + Parameter #0 [ <optional> $types ] + } + } + + Method [ <internal:cassandra, inherits Cassandra\Type> final static public method userType ] { + + - Parameters [1] { + Parameter #0 [ <optional> $types ] + } + } } - Properties [0] { } - - Methods [3] { + - Methods [4] { + Method [ <internal:cassandra, ctor> public method __construct ] { + + - Parameters [0] { + } + } + Method [ <internal:cassandra, prototype Cassandra\Type> public method name ] { - Parameters [0] { @@ -4894,6 +5690,156 @@ Extension [ <persistent> extension #82 cassandra version 1.0.0 ] { } } } + + Interface [ <internal:cassandra> interface Cassandra\RetryPolicy ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ <internal:cassandra> final class Cassandra\RetryPolicy\DefaultPolicy implements Cassandra\RetryPolicy ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ <internal:cassandra> final class Cassandra\RetryPolicy\DowngradingConsistency implements Cassandra\RetryPolicy ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ <internal:cassandra> final class Cassandra\RetryPolicy\Fallthrough implements Cassandra\RetryPolicy ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ <internal:cassandra> final class Cassandra\RetryPolicy\Logging implements Cassandra\RetryPolicy ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [1] { + Method [ <internal:cassandra, ctor> public method __construct ] { + + - Parameters [1] { + Parameter #0 [ <required> Cassandra\RetryPolicy $childPolicy ] + } + } + } + } + + Interface [ <internal:cassandra> interface Cassandra\TimestampGenerator ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ <internal:cassandra> final class Cassandra\TimestampGenerator\Monotonic implements Cassandra\TimestampGenerator ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ <internal:cassandra> final class Cassandra\TimestampGenerator\ServerSide implements Cassandra\TimestampGenerator ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } } } diff --git a/php-pecl-cassandra.spec b/php-pecl-cassandra.spec index 8bdb075..a254e09 100644 --- a/php-pecl-cassandra.spec +++ b/php-pecl-cassandra.spec @@ -15,19 +15,16 @@ %endif %{?scl: %scl_package php-pecl-cassandra} -%{!?php_inidir: %global php_inidir %{_sysconfdir}/php.d} -%{!?__pecl: %global __pecl %{_bindir}/pecl} -%{!?__php: %global __php %{_bindir}/php} %global pecl_name cassandra -%global with_zts 0%{?__ztsphp:1} +%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} #global prever RC # see https://github.com/datastax/php-driver/releases #global gh_commit 2b0642b1d6fc451f0481edaf0163e3e5bbf896ec -#global gh_short %(c=%{gh_commit}; echo ${c:0:7}) +#global gh_short %%(c=%%{gh_commit}; echo ${c:0:7}) %global gh_owner datastax %global gh_project php-driver -%global with_tests 0%{!?_without_tests:1} +%global with_tests 0%{!?_without_zts:%{?__ztsphp:1}} %if "%{php_version}" < "5.6" %global ini_name %{pecl_name}.ini %else @@ -39,7 +36,7 @@ Summary: DataStax PHP Driver for Apache Cassandra Name: %{?sub_prefix}php-pecl-%{pecl_name} -Version: 1.0.1 +Version: 1.1.0 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: ASL 2.0 Group: Development/Languages @@ -53,7 +50,8 @@ Source: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz %endif BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: %{?scl_prefix}php-devel >= 5.2.6 +# Upstream recommends php >= 5.5 +BuildRequires: %{?scl_prefix}php-devel BuildRequires: %{?scl_prefix}php-pear BuildRequires: cassandra-cpp-driver-devel BuildRequires: libuv-devel @@ -68,6 +66,8 @@ Provides: %{?scl_prefix}php-%{pecl_name} = %{version} Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version} Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version} Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version} +Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{release} +Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release} %if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} # Other third party repo stuff @@ -83,6 +83,10 @@ Obsoletes: php55w-pecl-%{pecl_name} <= %{version} Obsoletes: php56u-pecl-%{pecl_name} <= %{version} Obsoletes: php56w-pecl-%{pecl_name} <= %{version} %endif +%if "%{php_version}" > "7.0" +Obsoletes: php70u-pecl-%{pecl_name} <= %{version} +Obsoletes: php70w-pecl-%{pecl_name} <= %{version} +%endif %endif %if 0%{?fedora} < 20 && 0%{?rhel} < 7 @@ -110,7 +114,9 @@ mv %{pecl_name}-%{version}%{?prever} NTS %endif # Don't install/register tests -sed -e 's/role="test"/role="src"/' -i package.xml +sed -e 's/role="test"/role="src"/' \ + %{?_licensedir:-e '/LICENSE/s/role="doc"/role="src"/' } \ + -i package.xml cd NTS # Sanity check, really often broken @@ -179,6 +185,7 @@ done rm -rf %{buildroot} +%if 0%{?fedora} < 24 # when pear installed alone, after us %triggerin -- %{?scl_prefix}php-pear if [ -x %{__pecl} ] ; then @@ -195,6 +202,7 @@ fi if [ $1 -eq 0 -a -x %{__pecl} ] ; then %{pecl_uninstall} %{pecl_name} >/dev/null || : fi +%endif %check @@ -247,6 +255,9 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Fri Feb 12 2016 Remi Collet <remi@fedoraproject.org> - 1.1.0-1 +- Update to 1.1.0 + * Thu Nov 26 2015 Remi Collet <remi@fedoraproject.org> - 1.0.1-1 - Update to 1.0.1 |