From 99942aa75ebf9b6f3d6315478eb7d5329d437efc Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 16 Mar 2017 15:57:48 +0100 Subject: php-pecl-cassandra: 1.3.0 --- REFLECTION | 373 ++++++++++++++++++++++++++++++++++-------------- php-pecl-cassandra.spec | 17 ++- 2 files changed, 273 insertions(+), 117 deletions(-) diff --git a/REFLECTION b/REFLECTION index f920f85..10b7b72 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #77 cassandra version 1.2.2 ] { +Extension [ extension #77 cassandra version 1.3.0 ] { - Dependencies { Dependency [ spl (Required) ] @@ -13,7 +13,7 @@ Extension [ extension #77 cassandra version 1.2.2 ] { } } - - Classes [98] { + - Classes [100] { Interface [ interface Cassandra\Exception ] { - Constants [0] { @@ -2323,9 +2323,8 @@ Extension [ extension #77 cassandra version 1.2.2 ] { - Methods [4] { Method [ public method __construct ] { - - Parameters [2] { - Parameter #0 [ $seconds ] - Parameter #1 [ $microseconds ] + - Parameters [1] { + Parameter #0 [ $nanoseconds ] } } @@ -2593,6 +2592,85 @@ Extension [ extension #77 cassandra version 1.2.2 ] { } } + Class [ abstract class Cassandra\Custom implements Cassandra\Value ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [1] { + Method [ abstract public method type ] { + + - Parameters [0] { + } + } + } + } + + Class [ final class Cassandra\Duration implements Cassandra\Value ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [6] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $months ] + Parameter #1 [ $days ] + Parameter #2 [ $nanos ] + } + } + + Method [ public method type ] { + + - Parameters [0] { + } + } + + Method [ public method months ] { + + - Parameters [0] { + } + } + + Method [ public method days ] { + + - Parameters [0] { + } + } + + Method [ public method nanos ] { + + - Parameters [0] { + } + } + + Method [ public method __toString ] { + + - Parameters [0] { + } + } + } + } + Class [ final class Cassandra\Set implements Cassandra\Value, Countable, Iterator, Traversable ] { - Constants [0] { @@ -2703,8 +2781,9 @@ Extension [ extension #77 cassandra version 1.2.2 ] { - Methods [18] { Method [ public method __construct ] { - - Parameters [1] { - Parameter #0 [ $type ] + - Parameters [2] { + Parameter #0 [ $keyType ] + Parameter #1 [ $valueType ] } } @@ -2940,7 +3019,7 @@ Extension [ extension #77 cassandra version 1.2.2 ] { Method [ public method __construct ] { - Parameters [1] { - Parameter #0 [ $type ] + Parameter #0 [ $types ] } } @@ -3026,7 +3105,7 @@ Extension [ extension #77 cassandra version 1.2.2 ] { Method [ public method __construct ] { - Parameters [1] { - Parameter #0 [ $type ] + Parameter #0 [ $types ] } } @@ -3052,7 +3131,7 @@ Extension [ extension #77 cassandra version 1.2.2 ] { Method [ public method get ] { - Parameters [1] { - Parameter #0 [ $index ] + Parameter #0 [ $name ] } } @@ -3094,7 +3173,7 @@ Extension [ extension #77 cassandra version 1.2.2 ] { } } - Class [ class Cassandra ] { + Class [ final class Cassandra ] { - Constants [44] { Constant [ integer CONSISTENCY_ANY ] { 0 } @@ -3139,8 +3218,8 @@ Extension [ extension #77 cassandra version 1.2.2 ] { Constant [ string TYPE_VARINT ] { varint } Constant [ string TYPE_TIMEUUID ] { timeuuid } Constant [ string TYPE_INET ] { inet } - Constant [ string VERSION ] { 1.2.2 } - Constant [ string CPP_DRIVER_VERSION ] { 2.4.2 } + Constant [ string VERSION ] { 1.3.0 } + Constant [ string CPP_DRIVER_VERSION ] { 2.6.0 } } - Static properties [0] { @@ -3198,6 +3277,38 @@ Extension [ extension #77 cassandra version 1.2.2 ] { } } + Class [ final class Cassandra\DefaultCluster implements Cassandra\Cluster ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [2] { + Method [ public method connect ] { + + - Parameters [2] { + Parameter #0 [ $keyspace ] + Parameter #1 [ $timeout ] + } + } + + Method [ public method connectAsync ] { + + - Parameters [1] { + Parameter #0 [ $keyspace ] + } + } + } + } + Class [ final class Cassandra\Cluster\Builder ] { - Constants [0] { @@ -3212,7 +3323,7 @@ Extension [ extension #77 cassandra version 1.2.2 ] { - Properties [0] { } - - Methods [28] { + - Methods [31] { Method [ public method build ] { - Parameters [0] { @@ -3410,36 +3521,25 @@ Extension [ extension #77 cassandra version 1.2.2 ] { Parameter #0 [ $enabled ] } } - } - } - - Class [ final class Cassandra\DefaultCluster implements Cassandra\Cluster ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - Static methods [0] { - } + Method [ public method withHostnameResolution ] { - - Properties [0] { - } + - Parameters [1] { + Parameter #0 [ $enabled ] + } + } - - Methods [2] { - Method [ public method connect ] { + Method [ public method withRandomizedContactPoints ] { - - Parameters [2] { - Parameter #0 [ $keyspace ] - Parameter #1 [ $timeout ] + - Parameters [1] { + Parameter #0 [ $enabled ] } } - Method [ public method connectAsync ] { + Method [ public method withConnectionHeartbeatInterval ] { - Parameters [1] { - Parameter #0 [ $keyspace ] + Parameter #0 [ $interval ] } } } @@ -3603,20 +3703,20 @@ Extension [ extension #77 cassandra version 1.2.2 ] { - Properties [0] { } - - Methods [7] { + - Methods [8] { Method [ abstract public method execute ] { - Parameters [2] { - Parameter #0 [ Cassandra\Statement $statement ] - Parameter #1 [ Cassandra\ExecutionOptions $options ] + Parameter #0 [ $statement ] + Parameter #1 [ $options ] } } Method [ abstract public method executeAsync ] { - Parameters [2] { - Parameter #0 [ Cassandra\Statement $statement ] - Parameter #1 [ Cassandra\ExecutionOptions $options ] + Parameter #0 [ $statement ] + Parameter #1 [ $options ] } } @@ -3624,7 +3724,7 @@ Extension [ extension #77 cassandra version 1.2.2 ] { - Parameters [2] { Parameter #0 [ $cql ] - Parameter #1 [ Cassandra\ExecutionOptions $options ] + Parameter #1 [ $options ] } } @@ -3632,7 +3732,7 @@ Extension [ extension #77 cassandra version 1.2.2 ] { - Parameters [2] { Parameter #0 [ $cql ] - Parameter #1 [ Cassandra\ExecutionOptions $options ] + Parameter #1 [ $options ] } } @@ -3649,6 +3749,12 @@ Extension [ extension #77 cassandra version 1.2.2 ] { } } + Method [ abstract public method metrics ] { + + - Parameters [0] { + } + } + Method [ abstract public method schema ] { - Parameters [0] { @@ -3671,20 +3777,20 @@ Extension [ extension #77 cassandra version 1.2.2 ] { - Properties [0] { } - - Methods [7] { + - Methods [8] { Method [ public method execute ] { - Parameters [2] { - Parameter #0 [ Cassandra\Statement $statement ] - Parameter #1 [ Cassandra\ExecutionOptions $options ] + Parameter #0 [ $statement ] + Parameter #1 [ $options ] } } Method [ public method executeAsync ] { - Parameters [2] { - Parameter #0 [ Cassandra\Statement $statement ] - Parameter #1 [ Cassandra\ExecutionOptions $options ] + Parameter #0 [ $statement ] + Parameter #1 [ $options ] } } @@ -3692,7 +3798,7 @@ Extension [ extension #77 cassandra version 1.2.2 ] { - Parameters [2] { Parameter #0 [ $cql ] - Parameter #1 [ Cassandra\ExecutionOptions $options ] + Parameter #1 [ $options ] } } @@ -3700,7 +3806,7 @@ Extension [ extension #77 cassandra version 1.2.2 ] { - Parameters [2] { Parameter #0 [ $cql ] - Parameter #1 [ Cassandra\ExecutionOptions $options ] + Parameter #1 [ $options ] } } @@ -3717,6 +3823,12 @@ Extension [ extension #77 cassandra version 1.2.2 ] { } } + Method [ public method metrics ] { + + - Parameters [0] { + } + } + Method [ public method schema ] { - Parameters [0] { @@ -3882,7 +3994,7 @@ Extension [ extension #77 cassandra version 1.2.2 ] { Method [ public method add ] { - Parameters [2] { - Parameter #0 [ Cassandra\Statement $statement ] + Parameter #0 [ $statement ] Parameter #1 [ array or NULL $arguments ] } } @@ -3904,7 +4016,7 @@ Extension [ extension #77 cassandra version 1.2.2 ] { } - Methods [2] { - Method [ public method __construct ] { + Method [ public method __construct ] { - Parameters [1] { Parameter #0 [ array or NULL $options ] @@ -4935,7 +5047,7 @@ Extension [ extension #77 cassandra version 1.2.2 ] { } } - Interface [ interface Cassandra\MaterializedView extends Cassandra\Table ] { + Class [ abstract class Cassandra\MaterializedView implements Cassandra\Table ] { - Constants [0] { } @@ -5116,7 +5228,7 @@ Extension [ extension #77 cassandra version 1.2.2 ] { } } - Class [ final class Cassandra\DefaultMaterializedView implements Cassandra\MaterializedView, Cassandra\Table ] { + Class [ final class Cassandra\DefaultMaterializedView extends Cassandra\MaterializedView implements Cassandra\Table ] { - Constants [0] { } @@ -5131,165 +5243,165 @@ Extension [ extension #77 cassandra version 1.2.2 ] { } - Methods [27] { - Method [ public method name ] { + Method [ public method name ] { - Parameters [0] { } } - Method [ public method option ] { + Method [ public method option ] { - Parameters [1] { Parameter #0 [ $name ] } } - Method [ public method options ] { + Method [ public method options ] { - Parameters [0] { } } - Method [ public method comment ] { + Method [ public method comment ] { - Parameters [0] { } } - Method [ public method readRepairChance ] { + Method [ public method readRepairChance ] { - Parameters [0] { } } - Method [ public method localReadRepairChance ] { + Method [ public method localReadRepairChance ] { - Parameters [0] { } } - Method [ public method gcGraceSeconds ] { + Method [ public method gcGraceSeconds ] { - Parameters [0] { } } - Method [ public method caching ] { + Method [ public method caching ] { - Parameters [0] { } } - Method [ public method bloomFilterFPChance ] { + Method [ public method bloomFilterFPChance ] { - Parameters [0] { } } - Method [ public method memtableFlushPeriodMs ] { + Method [ public method memtableFlushPeriodMs ] { - Parameters [0] { } } - Method [ public method defaultTTL ] { + Method [ public method defaultTTL ] { - Parameters [0] { } } - Method [ public method speculativeRetry ] { + Method [ public method speculativeRetry ] { - Parameters [0] { } } - Method [ public method indexInterval ] { + Method [ public method indexInterval ] { - Parameters [0] { } } - Method [ public method compactionStrategyClassName ] { + Method [ public method compactionStrategyClassName ] { - Parameters [0] { } } - Method [ public method compactionStrategyOptions ] { + Method [ public method compactionStrategyOptions ] { - Parameters [0] { } } - Method [ public method compressionParameters ] { + Method [ public method compressionParameters ] { - Parameters [0] { } } - Method [ public method populateIOCacheOnFlush ] { + Method [ public method populateIOCacheOnFlush ] { - Parameters [0] { } } - Method [ public method replicateOnWrite ] { + Method [ public method replicateOnWrite ] { - Parameters [0] { } } - Method [ public method maxIndexInterval ] { + Method [ public method maxIndexInterval ] { - Parameters [0] { } } - Method [ public method minIndexInterval ] { + Method [ public method minIndexInterval ] { - Parameters [0] { } } - Method [ public method column ] { + Method [ public method column ] { - Parameters [1] { Parameter #0 [ $name ] } } - Method [ public method columns ] { + Method [ public method columns ] { - Parameters [0] { } } - Method [ public method partitionKey ] { + Method [ public method partitionKey ] { - Parameters [0] { } } - Method [ public method primaryKey ] { + Method [ public method primaryKey ] { - Parameters [0] { } } - Method [ public method clusteringKey ] { + Method [ public method clusteringKey ] { - Parameters [0] { } } - Method [ public method clusteringOrder ] { + Method [ public method clusteringOrder ] { - Parameters [0] { } } - Method [ public method baseTable ] { + Method [ public method baseTable ] { - Parameters [0] { } @@ -5577,7 +5689,7 @@ Extension [ extension #77 cassandra version 1.2.2 ] { - Static properties [0] { } - - Static methods [25] { + - Static methods [26] { Method [ final static public method ascii ] { - Parameters [0] { @@ -5632,6 +5744,12 @@ Extension [ extension #77 cassandra version 1.2.2 ] { } } + Method [ final static public method duration ] { + + - Parameters [0] { + } + } + Method [ final static public method float ] { - Parameters [0] { @@ -5738,7 +5856,7 @@ Extension [ extension #77 cassandra version 1.2.2 ] { - Properties [0] { } - - Methods [3] { + - Methods [2] { Method [ abstract public method name ] { - Parameters [0] { @@ -5750,13 +5868,6 @@ Extension [ extension #77 cassandra version 1.2.2 ] { - Parameters [0] { } } - - Method [ abstract public method create ] { - - - Parameters [1] { - Parameter #0 [ $values ] - } - } } } @@ -5768,7 +5879,7 @@ Extension [ extension #77 cassandra version 1.2.2 ] { - Static properties [0] { } - - Static methods [25] { + - Static methods [26] { Method [ final static public method ascii ] { - Parameters [0] { @@ -5823,6 +5934,12 @@ Extension [ extension #77 cassandra version 1.2.2 ] { } } + Method [ final static public method duration ] { + + - Parameters [0] { + } + } + Method [ final static public method float ] { - Parameters [0] { @@ -5930,7 +6047,7 @@ Extension [ extension #77 cassandra version 1.2.2 ] { } - Methods [4] { - Method [ public method __construct ] { + Method [ private method __construct ] { - Parameters [0] { } @@ -5948,7 +6065,7 @@ Extension [ extension #77 cassandra version 1.2.2 ] { } } - Method [ public method create ] { + Method [ public method create ] { - Parameters [1] { Parameter #0 [ $value ] @@ -5965,7 +6082,7 @@ Extension [ extension #77 cassandra version 1.2.2 ] { - Static properties [0] { } - - Static methods [25] { + - Static methods [26] { Method [ final static public method ascii ] { - Parameters [0] { @@ -6020,6 +6137,12 @@ Extension [ extension #77 cassandra version 1.2.2 ] { } } + Method [ final static public method duration ] { + + - Parameters [0] { + } + } + Method [ final static public method float ] { - Parameters [0] { @@ -6127,7 +6250,7 @@ Extension [ extension #77 cassandra version 1.2.2 ] { } - Methods [5] { - Method [ public method __construct ] { + Method [ private method __construct ] { - Parameters [0] { } @@ -6151,7 +6274,7 @@ Extension [ extension #77 cassandra version 1.2.2 ] { } } - Method [ public method create ] { + Method [ public method create ] { - Parameters [1] { Parameter #0 [ $value ] @@ -6168,7 +6291,7 @@ Extension [ extension #77 cassandra version 1.2.2 ] { - Static properties [0] { } - - Static methods [25] { + - Static methods [26] { Method [ final static public method ascii ] { - Parameters [0] { @@ -6223,6 +6346,12 @@ Extension [ extension #77 cassandra version 1.2.2 ] { } } + Method [ final static public method duration ] { + + - Parameters [0] { + } + } + Method [ final static public method float ] { - Parameters [0] { @@ -6330,7 +6459,7 @@ Extension [ extension #77 cassandra version 1.2.2 ] { } - Methods [5] { - Method [ public method __construct ] { + Method [ private method __construct ] { - Parameters [0] { } @@ -6354,7 +6483,7 @@ Extension [ extension #77 cassandra version 1.2.2 ] { } } - Method [ public method create ] { + Method [ public method create ] { - Parameters [1] { Parameter #0 [ $value ] @@ -6371,7 +6500,7 @@ Extension [ extension #77 cassandra version 1.2.2 ] { - Static properties [0] { } - - Static methods [25] { + - Static methods [26] { Method [ final static public method ascii ] { - Parameters [0] { @@ -6426,6 +6555,12 @@ Extension [ extension #77 cassandra version 1.2.2 ] { } } + Method [ final static public method duration ] { + + - Parameters [0] { + } + } + Method [ final static public method float ] { - Parameters [0] { @@ -6533,7 +6668,7 @@ Extension [ extension #77 cassandra version 1.2.2 ] { } - Methods [6] { - Method [ public method __construct ] { + Method [ private method __construct ] { - Parameters [0] { } @@ -6563,7 +6698,7 @@ Extension [ extension #77 cassandra version 1.2.2 ] { } } - Method [ public method create ] { + Method [ public method create ] { - Parameters [1] { Parameter #0 [ $value ] @@ -6580,7 +6715,7 @@ Extension [ extension #77 cassandra version 1.2.2 ] { - Static properties [0] { } - - Static methods [25] { + - Static methods [26] { Method [ final static public method ascii ] { - Parameters [0] { @@ -6635,6 +6770,12 @@ Extension [ extension #77 cassandra version 1.2.2 ] { } } + Method [ final static public method duration ] { + + - Parameters [0] { + } + } + Method [ final static public method float ] { - Parameters [0] { @@ -6742,7 +6883,7 @@ Extension [ extension #77 cassandra version 1.2.2 ] { } - Methods [5] { - Method [ public method __construct ] { + Method [ private method __construct ] { - Parameters [0] { } @@ -6766,7 +6907,7 @@ Extension [ extension #77 cassandra version 1.2.2 ] { } } - Method [ public method create ] { + Method [ public method create ] { - Parameters [1] { Parameter #0 [ $values ] @@ -6783,7 +6924,7 @@ Extension [ extension #77 cassandra version 1.2.2 ] { - Static properties [0] { } - - Static methods [25] { + - Static methods [26] { Method [ final static public method ascii ] { - Parameters [0] { @@ -6838,6 +6979,12 @@ Extension [ extension #77 cassandra version 1.2.2 ] { } } + Method [ final static public method duration ] { + + - Parameters [0] { + } + } + Method [ final static public method float ] { - Parameters [0] { @@ -6945,7 +7092,7 @@ Extension [ extension #77 cassandra version 1.2.2 ] { } - Methods [8] { - Method [ public method __construct ] { + Method [ private method __construct ] { - Parameters [0] { } @@ -6989,7 +7136,7 @@ Extension [ extension #77 cassandra version 1.2.2 ] { } } - Method [ public method create ] { + Method [ public method create ] { - Parameters [1] { Parameter #0 [ $value ] @@ -7006,7 +7153,7 @@ Extension [ extension #77 cassandra version 1.2.2 ] { - Static properties [0] { } - - Static methods [25] { + - Static methods [26] { Method [ final static public method ascii ] { - Parameters [0] { @@ -7061,6 +7208,12 @@ Extension [ extension #77 cassandra version 1.2.2 ] { } } + Method [ final static public method duration ] { + + - Parameters [0] { + } + } + Method [ final static public method float ] { - Parameters [0] { @@ -7168,7 +7321,7 @@ Extension [ extension #77 cassandra version 1.2.2 ] { } - Methods [4] { - Method [ public method __construct ] { + Method [ private method __construct ] { - Parameters [0] { } @@ -7186,7 +7339,7 @@ Extension [ extension #77 cassandra version 1.2.2 ] { } } - Method [ public method create ] { + Method [ public method create ] { - Parameters [1] { Parameter #0 [ $value ] diff --git a/php-pecl-cassandra.spec b/php-pecl-cassandra.spec index 20d4b23..0a15907 100644 --- a/php-pecl-cassandra.spec +++ b/php-pecl-cassandra.spec @@ -31,8 +31,8 @@ Summary: DataStax PHP Driver for Apache Cassandra Name: %{?sub_prefix}php-pecl-%{pecl_name} -Version: 1.2.2 -Release: 4%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Version: 1.3.0 +Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: ASL 2.0 Group: Development/Languages URL: http://pecl.php.net/package/%{pecl_name} @@ -44,9 +44,9 @@ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/ Source: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz %endif -BuildRequires: %{?scl_prefix}php-devel >= 5.5 +BuildRequires: %{?scl_prefix}php-devel >= 5.6 BuildRequires: %{?scl_prefix}php-pear -BuildRequires: cassandra-cpp-driver-devel +BuildRequires: cassandra-cpp-driver-devel >= 2.6.0 BuildRequires: libuv-devel BuildRequires: gmp-devel @@ -70,10 +70,8 @@ Obsoletes: php53-pecl-%{pecl_name} <= %{version} Obsoletes: php53u-pecl-%{pecl_name} <= %{version} Obsoletes: php54-pecl-%{pecl_name} <= %{version} Obsoletes: php54w-pecl-%{pecl_name} <= %{version} -%if "%{php_version}" > "5.5" Obsoletes: php55u-pecl-%{pecl_name} <= %{version} Obsoletes: php55w-pecl-%{pecl_name} <= %{version} -%endif %if "%{php_version}" > "5.6" Obsoletes: php56u-pecl-%{pecl_name} <= %{version} Obsoletes: php56w-pecl-%{pecl_name} <= %{version} @@ -119,7 +117,7 @@ sed -e 's/role="test"/role="src"/' \ cd NTS # Sanity check, really often broken -extver=$(sed -n '/#define PHP_CASSANDRA_VERSION /{s/.* "//;s/".*$//;p}' version.h) +extver=$(sed -n '/#define PHP_DRIVER_VERSION /{s/.* "//;s/".*$//;p}' version.h) if test "x${extver}" != "x%{version}%{?prever}"; then : Error: Upstream extension version is ${extver}, expecting %{version}%{?prever}. exit 1 @@ -251,6 +249,11 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Thu Mar 16 2017 Remi Collet - 1.3.0-1 +- Update to 1.3.0 +- raise dependency on PHP 5.6 +- raise dependency on cassandra-cpp-driver >= 2.6.0 + * Wed Jan 4 2017 Remi Collet - 1.2.2-4 - rebuild against new libuv (EL-7) -- cgit