From bf32967cd4077874709edc3e05f3ff5e049b6750 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 13 Aug 2015 09:42:27 +0200 Subject: php-pecl-cassandra: wip, new package --- Makefile | 4 + REFLECTION | 3383 +++++++++++++++++++++++++++++++++++++++++++++++ php-pecl-cassandra.spec | 232 ++++ 3 files changed, 3619 insertions(+) create mode 100644 Makefile create mode 100644 REFLECTION create mode 100644 php-pecl-cassandra.spec diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..13af741 --- /dev/null +++ b/Makefile @@ -0,0 +1,4 @@ +SRCDIR := $(shell pwd) +NAME := $(shell basename $(SRCDIR)) +include ../../../common/Makefile + diff --git a/REFLECTION b/REFLECTION new file mode 100644 index 0000000..60cf717 --- /dev/null +++ b/REFLECTION @@ -0,0 +1,3383 @@ +Extension [ extension #82 cassandra version 1.0.0RC ] { + + - Dependencies { + Dependency [ spl (Required) ] + } + + - INI { + Entry [ cassandra.log ] + Current = 'cassandra.log' + } + Entry [ cassandra.log_level ] + Current = 'ERROR' + } + } + + - Classes [59] { + Interface [ interface Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ class Cassandra\Exception\InvalidArgumentException extends InvalidArgumentException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + + Class [ class Cassandra\Exception\DomainException extends DomainException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + + Class [ class Cassandra\Exception\RuntimeException extends RuntimeException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + + Class [ class Cassandra\Exception\TimeoutException extends Cassandra\Exception\RuntimeException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + + Class [ class Cassandra\Exception\LogicException extends LogicException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + + Class [ class Cassandra\Exception\ExecutionException extends Cassandra\Exception\RuntimeException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + + Class [ class Cassandra\Exception\ReadTimeoutException extends Cassandra\Exception\ExecutionException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + + Class [ class Cassandra\Exception\WriteTimeoutException extends Cassandra\Exception\ExecutionException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + + Class [ class Cassandra\Exception\UnavailableException extends Cassandra\Exception\ExecutionException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + + Class [ class Cassandra\Exception\TruncateException extends Cassandra\Exception\ExecutionException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + + Class [ class Cassandra\Exception\ValidationException extends Cassandra\Exception\RuntimeException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + + Class [ class Cassandra\Exception\InvalidQueryException extends Cassandra\Exception\ValidationException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + + Class [ class Cassandra\Exception\InvalidSyntaxException extends Cassandra\Exception\ValidationException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + + Class [ class Cassandra\Exception\UnauthorizedException extends Cassandra\Exception\ValidationException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + + Class [ class Cassandra\Exception\UnpreparedException extends Cassandra\Exception\ValidationException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + + Class [ class Cassandra\Exception\ConfigurationException extends Cassandra\Exception\ValidationException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + + Class [ class Cassandra\Exception\AlreadyExistsException extends Cassandra\Exception\ConfigurationException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + + Class [ class Cassandra\Exception\AuthenticationException extends Cassandra\Exception\RuntimeException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + + Class [ class Cassandra\Exception\ProtocolException extends Cassandra\Exception\RuntimeException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + + Class [ class Cassandra\Exception\ServerException extends Cassandra\Exception\RuntimeException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + + Class [ class Cassandra\Exception\IsBootstrappingException extends Cassandra\Exception\ServerException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + + Class [ class Cassandra\Exception\OverloadedException extends Cassandra\Exception\ServerException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + + Class [ class Cassandra\Exception\RangeException extends RangeException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + + Class [ class Cassandra\Exception\DivideByZeroException extends Cassandra\Exception\RangeException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + + Interface [ interface Cassandra\Numeric ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [10] { + Method [ abstract public method add ] { + + - Parameters [1] { + Parameter #0 [ $num ] + } + } + + Method [ abstract public method sub ] { + + - Parameters [1] { + Parameter #0 [ $num ] + } + } + + Method [ abstract public method mul ] { + + - Parameters [1] { + Parameter #0 [ $num ] + } + } + + Method [ abstract public method div ] { + + - Parameters [1] { + Parameter #0 [ $num ] + } + } + + Method [ abstract public method mod ] { + + - Parameters [1] { + Parameter #0 [ $num ] + } + } + + Method [ abstract public method abs ] { + + - Parameters [0] { + } + } + + Method [ abstract public method neg ] { + + - Parameters [0] { + } + } + + Method [ abstract public method sqrt ] { + + - Parameters [0] { + } + } + + Method [ abstract public method toInt ] { + + - Parameters [0] { + } + } + + Method [ abstract public method toDouble ] { + + - Parameters [0] { + } + } + } + } + + Class [ final class Cassandra\Bigint implements Cassandra\Numeric ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [2] { + Method [ static public method min ] { + + - Parameters [0] { + } + } + + Method [ static public method max ] { + + - Parameters [0] { + } + } + } + + - Properties [0] { + } + + - Methods [13] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ $value ] + } + } + + Method [ public method __toString ] { + + - Parameters [0] { + } + } + + Method [ public method value ] { + + - Parameters [0] { + } + } + + Method [ public method add ] { + + - Parameters [1] { + Parameter #0 [ $num ] + } + } + + Method [ public method sub ] { + + - Parameters [1] { + Parameter #0 [ $num ] + } + } + + Method [ public method mul ] { + + - Parameters [1] { + Parameter #0 [ $num ] + } + } + + Method [ public method div ] { + + - Parameters [1] { + Parameter #0 [ $num ] + } + } + + Method [ public method mod ] { + + - Parameters [1] { + Parameter #0 [ $num ] + } + } + + Method [ public method abs ] { + + - Parameters [0] { + } + } + + Method [ public method neg ] { + + - Parameters [0] { + } + } + + Method [ public method sqrt ] { + + - Parameters [0] { + } + } + + Method [ public method toInt ] { + + - Parameters [0] { + } + } + + Method [ public method toDouble ] { + + - Parameters [0] { + } + } + } + } + + Class [ final class Cassandra\Blob ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [4] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ $bytes ] + } + } + + Method [ public method __toString ] { + + - Parameters [0] { + } + } + + Method [ public method bytes ] { + + - Parameters [0] { + } + } + + Method [ public method toBinaryString ] { + + - Parameters [0] { + } + } + } + } + + Class [ final class Cassandra\Decimal implements Cassandra\Numeric ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [14] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ $value ] + } + } + + Method [ public method __toString ] { + + - Parameters [0] { + } + } + + Method [ public method value ] { + + - Parameters [0] { + } + } + + Method [ public method scale ] { + + - Parameters [0] { + } + } + + Method [ public method add ] { + + - Parameters [1] { + Parameter #0 [ $num ] + } + } + + Method [ public method sub ] { + + - Parameters [1] { + Parameter #0 [ $num ] + } + } + + Method [ public method mul ] { + + - Parameters [1] { + Parameter #0 [ $num ] + } + } + + Method [ public method div ] { + + - Parameters [1] { + Parameter #0 [ $num ] + } + } + + Method [ public method mod ] { + + - Parameters [1] { + Parameter #0 [ $num ] + } + } + + Method [ public method abs ] { + + - Parameters [0] { + } + } + + Method [ public method neg ] { + + - Parameters [0] { + } + } + + Method [ public method sqrt ] { + + - Parameters [0] { + } + } + + Method [ public method toInt ] { + + - Parameters [0] { + } + } + + Method [ public method toDouble ] { + + - Parameters [0] { + } + } + } + } + + Class [ final class Cassandra\Float implements Cassandra\Numeric ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [2] { + Method [ static public method min ] { + + - Parameters [0] { + } + } + + Method [ static public method max ] { + + - Parameters [0] { + } + } + } + + - Properties [0] { + } + + - Methods [16] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ $value ] + } + } + + Method [ public method __toString ] { + + - Parameters [0] { + } + } + + Method [ public method value ] { + + - Parameters [0] { + } + } + + Method [ public method isInfinite ] { + + - Parameters [0] { + } + } + + Method [ public method isFinite ] { + + - Parameters [0] { + } + } + + Method [ public method isNaN ] { + + - Parameters [0] { + } + } + + Method [ public method add ] { + + - Parameters [1] { + Parameter #0 [ $num ] + } + } + + Method [ public method sub ] { + + - Parameters [1] { + Parameter #0 [ $num ] + } + } + + Method [ public method mul ] { + + - Parameters [1] { + Parameter #0 [ $num ] + } + } + + Method [ public method div ] { + + - Parameters [1] { + Parameter #0 [ $num ] + } + } + + Method [ public method mod ] { + + - Parameters [1] { + Parameter #0 [ $num ] + } + } + + Method [ public method abs ] { + + - Parameters [0] { + } + } + + Method [ public method neg ] { + + - Parameters [0] { + } + } + + Method [ public method sqrt ] { + + - Parameters [0] { + } + } + + Method [ public method toInt ] { + + - Parameters [0] { + } + } + + Method [ public method toDouble ] { + + - Parameters [0] { + } + } + } + } + + Class [ final class Cassandra\Inet ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [3] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ $address ] + } + } + + Method [ public method __toString ] { + + - Parameters [0] { + } + } + + Method [ public method address ] { + + - Parameters [0] { + } + } + } + } + + Class [ final class Cassandra\Timestamp ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [5] { + Method [ public method __construct ] { + + - Parameters [2] { + Parameter #0 [ $seconds ] + Parameter #1 [ $microseconds ] + } + } + + Method [ public method time ] { + } + + Method [ public method microtime ] { + + - Parameters [1] { + Parameter #0 [ $get_as_float ] + } + } + + Method [ public method toDateTime ] { + } + + Method [ public method __toString ] { + } + } + } + + Interface [ interface Cassandra\UuidInterface ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [2] { + Method [ abstract public method uuid ] { + + - Parameters [0] { + } + } + + Method [ abstract public method version ] { + + - Parameters [0] { + } + } + } + } + + Class [ final class Cassandra\Timeuuid implements Cassandra\UuidInterface ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [6] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ $timestamp ] + } + } + + Method [ public method __toString ] { + + - Parameters [0] { + } + } + + Method [ public method uuid ] { + + - Parameters [0] { + } + } + + Method [ public method version ] { + + - Parameters [0] { + } + } + + Method [ public method time ] { + + - Parameters [0] { + } + } + + Method [ public method toDateTime ] { + + - Parameters [0] { + } + } + } + } + + Class [ final class Cassandra\Uuid implements Cassandra\UuidInterface ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [4] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ $uuid ] + } + } + + Method [ public method __toString ] { + + - Parameters [0] { + } + } + + Method [ public method uuid ] { + + - Parameters [0] { + } + } + + Method [ public method version ] { + + - Parameters [0] { + } + } + } + } + + Class [ final class Cassandra\Varint implements Cassandra\Numeric ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [13] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ $value ] + } + } + + Method [ public method __toString ] { + + - Parameters [0] { + } + } + + Method [ public method value ] { + + - Parameters [0] { + } + } + + Method [ public method add ] { + + - Parameters [1] { + Parameter #0 [ $num ] + } + } + + Method [ public method sub ] { + + - Parameters [1] { + Parameter #0 [ $num ] + } + } + + Method [ public method mul ] { + + - Parameters [1] { + Parameter #0 [ $num ] + } + } + + Method [ public method div ] { + + - Parameters [1] { + Parameter #0 [ $num ] + } + } + + Method [ public method mod ] { + + - Parameters [1] { + Parameter #0 [ $num ] + } + } + + Method [ public method abs ] { + + - Parameters [0] { + } + } + + Method [ public method neg ] { + + - Parameters [0] { + } + } + + Method [ public method sqrt ] { + + - Parameters [0] { + } + } + + Method [ public method toInt ] { + + - Parameters [0] { + } + } + + Method [ public method toDouble ] { + + - Parameters [0] { + } + } + } + } + + Class [ final class Cassandra\Set implements Countable, Iterator, Traversable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [11] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ $type ] + } + } + + Method [ public method type ] { + + - Parameters [0] { + } + } + + Method [ public method values ] { + + - Parameters [0] { + } + } + + Method [ public method add ] { + + - Parameters [1] { + Parameter #0 [ $value ] + } + } + + Method [ public method remove ] { + + - Parameters [1] { + Parameter #0 [ $value ] + } + } + + Method [ public method count ] { + + - Parameters [0] { + } + } + + Method [ public method current ] { + + - Parameters [0] { + } + } + + Method [ public method key ] { + + - Parameters [0] { + } + } + + Method [ public method next ] { + + - Parameters [0] { + } + } + + Method [ public method valid ] { + + - Parameters [0] { + } + } + + Method [ public method rewind ] { + + - Parameters [0] { + } + } + } + } + + Class [ final class Cassandra\Map implements Countable, Iterator, Traversable, ArrayAccess ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [19] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ $type ] + } + } + + Method [ public method keyType ] { + + - Parameters [0] { + } + } + + Method [ public method keys ] { + + - Parameters [0] { + } + } + + Method [ public method valueType ] { + + - Parameters [0] { + } + } + + Method [ public method values ] { + + - Parameters [0] { + } + } + + Method [ public method set ] { + + - Parameters [2] { + Parameter #0 [ $key ] + Parameter #1 [ $value ] + } + } + + Method [ public method get ] { + + - Parameters [1] { + Parameter #0 [ $key ] + } + } + + Method [ public method remove ] { + + - Parameters [1] { + Parameter #0 [ $key ] + } + } + + Method [ public method has ] { + + - Parameters [1] { + Parameter #0 [ $key ] + } + } + + Method [ public method count ] { + + - Parameters [0] { + } + } + + Method [ public method current ] { + + - Parameters [0] { + } + } + + Method [ public method key ] { + + - Parameters [0] { + } + } + + Method [ public method next ] { + + - Parameters [0] { + } + } + + Method [ public method valid ] { + + - Parameters [0] { + } + } + + Method [ public method rewind ] { + + - Parameters [0] { + } + } + + Method [ public method offsetSet ] { + + - Parameters [2] { + Parameter #0 [ $key ] + Parameter #1 [ $value ] + } + } + + Method [ public method offsetGet ] { + + - Parameters [1] { + Parameter #0 [ $key ] + } + } + + Method [ public method offsetUnset ] { + + - Parameters [1] { + Parameter #0 [ $key ] + } + } + + Method [ public method offsetExists ] { + + - Parameters [1] { + Parameter #0 [ $key ] + } + } + } + } + + Class [ final class Cassandra\Collection implements Countable, Iterator, Traversable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [13] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ $type ] + } + } + + Method [ public method type ] { + + - Parameters [0] { + } + } + + Method [ public method values ] { + + - Parameters [0] { + } + } + + Method [ public method add ] { + + - Parameters [1] { + Parameter #0 [ $value ] + } + } + + Method [ public method get ] { + + - Parameters [1] { + Parameter #0 [ $index ] + } + } + + Method [ public method find ] { + + - Parameters [1] { + Parameter #0 [ $value ] + } + } + + Method [ public method count ] { + + - Parameters [0] { + } + } + + Method [ public method current ] { + + - Parameters [0] { + } + } + + Method [ public method key ] { + + - Parameters [0] { + } + } + + Method [ public method next ] { + + - Parameters [0] { + } + } + + Method [ public method valid ] { + + - Parameters [0] { + } + } + + Method [ public method rewind ] { + + - Parameters [0] { + } + } + + Method [ public method remove ] { + + - Parameters [1] { + Parameter #0 [ $index ] + } + } + } + } + + Class [ class Cassandra ] { + + - 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-rc } + } + + - 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 [21] { + 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 ] + } + } + + Method [ public method withCredentials ] { + + - Parameters [2] { + Parameter #0 [ $username ] + Parameter #1 [ $password ] + } + } + + Method [ public method withConnectTimeout ] { + + - Parameters [1] { + Parameter #0 [ $timeout ] + } + } + + Method [ public method withRequestTimeout ] { + + - Parameters [1] { + Parameter #0 [ $timeout ] + } + } + + Method [ public method withSSL ] { + + - Parameters [1] { + Parameter #0 [ Cassandra\SSLOptions $options ] + } + } + + Method [ public method withPersistentSessions ] { + + - Parameters [1] { + Parameter #0 [ $enabled ] + } + } + + Method [ public method withProtocolVersion ] { + + - Parameters [1] { + Parameter #0 [ $version ] + } + } + + Method [ public method withIOThreads ] { + + - Parameters [1] { + Parameter #0 [ $count ] + } + } + + Method [ public method withConnectionsPerHost ] { + + - Parameters [2] { + Parameter #0 [ $core ] + Parameter #1 [ $max ] + } + } + + Method [ public method withReconnectInterval ] { + + - Parameters [1] { + Parameter #0 [ $interval ] + } + } + + Method [ public method withLatencyAwareRouting ] { + + - Parameters [1] { + Parameter #0 [ $enabled ] + } + } + + Method [ public method withTCPNodelay ] { + + - Parameters [1] { + Parameter #0 [ $enabled ] + } + } + + Method [ public method withTCPKeepalive ] { + + - Parameters [1] { + Parameter #0 [ $delay ] + } + } + } + } + + 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 ] + } + } + } + } + + Interface [ interface Cassandra\Future ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [1] { + Method [ abstract public method get ] { + + - Parameters [1] { + Parameter #0 [ $timeout ] + } + } + } + } + + Class [ final class Cassandra\FuturePreparedStatement implements Cassandra\Future ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [1] { + Method [ public method get ] { + + - Parameters [1] { + Parameter #0 [ $timeout ] + } + } + } + } + + Class [ final class Cassandra\FutureRows implements Cassandra\Future ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [1] { + Method [ public method get ] { + + - Parameters [1] { + Parameter #0 [ $timeout ] + } + } + } + } + + Class [ final class Cassandra\FutureSession implements Cassandra\Future ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [1] { + Method [ public method get ] { + + - Parameters [1] { + Parameter #0 [ $timeout ] + } + } + } + } + + Class [ final class Cassandra\FutureValue implements Cassandra\Future ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [1] { + Method [ public method get ] { + + - Parameters [1] { + Parameter #0 [ $timeout ] + } + } + } + } + + Class [ final class Cassandra\FutureClose implements Cassandra\Future ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [1] { + Method [ public method get ] { + + - Parameters [1] { + Parameter #0 [ $timeout ] + } + } + } + } + + Interface [ interface Cassandra\Session ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [6] { + Method [ abstract public method execute ] { + + - Parameters [2] { + Parameter #0 [ Cassandra\Statement $statement ] + Parameter #1 [ Cassandra\ExecutionOptions $options ] + } + } + + Method [ abstract public method executeAsync ] { + + - Parameters [2] { + Parameter #0 [ Cassandra\Statement $statement ] + Parameter #1 [ Cassandra\ExecutionOptions $options ] + } + } + + Method [ abstract public method prepare ] { + + - Parameters [2] { + Parameter #0 [ $cql ] + Parameter #1 [ Cassandra\ExecutionOptions $options ] + } + } + + Method [ abstract public method prepareAsync ] { + + - Parameters [2] { + Parameter #0 [ $cql ] + Parameter #1 [ Cassandra\ExecutionOptions $options ] + } + } + + Method [ abstract public method close ] { + + - Parameters [1] { + Parameter #0 [ $timeout ] + } + } + + Method [ abstract public method closeAsync ] { + + - Parameters [0] { + } + } + } + } + + Class [ final class Cassandra\DefaultSession implements Cassandra\Session ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [6] { + Method [ public method execute ] { + + - Parameters [2] { + Parameter #0 [ Cassandra\Statement $statement ] + Parameter #1 [ Cassandra\ExecutionOptions $options ] + } + } + + Method [ public method executeAsync ] { + + - Parameters [2] { + Parameter #0 [ Cassandra\Statement $statement ] + Parameter #1 [ Cassandra\ExecutionOptions $options ] + } + } + + Method [ public method prepare ] { + + - Parameters [2] { + Parameter #0 [ $cql ] + Parameter #1 [ Cassandra\ExecutionOptions $options ] + } + } + + Method [ public method prepareAsync ] { + + - Parameters [2] { + Parameter #0 [ $cql ] + Parameter #1 [ Cassandra\ExecutionOptions $options ] + } + } + + Method [ public method close ] { + + - Parameters [1] { + Parameter #0 [ $timeout ] + } + } + + Method [ public method closeAsync ] { + + - Parameters [0] { + } + } + } + } + + Class [ final class Cassandra\SSLOptions ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ final class Cassandra\SSLOptions\Builder ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [5] { + Method [ public method build ] { + + - Parameters [0] { + } + } + + Method [ public method withTrustedCerts ] { + + - Parameters [1] { + Parameter #0 [ $path ] + } + } + + Method [ public method withVerifyFlags ] { + + - Parameters [1] { + Parameter #0 [ $flags ] + } + } + + Method [ public method withClientCert ] { + + - Parameters [1] { + Parameter #0 [ $path ] + } + } + + Method [ public method withPrivateKey ] { + + - Parameters [2] { + Parameter #0 [ $path ] + Parameter #1 [ $passphrase ] + } + } + } + } + + Interface [ interface Cassandra\Statement ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ final class Cassandra\SimpleStatement implements Cassandra\Statement ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [1] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ $cql ] + } + } + } + } + + Class [ final class Cassandra\PreparedStatement implements Cassandra\Statement ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [1] { + Method [ private method __construct ] { + } + } + } + + Class [ final class Cassandra\BatchStatement implements Cassandra\Statement ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [2] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ $type ] + } + } + + Method [ public method add ] { + + - Parameters [2] { + Parameter #0 [ Cassandra\Statement $statement ] + Parameter #1 [ array or NULL $arguments ] + } + } + } + } + + Class [ final class Cassandra\ExecutionOptions ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [2] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ array or NULL $options ] + } + } + + Method [ public method __get ] { + + - Parameters [1] { + Parameter #0 [ $name ] + } + } + } + } + + Class [ final class Cassandra\Rows implements Iterator, Traversable, ArrayAccess ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [15] { + Method [ public method __construct ] { + + - Parameters [0] { + } + } + + Method [ public method count ] { + + - Parameters [0] { + } + } + + Method [ public method rewind ] { + + - Parameters [0] { + } + } + + Method [ public method current ] { + + - Parameters [0] { + } + } + + Method [ public method key ] { + + - Parameters [0] { + } + } + + Method [ public method next ] { + + - Parameters [0] { + } + } + + Method [ public method valid ] { + + - Parameters [0] { + } + } + + Method [ public method offsetExists ] { + + - Parameters [1] { + Parameter #0 [ $offset ] + } + } + + Method [ public method offsetGet ] { + + - Parameters [1] { + Parameter #0 [ $offset ] + } + } + + Method [ public method offsetSet ] { + + - Parameters [2] { + Parameter #0 [ $offset ] + Parameter #1 [ $value ] + } + } + + Method [ public method offsetUnset ] { + + - Parameters [1] { + Parameter #0 [ $offset ] + } + } + + Method [ public method isLastPage ] { + + - Parameters [0] { + } + } + + Method [ public method nextPage ] { + + - Parameters [1] { + Parameter #0 [ $timeout ] + } + } + + Method [ public method nextPageAsync ] { + + - Parameters [0] { + } + } + + Method [ public method first ] { + + - Parameters [0] { + } + } + } + } + } +} + diff --git a/php-pecl-cassandra.spec b/php-pecl-cassandra.spec new file mode 100644 index 0000000..4288c13 --- /dev/null +++ b/php-pecl-cassandra.spec @@ -0,0 +1,232 @@ +# remirepo spec file for php-pecl-cassandra +# +# Copyright (c) 2015 Remi Collet +# License: CC-BY-SA +# http://creativecommons.org/licenses/by-sa/4.0/ +# +# Please preserve changelog entries +# +%{?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 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_owner datastax +%global gh_project php-driver +%global with_tests 0%{!?_without_tests:1} +%if "%{php_version}" < "5.6" +%global ini_name %{pecl_name}.ini +%else +%global ini_name 40-%{pecl_name}.ini +%endif + +Summary: DataStax PHP Driver for Apache Cassandra +Name: %{?scl_prefix}php-pecl-%{pecl_name} +Version: 1.0.0 +Release: 0.1.%{prever}%{?dist}%{!?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} + +# Pull sources from github to get tests +Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}%{?prever}.tar.gz + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: %{?scl_prefix}php-devel >= 5.2.6 +BuildRequires: %{?scl_prefix}php-pear +BuildRequires: cassandra-cpp-driver-devel +BuildRequires: libuv-devel +BuildRequires: gmp-devel + +Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} +Requires: %{?scl_prefix}php(api) = %{php_core_api} +%{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}} + +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} + +%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} +# Other third party repo stuff +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} +%endif +%endif + +%if 0%{?fedora} < 20 && 0%{?rhel} < 7 +# Filter private shared provides +%{?filter_provides_in: %filter_provides_in %{_libdir}/.*\.so$} +%{?filter_setup} +%endif + + +%description +A modern, feature-rich and highly tunable PHP client library for Apache +Cassandra and DataStax Enterprise using exclusively Cassandra's binary +protocol and Cassandra Query Language v3. + +Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection (%{scl})}. + + +%prep +%setup -c -q + +mv %{gh_project}-%{gh_commit}/ext NTS +mv NTS/package.xml . + +# Don't install/register tests +sed -e 's/role="test"/role="src"/' -i package.xml + +cd NTS +# Sanity check, really often broken +extver=$(sed -n '/#define PHP_CASSANDRA_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 +fi +cd .. + +cat << 'EOF' | tee %{ini_name} +; Enable '%{summary}' extension module +extension=%{pecl_name}.so + +; Configuration +;cassandra.log = 'cassandra.log' +;cassandra.log_level = 'ERROR' +EOF + +%if %{with_zts} +cp -pr NTS ZTS +%endif + + +%build +cd NTS +%{_bindir}/phpize +%configure \ + --with-cassandra \ + --with-php-config=%{_bindir}/php-config +make %{?_smp_mflags} + +%if %{with_zts} +cd ../ZTS +%{_bindir}/zts-phpize +%configure \ + --with-cassandra \ + --with-php-config=%{_bindir}/zts-php-config +make %{?_smp_mflags} +%endif + + +%install +rm -rf %{buildroot} + +make -C NTS install INSTALL_ROOT=%{buildroot} + +# Drop in the bit of configuration +install -D -m 644 %{ini_name} %{buildroot}%{php_inidir}/%{ini_name} + +# Install XML package description +install -D -m 644 package.xml %{buildroot}%{pecl_xmldir}/%{name}.xml + +%if %{with_zts} +make -C ZTS install INSTALL_ROOT=%{buildroot} +install -D -m 644 %{ini_name} %{buildroot}%{php_ztsinidir}/%{ini_name} +%endif + +# Documentation +for i in $(grep 'role="doc"' package.xml | sed -e 's/^.*name="//;s/".*$//') +do install -Dpm 644 NTS/$i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i +done + + +%clean +rm -rf %{buildroot} + + +# when pear installed alone, after us +%triggerin -- %{?scl_prefix}php-pear +if [ -x %{__pecl} ] ; then + %{pecl_install} %{pecl_xmldir}/%{name}.xml >/dev/null || : +fi + +# posttrans as pear can be installed after us +%posttrans +if [ -x %{__pecl} ] ; then + %{pecl_install} %{pecl_xmldir}/%{name}.xml >/dev/null || : +fi + +%postun +if [ $1 -eq 0 -a -x %{__pecl} ] ; then + %{pecl_uninstall} %{pecl_name} >/dev/null || : +fi + + +%check +: Minimal load test for NTS extension +%{__php} -n \ + -d extension=%{buildroot}%{php_extdir}/%{pecl_name}.so \ + -m | grep %{pecl_name} + +%if %{with_tests} +cd NTS +: Upstream test suite NTS extension +TEST_PHP_EXECUTABLE=%{__php} \ +TEST_PHP_ARGS="-n -d extension=$PWD/modules/%{pecl_name}.so" \ +NO_INTERACTION=1 \ +REPORT_EXIT_STATUS=1 \ +%{__php} -n run-tests.php --show-diff +%endif + +%if %{with_zts} +: Minimal load test for ZTS extension +%{__ztsphp} -n \ + -d extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so \ + -m | grep %{pecl_name} + +%if %{with_tests} +cd ../ZTS +: Upstream test suite ZTS extension +TEST_PHP_EXECUTABLE=%{__ztsphp} \ +TEST_PHP_ARGS="-n -d extension=$PWD/modules/%{pecl_name}.so" \ +NO_INTERACTION=1 \ +REPORT_EXIT_STATUS=1 \ +%{__ztsphp} -n run-tests.php --show-diff +%endif +%endif + + +%files +%defattr(-, root, root, -) +%{?_licensedir:%license NTS/LICENSE} +%doc %{pecl_docdir}/%{pecl_name} +%{pecl_xmldir}/%{name}.xml + +%config(noreplace) %{php_inidir}/%{ini_name} +%{php_extdir}/%{pecl_name}.so + +%if %{with_zts} +%config(noreplace) %{php_ztsinidir}/%{ini_name} +%{php_ztsextdir}/%{pecl_name}.so +%endif + + +%changelog +* Thu Aug 13 2015 Remi Collet - 1.0.0-0.1.RC +- Initial package, version 1.0.0RC \ No newline at end of file -- cgit