From fb594681cd54320dd7b0e00d4d793d4579a1d3cc Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 12 Feb 2016 07:22:22 +0100 Subject: php-pecl-cassandra: 1.1.0 --- REFLECTION | 1250 +++++++++++++++++++++++++++++++++++++++++------ php-pecl-cassandra.spec | 29 +- 2 files changed, 1118 insertions(+), 161 deletions(-) diff --git a/REFLECTION b/REFLECTION index c8e7e20..dcfe0ea 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #82 cassandra version 1.0.0 ] { +Extension [ extension #82 cassandra version 1.1.0 ] { - Dependencies { Dependency [ spl (Required) ] @@ -13,7 +13,7 @@ Extension [ extension #82 cassandra version 1.0.0 ] { } } - - Classes [73] { + - Classes [86] { Interface [ interface Cassandra\Exception ] { - Constants [0] { @@ -1400,6 +1400,29 @@ Extension [ extension #82 cassandra version 1.0.0 ] { } } + Interface [ interface Cassandra\Value ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [1] { + Method [ abstract public method type ] { + + - Parameters [0] { + } + } + } + } + Interface [ interface Cassandra\Numeric ] { - Constants [0] { @@ -1482,7 +1505,7 @@ Extension [ extension #82 cassandra version 1.0.0 ] { } } - Class [ final class Cassandra\Bigint implements Cassandra\Numeric ] { + Class [ final class Cassandra\Bigint implements Cassandra\Value, Cassandra\Numeric ] { - Constants [0] { } @@ -1507,7 +1530,7 @@ Extension [ extension #82 cassandra version 1.0.0 ] { - Properties [0] { } - - Methods [13] { + - Methods [14] { Method [ public method __construct ] { - Parameters [1] { @@ -1521,6 +1544,12 @@ Extension [ extension #82 cassandra version 1.0.0 ] { } } + Method [ public method type ] { + + - Parameters [0] { + } + } + Method [ public method value ] { - Parameters [0] { @@ -1594,7 +1623,7 @@ Extension [ extension #82 cassandra version 1.0.0 ] { } } - Class [ final class Cassandra\Blob ] { + Class [ final class Cassandra\Blob implements Cassandra\Value ] { - Constants [0] { } @@ -1608,7 +1637,7 @@ Extension [ extension #82 cassandra version 1.0.0 ] { - Properties [0] { } - - Methods [4] { + - Methods [5] { Method [ public method __construct ] { - Parameters [1] { @@ -1622,6 +1651,12 @@ Extension [ extension #82 cassandra version 1.0.0 ] { } } + Method [ public method type ] { + + - Parameters [0] { + } + } + Method [ public method bytes ] { - Parameters [0] { @@ -1636,7 +1671,7 @@ Extension [ extension #82 cassandra version 1.0.0 ] { } } - Class [ final class Cassandra\Decimal implements Cassandra\Numeric ] { + Class [ final class Cassandra\Decimal implements Cassandra\Value, Cassandra\Numeric ] { - Constants [0] { } @@ -1650,7 +1685,7 @@ Extension [ extension #82 cassandra version 1.0.0 ] { - Properties [0] { } - - Methods [14] { + - Methods [15] { Method [ public method __construct ] { - Parameters [1] { @@ -1664,6 +1699,12 @@ Extension [ extension #82 cassandra version 1.0.0 ] { } } + Method [ public method type ] { + + - Parameters [0] { + } + } + Method [ public method value ] { - Parameters [0] { @@ -1743,7 +1784,7 @@ Extension [ extension #82 cassandra version 1.0.0 ] { } } - Class [ final class Cassandra\Float implements Cassandra\Numeric ] { + Class [ final class Cassandra\Float implements Cassandra\Value, Cassandra\Numeric ] { - Constants [0] { } @@ -1768,7 +1809,7 @@ Extension [ extension #82 cassandra version 1.0.0 ] { - Properties [0] { } - - Methods [16] { + - Methods [17] { Method [ public method __construct ] { - Parameters [1] { @@ -1782,6 +1823,12 @@ Extension [ extension #82 cassandra version 1.0.0 ] { } } + Method [ public method type ] { + + - Parameters [0] { + } + } + Method [ public method value ] { - Parameters [0] { @@ -1873,7 +1920,7 @@ Extension [ extension #82 cassandra version 1.0.0 ] { } } - Class [ final class Cassandra\Inet ] { + Class [ final class Cassandra\Inet implements Cassandra\Value ] { - Constants [0] { } @@ -1887,7 +1934,7 @@ Extension [ extension #82 cassandra version 1.0.0 ] { - Properties [0] { } - - Methods [3] { + - Methods [4] { Method [ public method __construct ] { - Parameters [1] { @@ -1901,6 +1948,12 @@ Extension [ extension #82 cassandra version 1.0.0 ] { } } + Method [ public method type ] { + + - Parameters [0] { + } + } + Method [ public method address ] { - Parameters [0] { @@ -1909,7 +1962,7 @@ Extension [ extension #82 cassandra version 1.0.0 ] { } } - Class [ final class Cassandra\Timestamp ] { + Class [ final class Cassandra\Timestamp implements Cassandra\Value ] { - Constants [0] { } @@ -1923,7 +1976,7 @@ Extension [ extension #82 cassandra version 1.0.0 ] { - Properties [0] { } - - Methods [5] { + - Methods [6] { Method [ public method __construct ] { - Parameters [2] { @@ -1932,6 +1985,12 @@ Extension [ extension #82 cassandra version 1.0.0 ] { } } + Method [ public method type ] { + + - Parameters [0] { + } + } + Method [ public method time ] { } @@ -1979,7 +2038,7 @@ Extension [ extension #82 cassandra version 1.0.0 ] { } } - Class [ final class Cassandra\Timeuuid implements Cassandra\UuidInterface ] { + Class [ final class Cassandra\Timeuuid implements Cassandra\Value, Cassandra\UuidInterface ] { - Constants [0] { } @@ -1993,7 +2052,7 @@ Extension [ extension #82 cassandra version 1.0.0 ] { - Properties [0] { } - - Methods [6] { + - Methods [7] { Method [ public method __construct ] { - Parameters [1] { @@ -2007,6 +2066,12 @@ Extension [ extension #82 cassandra version 1.0.0 ] { } } + Method [ public method type ] { + + - Parameters [0] { + } + } + Method [ public method uuid ] { - Parameters [0] { @@ -2033,7 +2098,7 @@ Extension [ extension #82 cassandra version 1.0.0 ] { } } - Class [ final class Cassandra\Uuid implements Cassandra\UuidInterface ] { + Class [ final class Cassandra\Uuid implements Cassandra\Value, Cassandra\UuidInterface ] { - Constants [0] { } @@ -2047,7 +2112,7 @@ Extension [ extension #82 cassandra version 1.0.0 ] { - Properties [0] { } - - Methods [4] { + - Methods [5] { Method [ public method __construct ] { - Parameters [1] { @@ -2061,6 +2126,12 @@ Extension [ extension #82 cassandra version 1.0.0 ] { } } + Method [ public method type ] { + + - Parameters [0] { + } + } + Method [ public method uuid ] { - Parameters [0] { @@ -2075,7 +2146,7 @@ Extension [ extension #82 cassandra version 1.0.0 ] { } } - Class [ final class Cassandra\Varint implements Cassandra\Numeric ] { + Class [ final class Cassandra\Varint implements Cassandra\Value, Cassandra\Numeric ] { - Constants [0] { } @@ -2089,7 +2160,7 @@ Extension [ extension #82 cassandra version 1.0.0 ] { - Properties [0] { } - - Methods [13] { + - Methods [14] { Method [ public method __construct ] { - Parameters [1] { @@ -2103,6 +2174,12 @@ Extension [ extension #82 cassandra version 1.0.0 ] { } } + Method [ public method type ] { + + - Parameters [0] { + } + } + Method [ public method value ] { - Parameters [0] { @@ -2176,7 +2253,7 @@ Extension [ extension #82 cassandra version 1.0.0 ] { } } - Class [ final class Cassandra\Set implements Countable, Iterator, Traversable ] { + Class [ final class Cassandra\Set implements Cassandra\Value, Countable, Iterator, Traversable ] { - Constants [0] { } @@ -2190,7 +2267,7 @@ Extension [ extension #82 cassandra version 1.0.0 ] { - Properties [0] { } - - Methods [11] { + - Methods [12] { Method [ public method __construct ] { - Parameters [1] { @@ -2198,7 +2275,7 @@ Extension [ extension #82 cassandra version 1.0.0 ] { } } - Method [ public method type ] { + Method [ public method type ] { - Parameters [0] { } @@ -2217,6 +2294,13 @@ Extension [ extension #82 cassandra version 1.0.0 ] { } } + Method [ public method has ] { + + - Parameters [1] { + Parameter #0 [ $value ] + } + } + Method [ public method remove ] { - Parameters [1] { @@ -2262,7 +2346,7 @@ Extension [ extension #82 cassandra version 1.0.0 ] { } } - Class [ final class Cassandra\Map implements Countable, Iterator, Traversable, ArrayAccess ] { + Class [ final class Cassandra\Map implements Cassandra\Value, Countable, Iterator, Traversable, ArrayAccess ] { - Constants [0] { } @@ -2276,7 +2360,7 @@ Extension [ extension #82 cassandra version 1.0.0 ] { - Properties [0] { } - - Methods [19] { + - Methods [18] { Method [ public method __construct ] { - Parameters [1] { @@ -2284,7 +2368,7 @@ Extension [ extension #82 cassandra version 1.0.0 ] { } } - Method [ public method keyType ] { + Method [ public method type ] { - Parameters [0] { } @@ -2296,12 +2380,6 @@ Extension [ extension #82 cassandra version 1.0.0 ] { } } - Method [ public method valueType ] { - - - Parameters [0] { - } - } - Method [ public method values ] { - Parameters [0] { @@ -2404,7 +2482,7 @@ Extension [ extension #82 cassandra version 1.0.0 ] { } } - Class [ final class Cassandra\Collection implements Countable, Iterator, Traversable ] { + Class [ final class Cassandra\Collection implements Cassandra\Value, Countable, Iterator, Traversable ] { - Constants [0] { } @@ -2426,7 +2504,7 @@ Extension [ extension #82 cassandra version 1.0.0 ] { } } - Method [ public method type ] { + Method [ public method type ] { - Parameters [0] { } @@ -2504,108 +2582,93 @@ Extension [ extension #82 cassandra version 1.0.0 ] { } } - Class [ class Cassandra ] { + Class [ final class Cassandra\Tuple implements Cassandra\Value, Countable, Iterator, Traversable ] { - - Constants [41] { - Constant [ integer CONSISTENCY_ANY ] { 0 } - Constant [ integer CONSISTENCY_ONE ] { 1 } - Constant [ integer CONSISTENCY_TWO ] { 2 } - Constant [ integer CONSISTENCY_THREE ] { 3 } - Constant [ integer CONSISTENCY_QUORUM ] { 4 } - Constant [ integer CONSISTENCY_ALL ] { 5 } - Constant [ integer CONSISTENCY_LOCAL_QUORUM ] { 6 } - Constant [ integer CONSISTENCY_EACH_QUORUM ] { 7 } - Constant [ integer CONSISTENCY_SERIAL ] { 8 } - Constant [ integer CONSISTENCY_LOCAL_SERIAL ] { 9 } - Constant [ integer CONSISTENCY_LOCAL_ONE ] { 10 } - Constant [ integer VERIFY_NONE ] { 0 } - Constant [ integer VERIFY_PEER_CERT ] { 1 } - Constant [ integer VERIFY_PEER_IDENTITY ] { 2 } - Constant [ integer BATCH_LOGGED ] { 0 } - Constant [ integer BATCH_UNLOGGED ] { 1 } - Constant [ integer BATCH_COUNTER ] { 2 } - Constant [ integer LOG_DISABLED ] { 0 } - Constant [ integer LOG_CRITICAL ] { 1 } - Constant [ integer LOG_ERROR ] { 2 } - Constant [ integer LOG_WARN ] { 3 } - Constant [ integer LOG_INFO ] { 4 } - Constant [ integer LOG_DEBUG ] { 5 } - Constant [ integer LOG_TRACE ] { 6 } - Constant [ string TYPE_TEXT ] { text } - Constant [ string TYPE_ASCII ] { ascii } - Constant [ string TYPE_VARCHAR ] { varchar } - Constant [ string TYPE_BIGINT ] { bigint } - Constant [ string TYPE_BLOB ] { blob } - Constant [ string TYPE_BOOLEAN ] { boolean } - Constant [ string TYPE_COUNTER ] { counter } - Constant [ string TYPE_DECIMAL ] { decimal } - Constant [ string TYPE_DOUBLE ] { double } - Constant [ string TYPE_FLOAT ] { float } - Constant [ string TYPE_INT ] { int } - Constant [ string TYPE_TIMESTAMP ] { timestamp } - Constant [ string TYPE_UUID ] { uuid } - Constant [ string TYPE_VARINT ] { varint } - Constant [ string TYPE_TIMEUUID ] { timeuuid } - Constant [ string TYPE_INET ] { inet } - Constant [ string VERSION ] { 1.0.0 } + - Constants [0] { } - Static properties [0] { } - - Static methods [2] { - Method [ static public method cluster ] { + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [11] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ $type ] + } + } + + Method [ public method type ] { - Parameters [0] { } } - Method [ static public method ssl ] { + Method [ public method values ] { - Parameters [0] { } } - } - - Properties [0] { - } + Method [ public method set ] { - - Methods [0] { - } - } + - Parameters [1] { + Parameter #0 [ $value ] + } + } - Interface [ interface Cassandra\Cluster ] { + Method [ public method get ] { - - Constants [0] { - } + - Parameters [1] { + Parameter #0 [ $index ] + } + } - - Static properties [0] { - } + Method [ public method count ] { - - Static methods [0] { - } + - Parameters [0] { + } + } - - Properties [0] { - } + Method [ public method current ] { - - Methods [2] { - Method [ abstract public method connect ] { + - Parameters [0] { + } + } - - Parameters [1] { - Parameter #0 [ $keyspace ] + Method [ public method key ] { + + - Parameters [0] { } } - Method [ abstract public method connectAsync ] { + Method [ public method next ] { - - Parameters [1] { - Parameter #0 [ $keyspace ] + - Parameters [0] { + } + } + + Method [ public method valid ] { + + - Parameters [0] { + } + } + + Method [ public method rewind ] { + + - Parameters [0] { } } } } - Class [ final class Cassandra\Cluster\Builder ] { + Class [ final class Cassandra\UserTypeValue implements Cassandra\Value, Countable, Iterator, Traversable ] { - Constants [0] { } @@ -2619,64 +2682,252 @@ Extension [ extension #82 cassandra version 1.0.0 ] { - Properties [0] { } - - Methods [21] { - Method [ public method build ] { + - Methods [11] { + Method [ public method __construct ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ $type ] } } - Method [ public method withDefaultConsistency ] { + Method [ public method type ] { - - Parameters [1] { - Parameter #0 [ $consistency ] + - Parameters [0] { } } - Method [ public method withDefaultPageSize ] { + Method [ public method values ] { - - Parameters [1] { - Parameter #0 [ $pageSize ] + - Parameters [0] { } } - Method [ public method withDefaultTimeout ] { + Method [ public method set ] { - Parameters [1] { - Parameter #0 [ $timeout ] + Parameter #0 [ $value ] } } - Method [ public method withContactPoints ] { + Method [ public method get ] { - Parameters [1] { - Parameter #0 [ $host ] + Parameter #0 [ $index ] } } - Method [ public method withPort ] { + Method [ public method count ] { - - Parameters [1] { - Parameter #0 [ $port ] + - Parameters [0] { } } - Method [ public method withRoundRobinLoadBalancingPolicy ] { + Method [ public method current ] { - Parameters [0] { } } - Method [ public method withDatacenterAwareRoundRobinLoadBalancingPolicy ] { + Method [ public method key ] { - - Parameters [3] { - Parameter #0 [ $localDatacenter ] - Parameter #1 [ $hostPerRemoteDatacenter ] - Parameter #2 [ $useRemoteDatacenterForLocalConsistencies ] + - Parameters [0] { } } - Method [ public method withTokenAwareRouting ] { + Method [ public method next ] { + + - Parameters [0] { + } + } + + Method [ public method valid ] { + + - Parameters [0] { + } + } + + Method [ public method rewind ] { + + - Parameters [0] { + } + } + } + } + + Class [ class Cassandra ] { + + - Constants [42] { + Constant [ integer CONSISTENCY_ANY ] { 0 } + Constant [ integer CONSISTENCY_ONE ] { 1 } + Constant [ integer CONSISTENCY_TWO ] { 2 } + Constant [ integer CONSISTENCY_THREE ] { 3 } + Constant [ integer CONSISTENCY_QUORUM ] { 4 } + Constant [ integer CONSISTENCY_ALL ] { 5 } + Constant [ integer CONSISTENCY_LOCAL_QUORUM ] { 6 } + Constant [ integer CONSISTENCY_EACH_QUORUM ] { 7 } + Constant [ integer CONSISTENCY_SERIAL ] { 8 } + Constant [ integer CONSISTENCY_LOCAL_SERIAL ] { 9 } + Constant [ integer CONSISTENCY_LOCAL_ONE ] { 10 } + Constant [ integer VERIFY_NONE ] { 0 } + Constant [ integer VERIFY_PEER_CERT ] { 1 } + Constant [ integer VERIFY_PEER_IDENTITY ] { 2 } + Constant [ integer BATCH_LOGGED ] { 0 } + Constant [ integer BATCH_UNLOGGED ] { 1 } + Constant [ integer BATCH_COUNTER ] { 2 } + Constant [ integer LOG_DISABLED ] { 0 } + Constant [ integer LOG_CRITICAL ] { 1 } + Constant [ integer LOG_ERROR ] { 2 } + Constant [ integer LOG_WARN ] { 3 } + Constant [ integer LOG_INFO ] { 4 } + Constant [ integer LOG_DEBUG ] { 5 } + Constant [ integer LOG_TRACE ] { 6 } + Constant [ string TYPE_TEXT ] { text } + Constant [ string TYPE_ASCII ] { ascii } + Constant [ string TYPE_VARCHAR ] { varchar } + Constant [ string TYPE_BIGINT ] { bigint } + Constant [ string TYPE_BLOB ] { blob } + Constant [ string TYPE_BOOLEAN ] { boolean } + Constant [ string TYPE_COUNTER ] { counter } + Constant [ string TYPE_DECIMAL ] { decimal } + Constant [ string TYPE_DOUBLE ] { double } + Constant [ string TYPE_FLOAT ] { float } + Constant [ string TYPE_INT ] { int } + Constant [ string TYPE_TIMESTAMP ] { timestamp } + Constant [ string TYPE_UUID ] { uuid } + Constant [ string TYPE_VARINT ] { varint } + Constant [ string TYPE_TIMEUUID ] { timeuuid } + Constant [ string TYPE_INET ] { inet } + Constant [ string VERSION ] { 1.1.0 } + Constant [ string CPP_DRIVER_VERSION ] { 2.2.2 } + } + + - Static properties [0] { + } + + - Static methods [2] { + Method [ static public method cluster ] { + + - Parameters [0] { + } + } + + Method [ static public method ssl ] { + + - Parameters [0] { + } + } + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Interface [ interface Cassandra\Cluster ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [2] { + Method [ abstract public method connect ] { + + - Parameters [1] { + Parameter #0 [ $keyspace ] + } + } + + Method [ abstract public method connectAsync ] { + + - Parameters [1] { + Parameter #0 [ $keyspace ] + } + } + } + } + + Class [ final class Cassandra\Cluster\Builder ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [24] { + Method [ public method build ] { + + - Parameters [0] { + } + } + + Method [ public method withDefaultConsistency ] { + + - Parameters [1] { + Parameter #0 [ $consistency ] + } + } + + Method [ public method withDefaultPageSize ] { + + - Parameters [1] { + Parameter #0 [ $pageSize ] + } + } + + Method [ public method withDefaultTimeout ] { + + - Parameters [1] { + Parameter #0 [ $timeout ] + } + } + + Method [ public method withContactPoints ] { + + - Parameters [1] { + Parameter #0 [ $host ] + } + } + + Method [ public method withPort ] { + + - Parameters [1] { + Parameter #0 [ $port ] + } + } + + Method [ public method withRoundRobinLoadBalancingPolicy ] { + + - Parameters [0] { + } + } + + Method [ public method withDatacenterAwareRoundRobinLoadBalancingPolicy ] { + + - Parameters [3] { + Parameter #0 [ $localDatacenter ] + Parameter #1 [ $hostPerRemoteDatacenter ] + Parameter #2 [ $useRemoteDatacenterForLocalConsistencies ] + } + } + + Method [ public method withTokenAwareRouting ] { - Parameters [1] { Parameter #0 [ $enabled ] @@ -2768,6 +3019,27 @@ Extension [ extension #82 cassandra version 1.0.0 ] { Parameter #0 [ $delay ] } } + + Method [ public method withRetryPolicy ] { + + - Parameters [1] { + Parameter #0 [ Cassandra\RetryPolicy $policy ] + } + } + + Method [ public method withTimestampGenerator ] { + + - Parameters [1] { + Parameter #0 [ Cassandra\TimestampGenerator $generator ] + } + } + + Method [ public method withSchemaMetadata ] { + + - Parameters [1] { + Parameter #0 [ $enabled ] + } + } } } @@ -3292,7 +3564,7 @@ Extension [ extension #82 cassandra version 1.0.0 ] { - Properties [0] { } - - Methods [15] { + - Methods [16] { Method [ public method __construct ] { - Parameters [0] { @@ -3383,6 +3655,12 @@ Extension [ extension #82 cassandra version 1.0.0 ] { } } + Method [ public method pagingStateToken ] { + + - Parameters [0] { + } + } + Method [ public method first ] { - Parameters [0] { @@ -3465,7 +3743,7 @@ Extension [ extension #82 cassandra version 1.0.0 ] { - Properties [0] { } - - Methods [6] { + - Methods [8] { Method [ abstract public method name ] { - Parameters [0] { @@ -3502,6 +3780,19 @@ Extension [ extension #82 cassandra version 1.0.0 ] { - Parameters [0] { } } + + Method [ abstract public method userType ] { + + - Parameters [1] { + Parameter #0 [ $name ] + } + } + + Method [ abstract public method userTypes ] { + + - Parameters [0] { + } + } } } @@ -3519,7 +3810,7 @@ Extension [ extension #82 cassandra version 1.0.0 ] { - Properties [0] { } - - Methods [6] { + - Methods [8] { Method [ public method name ] { - Parameters [0] { @@ -3556,6 +3847,19 @@ Extension [ extension #82 cassandra version 1.0.0 ] { - Parameters [0] { } } + + Method [ public method userType ] { + + - Parameters [1] { + Parameter #0 [ $name ] + } + } + + Method [ public method userTypes ] { + + - Parameters [0] { + } + } } } @@ -3961,7 +4265,7 @@ Extension [ extension #82 cassandra version 1.0.0 ] { - Static properties [0] { } - - Static methods [19] { + - Static methods [21] { Method [ final static public method ascii ] { - Parameters [0] { @@ -4079,6 +4383,20 @@ Extension [ extension #82 cassandra version 1.0.0 ] { Parameter #1 [ Cassandra\Type $valueType ] } } + + Method [ final static public method tuple ] { + + - Parameters [1] { + Parameter #0 [ $types ] + } + } + + Method [ final static public method userType ] { + + - Parameters [1] { + Parameter #0 [ $types ] + } + } } - Properties [0] { @@ -4100,7 +4418,7 @@ Extension [ extension #82 cassandra version 1.0.0 ] { Method [ abstract public method create ] { - Parameters [1] { - Parameter #0 [ $value ] + Parameter #0 [ $values ] } } } @@ -4114,7 +4432,7 @@ Extension [ extension #82 cassandra version 1.0.0 ] { - Static properties [0] { } - - Static methods [19] { + - Static methods [21] { Method [ final static public method ascii ] { - Parameters [0] { @@ -4232,19 +4550,39 @@ Extension [ extension #82 cassandra version 1.0.0 ] { Parameter #1 [ Cassandra\Type $valueType ] } } - } - - Properties [0] { - } - - - Methods [3] { - Method [ public method name ] { + Method [ final static public method tuple ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ $types ] } } - Method [ public method __toString ] { + Method [ final static public method userType ] { + + - Parameters [1] { + Parameter #0 [ $types ] + } + } + } + + - Properties [0] { + } + + - Methods [4] { + Method [ public method __construct ] { + + - Parameters [0] { + } + } + + Method [ public method name ] { + + - Parameters [0] { + } + } + + Method [ public method __toString ] { - Parameters [0] { } @@ -4267,7 +4605,7 @@ Extension [ extension #82 cassandra version 1.0.0 ] { - Static properties [0] { } - - Static methods [19] { + - Static methods [21] { Method [ final static public method ascii ] { - Parameters [0] { @@ -4385,19 +4723,39 @@ Extension [ extension #82 cassandra version 1.0.0 ] { Parameter #1 [ Cassandra\Type $valueType ] } } + + Method [ final static public method tuple ] { + + - Parameters [1] { + Parameter #0 [ $types ] + } + } + + Method [ final static public method userType ] { + + - Parameters [1] { + Parameter #0 [ $types ] + } + } } - Properties [0] { } - - Methods [4] { + - Methods [5] { + Method [ public method __construct ] { + + - Parameters [0] { + } + } + Method [ public method name ] { - Parameters [0] { } } - Method [ public method type ] { + Method [ public method valueType ] { - Parameters [0] { } @@ -4426,7 +4784,7 @@ Extension [ extension #82 cassandra version 1.0.0 ] { - Static properties [0] { } - - Static methods [19] { + - Static methods [21] { Method [ final static public method ascii ] { - Parameters [0] { @@ -4544,19 +4902,39 @@ Extension [ extension #82 cassandra version 1.0.0 ] { Parameter #1 [ Cassandra\Type $valueType ] } } + + Method [ final static public method tuple ] { + + - Parameters [1] { + Parameter #0 [ $types ] + } + } + + Method [ final static public method userType ] { + + - Parameters [1] { + Parameter #0 [ $types ] + } + } } - Properties [0] { } - - Methods [4] { + - Methods [5] { + Method [ public method __construct ] { + + - Parameters [0] { + } + } + Method [ public method name ] { - Parameters [0] { } } - Method [ public method type ] { + Method [ public method valueType ] { - Parameters [0] { } @@ -4585,7 +4963,7 @@ Extension [ extension #82 cassandra version 1.0.0 ] { - Static properties [0] { } - - Static methods [19] { + - Static methods [21] { Method [ final static public method ascii ] { - Parameters [0] { @@ -4703,12 +5081,32 @@ Extension [ extension #82 cassandra version 1.0.0 ] { Parameter #1 [ Cassandra\Type $valueType ] } } + + Method [ final static public method tuple ] { + + - Parameters [1] { + Parameter #0 [ $types ] + } + } + + Method [ final static public method userType ] { + + - Parameters [1] { + Parameter #0 [ $types ] + } + } } - Properties [0] { } - - Methods [5] { + - Methods [6] { + Method [ public method __construct ] { + + - Parameters [0] { + } + } + Method [ public method name ] { - Parameters [0] { @@ -4742,7 +5140,7 @@ Extension [ extension #82 cassandra version 1.0.0 ] { } } - Class [ final class Cassandra\Type\Custom implements Cassandra\Type ] { + Class [ final class Cassandra\Type\Tuple implements Cassandra\Type ] { - Constants [0] { } @@ -4750,7 +5148,7 @@ Extension [ extension #82 cassandra version 1.0.0 ] { - Static properties [0] { } - - Static methods [19] { + - Static methods [21] { Method [ final static public method ascii ] { - Parameters [0] { @@ -4868,12 +5266,32 @@ Extension [ extension #82 cassandra version 1.0.0 ] { Parameter #1 [ Cassandra\Type $valueType ] } } + + Method [ final static public method tuple ] { + + - Parameters [1] { + Parameter #0 [ $types ] + } + } + + Method [ final static public method userType ] { + + - Parameters [1] { + Parameter #0 [ $types ] + } + } } - Properties [0] { } - - Methods [3] { + - Methods [5] { + Method [ public method __construct ] { + + - Parameters [0] { + } + } + Method [ public method name ] { - Parameters [0] { @@ -4886,12 +5304,540 @@ Extension [ extension #82 cassandra version 1.0.0 ] { } } + Method [ public method types ] { + + - Parameters [0] { + } + } + Method [ public method create ] { - Parameters [1] { - Parameter #0 [ $value ] + Parameter #0 [ $values ] + } + } + } + } + + Class [ final class Cassandra\Type\UserType implements Cassandra\Type ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [21] { + Method [ final static public method ascii ] { + + - Parameters [0] { + } + } + + Method [ final static public method bigint ] { + + - Parameters [0] { + } + } + + Method [ final static public method blob ] { + + - Parameters [0] { + } + } + + Method [ final static public method boolean ] { + + - Parameters [0] { + } + } + + Method [ final static public method counter ] { + + - Parameters [0] { + } + } + + Method [ final static public method decimal ] { + + - Parameters [0] { + } + } + + Method [ final static public method double ] { + + - Parameters [0] { + } + } + + Method [ final static public method float ] { + + - Parameters [0] { + } + } + + Method [ final static public method int ] { + + - Parameters [0] { + } + } + + Method [ final static public method text ] { + + - Parameters [0] { + } + } + + Method [ final static public method timestamp ] { + + - Parameters [0] { + } + } + + Method [ final static public method uuid ] { + + - Parameters [0] { + } + } + + Method [ final static public method varchar ] { + + - Parameters [0] { + } + } + + Method [ final static public method varint ] { + + - Parameters [0] { + } + } + + Method [ final static public method timeuuid ] { + + - Parameters [0] { + } + } + + Method [ final static public method inet ] { + + - Parameters [0] { + } + } + + Method [ final static public method collection ] { + + - Parameters [1] { + Parameter #0 [ Cassandra\Type $type ] + } + } + + Method [ final static public method set ] { + + - Parameters [1] { + Parameter #0 [ Cassandra\Type $type ] + } + } + + Method [ final static public method map ] { + + - Parameters [2] { + Parameter #0 [ Cassandra\Type $keyType ] + Parameter #1 [ Cassandra\Type $valueType ] + } + } + + Method [ final static public method tuple ] { + + - Parameters [1] { + Parameter #0 [ $types ] + } + } + + Method [ final static public method userType ] { + + - Parameters [1] { + Parameter #0 [ $types ] + } + } + } + + - Properties [0] { + } + + - Methods [8] { + Method [ public method __construct ] { + + - Parameters [0] { } } + + Method [ public method withName ] { + + - Parameters [1] { + Parameter #0 [ $name ] + } + } + + Method [ public method name ] { + + - Parameters [0] { + } + } + + Method [ public method withKeyspace ] { + + - Parameters [1] { + Parameter #0 [ $keyspace ] + } + } + + Method [ public method keyspace ] { + + - Parameters [0] { + } + } + + Method [ public method __toString ] { + + - Parameters [0] { + } + } + + Method [ public method types ] { + + - Parameters [0] { + } + } + + Method [ public method create ] { + + - Parameters [1] { + Parameter #0 [ $value ] + } + } + } + } + + Class [ final class Cassandra\Type\Custom implements Cassandra\Type ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [21] { + Method [ final static public method ascii ] { + + - Parameters [0] { + } + } + + Method [ final static public method bigint ] { + + - Parameters [0] { + } + } + + Method [ final static public method blob ] { + + - Parameters [0] { + } + } + + Method [ final static public method boolean ] { + + - Parameters [0] { + } + } + + Method [ final static public method counter ] { + + - Parameters [0] { + } + } + + Method [ final static public method decimal ] { + + - Parameters [0] { + } + } + + Method [ final static public method double ] { + + - Parameters [0] { + } + } + + Method [ final static public method float ] { + + - Parameters [0] { + } + } + + Method [ final static public method int ] { + + - Parameters [0] { + } + } + + Method [ final static public method text ] { + + - Parameters [0] { + } + } + + Method [ final static public method timestamp ] { + + - Parameters [0] { + } + } + + Method [ final static public method uuid ] { + + - Parameters [0] { + } + } + + Method [ final static public method varchar ] { + + - Parameters [0] { + } + } + + Method [ final static public method varint ] { + + - Parameters [0] { + } + } + + Method [ final static public method timeuuid ] { + + - Parameters [0] { + } + } + + Method [ final static public method inet ] { + + - Parameters [0] { + } + } + + Method [ final static public method collection ] { + + - Parameters [1] { + Parameter #0 [ Cassandra\Type $type ] + } + } + + Method [ final static public method set ] { + + - Parameters [1] { + Parameter #0 [ Cassandra\Type $type ] + } + } + + Method [ final static public method map ] { + + - Parameters [2] { + Parameter #0 [ Cassandra\Type $keyType ] + Parameter #1 [ Cassandra\Type $valueType ] + } + } + + Method [ final static public method tuple ] { + + - Parameters [1] { + Parameter #0 [ $types ] + } + } + + Method [ final static public method userType ] { + + - Parameters [1] { + Parameter #0 [ $types ] + } + } + } + + - Properties [0] { + } + + - Methods [4] { + Method [ public method __construct ] { + + - Parameters [0] { + } + } + + Method [ public method name ] { + + - Parameters [0] { + } + } + + Method [ public method __toString ] { + + - Parameters [0] { + } + } + + Method [ public method create ] { + + - Parameters [1] { + Parameter #0 [ $value ] + } + } + } + } + + Interface [ interface Cassandra\RetryPolicy ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ final class Cassandra\RetryPolicy\DefaultPolicy implements Cassandra\RetryPolicy ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ final class Cassandra\RetryPolicy\DowngradingConsistency implements Cassandra\RetryPolicy ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ final class Cassandra\RetryPolicy\Fallthrough implements Cassandra\RetryPolicy ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ final class Cassandra\RetryPolicy\Logging implements Cassandra\RetryPolicy ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [1] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ Cassandra\RetryPolicy $childPolicy ] + } + } + } + } + + Interface [ interface Cassandra\TimestampGenerator ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ final class Cassandra\TimestampGenerator\Monotonic implements Cassandra\TimestampGenerator ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ 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 - 1.1.0-1 +- Update to 1.1.0 + * Thu Nov 26 2015 Remi Collet - 1.0.1-1 - Update to 1.0.1 -- cgit