diff options
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | REFLECTION | 3383 | ||||
-rw-r--r-- | php-pecl-cassandra.spec | 232 |
3 files changed, 3619 insertions, 0 deletions
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 [ <persistent> extension #82 cassandra version 1.0.0RC ] { + + - Dependencies { + Dependency [ spl (Required) ] + } + + - INI { + Entry [ cassandra.log <ALL> ] + Current = 'cassandra.log' + } + Entry [ cassandra.log_level <ALL> ] + Current = 'ERROR' + } + } + + - Classes [59] { + Interface [ <internal:cassandra> interface Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ <internal:cassandra> class Cassandra\Exception\InvalidArgumentException extends InvalidArgumentException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ <default> protected $message ] + Property [ <default> protected $code ] + Property [ <default> protected $file ] + Property [ <default> protected $line ] + } + + - Methods [10] { + Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { + + - Parameters [3] { + Parameter #0 [ <optional> $message ] + Parameter #1 [ <optional> $code ] + Parameter #2 [ <optional> $previous ] + } + } + + Method [ <internal:Core, inherits Exception> public method __wakeup ] { + } + + Method [ <internal:Core, inherits Exception> final public method getMessage ] { + } + + Method [ <internal:Core, inherits Exception> final public method getCode ] { + } + + Method [ <internal:Core, inherits Exception> final public method getFile ] { + } + + Method [ <internal:Core, inherits Exception> final public method getLine ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTrace ] { + } + + Method [ <internal:Core, inherits Exception> final public method getPrevious ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTraceAsString ] { + } + + Method [ <internal:Core, inherits Exception> public method __toString ] { + } + } + } + + Class [ <internal:cassandra> class Cassandra\Exception\DomainException extends DomainException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ <default> protected $message ] + Property [ <default> protected $code ] + Property [ <default> protected $file ] + Property [ <default> protected $line ] + } + + - Methods [10] { + Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { + + - Parameters [3] { + Parameter #0 [ <optional> $message ] + Parameter #1 [ <optional> $code ] + Parameter #2 [ <optional> $previous ] + } + } + + Method [ <internal:Core, inherits Exception> public method __wakeup ] { + } + + Method [ <internal:Core, inherits Exception> final public method getMessage ] { + } + + Method [ <internal:Core, inherits Exception> final public method getCode ] { + } + + Method [ <internal:Core, inherits Exception> final public method getFile ] { + } + + Method [ <internal:Core, inherits Exception> final public method getLine ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTrace ] { + } + + Method [ <internal:Core, inherits Exception> final public method getPrevious ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTraceAsString ] { + } + + Method [ <internal:Core, inherits Exception> public method __toString ] { + } + } + } + + Class [ <internal:cassandra> class Cassandra\Exception\RuntimeException extends RuntimeException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ <default> protected $message ] + Property [ <default> protected $code ] + Property [ <default> protected $file ] + Property [ <default> protected $line ] + } + + - Methods [10] { + Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { + + - Parameters [3] { + Parameter #0 [ <optional> $message ] + Parameter #1 [ <optional> $code ] + Parameter #2 [ <optional> $previous ] + } + } + + Method [ <internal:Core, inherits Exception> public method __wakeup ] { + } + + Method [ <internal:Core, inherits Exception> final public method getMessage ] { + } + + Method [ <internal:Core, inherits Exception> final public method getCode ] { + } + + Method [ <internal:Core, inherits Exception> final public method getFile ] { + } + + Method [ <internal:Core, inherits Exception> final public method getLine ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTrace ] { + } + + Method [ <internal:Core, inherits Exception> final public method getPrevious ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTraceAsString ] { + } + + Method [ <internal:Core, inherits Exception> public method __toString ] { + } + } + } + + Class [ <internal:cassandra> class Cassandra\Exception\TimeoutException extends Cassandra\Exception\RuntimeException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ <default> protected $message ] + Property [ <default> protected $code ] + Property [ <default> protected $file ] + Property [ <default> protected $line ] + } + + - Methods [10] { + Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { + + - Parameters [3] { + Parameter #0 [ <optional> $message ] + Parameter #1 [ <optional> $code ] + Parameter #2 [ <optional> $previous ] + } + } + + Method [ <internal:Core, inherits Exception> public method __wakeup ] { + } + + Method [ <internal:Core, inherits Exception> final public method getMessage ] { + } + + Method [ <internal:Core, inherits Exception> final public method getCode ] { + } + + Method [ <internal:Core, inherits Exception> final public method getFile ] { + } + + Method [ <internal:Core, inherits Exception> final public method getLine ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTrace ] { + } + + Method [ <internal:Core, inherits Exception> final public method getPrevious ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTraceAsString ] { + } + + Method [ <internal:Core, inherits Exception> public method __toString ] { + } + } + } + + Class [ <internal:cassandra> class Cassandra\Exception\LogicException extends LogicException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ <default> protected $message ] + Property [ <default> protected $code ] + Property [ <default> protected $file ] + Property [ <default> protected $line ] + } + + - Methods [10] { + Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { + + - Parameters [3] { + Parameter #0 [ <optional> $message ] + Parameter #1 [ <optional> $code ] + Parameter #2 [ <optional> $previous ] + } + } + + Method [ <internal:Core, inherits Exception> public method __wakeup ] { + } + + Method [ <internal:Core, inherits Exception> final public method getMessage ] { + } + + Method [ <internal:Core, inherits Exception> final public method getCode ] { + } + + Method [ <internal:Core, inherits Exception> final public method getFile ] { + } + + Method [ <internal:Core, inherits Exception> final public method getLine ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTrace ] { + } + + Method [ <internal:Core, inherits Exception> final public method getPrevious ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTraceAsString ] { + } + + Method [ <internal:Core, inherits Exception> public method __toString ] { + } + } + } + + Class [ <internal:cassandra> class Cassandra\Exception\ExecutionException extends Cassandra\Exception\RuntimeException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ <default> protected $message ] + Property [ <default> protected $code ] + Property [ <default> protected $file ] + Property [ <default> protected $line ] + } + + - Methods [10] { + Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { + + - Parameters [3] { + Parameter #0 [ <optional> $message ] + Parameter #1 [ <optional> $code ] + Parameter #2 [ <optional> $previous ] + } + } + + Method [ <internal:Core, inherits Exception> public method __wakeup ] { + } + + Method [ <internal:Core, inherits Exception> final public method getMessage ] { + } + + Method [ <internal:Core, inherits Exception> final public method getCode ] { + } + + Method [ <internal:Core, inherits Exception> final public method getFile ] { + } + + Method [ <internal:Core, inherits Exception> final public method getLine ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTrace ] { + } + + Method [ <internal:Core, inherits Exception> final public method getPrevious ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTraceAsString ] { + } + + Method [ <internal:Core, inherits Exception> public method __toString ] { + } + } + } + + Class [ <internal:cassandra> class Cassandra\Exception\ReadTimeoutException extends Cassandra\Exception\ExecutionException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ <default> protected $message ] + Property [ <default> protected $code ] + Property [ <default> protected $file ] + Property [ <default> protected $line ] + } + + - Methods [10] { + Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { + + - Parameters [3] { + Parameter #0 [ <optional> $message ] + Parameter #1 [ <optional> $code ] + Parameter #2 [ <optional> $previous ] + } + } + + Method [ <internal:Core, inherits Exception> public method __wakeup ] { + } + + Method [ <internal:Core, inherits Exception> final public method getMessage ] { + } + + Method [ <internal:Core, inherits Exception> final public method getCode ] { + } + + Method [ <internal:Core, inherits Exception> final public method getFile ] { + } + + Method [ <internal:Core, inherits Exception> final public method getLine ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTrace ] { + } + + Method [ <internal:Core, inherits Exception> final public method getPrevious ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTraceAsString ] { + } + + Method [ <internal:Core, inherits Exception> public method __toString ] { + } + } + } + + Class [ <internal:cassandra> class Cassandra\Exception\WriteTimeoutException extends Cassandra\Exception\ExecutionException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ <default> protected $message ] + Property [ <default> protected $code ] + Property [ <default> protected $file ] + Property [ <default> protected $line ] + } + + - Methods [10] { + Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { + + - Parameters [3] { + Parameter #0 [ <optional> $message ] + Parameter #1 [ <optional> $code ] + Parameter #2 [ <optional> $previous ] + } + } + + Method [ <internal:Core, inherits Exception> public method __wakeup ] { + } + + Method [ <internal:Core, inherits Exception> final public method getMessage ] { + } + + Method [ <internal:Core, inherits Exception> final public method getCode ] { + } + + Method [ <internal:Core, inherits Exception> final public method getFile ] { + } + + Method [ <internal:Core, inherits Exception> final public method getLine ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTrace ] { + } + + Method [ <internal:Core, inherits Exception> final public method getPrevious ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTraceAsString ] { + } + + Method [ <internal:Core, inherits Exception> public method __toString ] { + } + } + } + + Class [ <internal:cassandra> class Cassandra\Exception\UnavailableException extends Cassandra\Exception\ExecutionException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ <default> protected $message ] + Property [ <default> protected $code ] + Property [ <default> protected $file ] + Property [ <default> protected $line ] + } + + - Methods [10] { + Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { + + - Parameters [3] { + Parameter #0 [ <optional> $message ] + Parameter #1 [ <optional> $code ] + Parameter #2 [ <optional> $previous ] + } + } + + Method [ <internal:Core, inherits Exception> public method __wakeup ] { + } + + Method [ <internal:Core, inherits Exception> final public method getMessage ] { + } + + Method [ <internal:Core, inherits Exception> final public method getCode ] { + } + + Method [ <internal:Core, inherits Exception> final public method getFile ] { + } + + Method [ <internal:Core, inherits Exception> final public method getLine ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTrace ] { + } + + Method [ <internal:Core, inherits Exception> final public method getPrevious ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTraceAsString ] { + } + + Method [ <internal:Core, inherits Exception> public method __toString ] { + } + } + } + + Class [ <internal:cassandra> class Cassandra\Exception\TruncateException extends Cassandra\Exception\ExecutionException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ <default> protected $message ] + Property [ <default> protected $code ] + Property [ <default> protected $file ] + Property [ <default> protected $line ] + } + + - Methods [10] { + Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { + + - Parameters [3] { + Parameter #0 [ <optional> $message ] + Parameter #1 [ <optional> $code ] + Parameter #2 [ <optional> $previous ] + } + } + + Method [ <internal:Core, inherits Exception> public method __wakeup ] { + } + + Method [ <internal:Core, inherits Exception> final public method getMessage ] { + } + + Method [ <internal:Core, inherits Exception> final public method getCode ] { + } + + Method [ <internal:Core, inherits Exception> final public method getFile ] { + } + + Method [ <internal:Core, inherits Exception> final public method getLine ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTrace ] { + } + + Method [ <internal:Core, inherits Exception> final public method getPrevious ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTraceAsString ] { + } + + Method [ <internal:Core, inherits Exception> public method __toString ] { + } + } + } + + Class [ <internal:cassandra> class Cassandra\Exception\ValidationException extends Cassandra\Exception\RuntimeException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ <default> protected $message ] + Property [ <default> protected $code ] + Property [ <default> protected $file ] + Property [ <default> protected $line ] + } + + - Methods [10] { + Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { + + - Parameters [3] { + Parameter #0 [ <optional> $message ] + Parameter #1 [ <optional> $code ] + Parameter #2 [ <optional> $previous ] + } + } + + Method [ <internal:Core, inherits Exception> public method __wakeup ] { + } + + Method [ <internal:Core, inherits Exception> final public method getMessage ] { + } + + Method [ <internal:Core, inherits Exception> final public method getCode ] { + } + + Method [ <internal:Core, inherits Exception> final public method getFile ] { + } + + Method [ <internal:Core, inherits Exception> final public method getLine ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTrace ] { + } + + Method [ <internal:Core, inherits Exception> final public method getPrevious ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTraceAsString ] { + } + + Method [ <internal:Core, inherits Exception> public method __toString ] { + } + } + } + + Class [ <internal:cassandra> class Cassandra\Exception\InvalidQueryException extends Cassandra\Exception\ValidationException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ <default> protected $message ] + Property [ <default> protected $code ] + Property [ <default> protected $file ] + Property [ <default> protected $line ] + } + + - Methods [10] { + Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { + + - Parameters [3] { + Parameter #0 [ <optional> $message ] + Parameter #1 [ <optional> $code ] + Parameter #2 [ <optional> $previous ] + } + } + + Method [ <internal:Core, inherits Exception> public method __wakeup ] { + } + + Method [ <internal:Core, inherits Exception> final public method getMessage ] { + } + + Method [ <internal:Core, inherits Exception> final public method getCode ] { + } + + Method [ <internal:Core, inherits Exception> final public method getFile ] { + } + + Method [ <internal:Core, inherits Exception> final public method getLine ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTrace ] { + } + + Method [ <internal:Core, inherits Exception> final public method getPrevious ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTraceAsString ] { + } + + Method [ <internal:Core, inherits Exception> public method __toString ] { + } + } + } + + Class [ <internal:cassandra> class Cassandra\Exception\InvalidSyntaxException extends Cassandra\Exception\ValidationException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ <default> protected $message ] + Property [ <default> protected $code ] + Property [ <default> protected $file ] + Property [ <default> protected $line ] + } + + - Methods [10] { + Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { + + - Parameters [3] { + Parameter #0 [ <optional> $message ] + Parameter #1 [ <optional> $code ] + Parameter #2 [ <optional> $previous ] + } + } + + Method [ <internal:Core, inherits Exception> public method __wakeup ] { + } + + Method [ <internal:Core, inherits Exception> final public method getMessage ] { + } + + Method [ <internal:Core, inherits Exception> final public method getCode ] { + } + + Method [ <internal:Core, inherits Exception> final public method getFile ] { + } + + Method [ <internal:Core, inherits Exception> final public method getLine ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTrace ] { + } + + Method [ <internal:Core, inherits Exception> final public method getPrevious ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTraceAsString ] { + } + + Method [ <internal:Core, inherits Exception> public method __toString ] { + } + } + } + + Class [ <internal:cassandra> class Cassandra\Exception\UnauthorizedException extends Cassandra\Exception\ValidationException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ <default> protected $message ] + Property [ <default> protected $code ] + Property [ <default> protected $file ] + Property [ <default> protected $line ] + } + + - Methods [10] { + Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { + + - Parameters [3] { + Parameter #0 [ <optional> $message ] + Parameter #1 [ <optional> $code ] + Parameter #2 [ <optional> $previous ] + } + } + + Method [ <internal:Core, inherits Exception> public method __wakeup ] { + } + + Method [ <internal:Core, inherits Exception> final public method getMessage ] { + } + + Method [ <internal:Core, inherits Exception> final public method getCode ] { + } + + Method [ <internal:Core, inherits Exception> final public method getFile ] { + } + + Method [ <internal:Core, inherits Exception> final public method getLine ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTrace ] { + } + + Method [ <internal:Core, inherits Exception> final public method getPrevious ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTraceAsString ] { + } + + Method [ <internal:Core, inherits Exception> public method __toString ] { + } + } + } + + Class [ <internal:cassandra> class Cassandra\Exception\UnpreparedException extends Cassandra\Exception\ValidationException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ <default> protected $message ] + Property [ <default> protected $code ] + Property [ <default> protected $file ] + Property [ <default> protected $line ] + } + + - Methods [10] { + Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { + + - Parameters [3] { + Parameter #0 [ <optional> $message ] + Parameter #1 [ <optional> $code ] + Parameter #2 [ <optional> $previous ] + } + } + + Method [ <internal:Core, inherits Exception> public method __wakeup ] { + } + + Method [ <internal:Core, inherits Exception> final public method getMessage ] { + } + + Method [ <internal:Core, inherits Exception> final public method getCode ] { + } + + Method [ <internal:Core, inherits Exception> final public method getFile ] { + } + + Method [ <internal:Core, inherits Exception> final public method getLine ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTrace ] { + } + + Method [ <internal:Core, inherits Exception> final public method getPrevious ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTraceAsString ] { + } + + Method [ <internal:Core, inherits Exception> public method __toString ] { + } + } + } + + Class [ <internal:cassandra> class Cassandra\Exception\ConfigurationException extends Cassandra\Exception\ValidationException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ <default> protected $message ] + Property [ <default> protected $code ] + Property [ <default> protected $file ] + Property [ <default> protected $line ] + } + + - Methods [10] { + Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { + + - Parameters [3] { + Parameter #0 [ <optional> $message ] + Parameter #1 [ <optional> $code ] + Parameter #2 [ <optional> $previous ] + } + } + + Method [ <internal:Core, inherits Exception> public method __wakeup ] { + } + + Method [ <internal:Core, inherits Exception> final public method getMessage ] { + } + + Method [ <internal:Core, inherits Exception> final public method getCode ] { + } + + Method [ <internal:Core, inherits Exception> final public method getFile ] { + } + + Method [ <internal:Core, inherits Exception> final public method getLine ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTrace ] { + } + + Method [ <internal:Core, inherits Exception> final public method getPrevious ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTraceAsString ] { + } + + Method [ <internal:Core, inherits Exception> public method __toString ] { + } + } + } + + Class [ <internal:cassandra> class Cassandra\Exception\AlreadyExistsException extends Cassandra\Exception\ConfigurationException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ <default> protected $message ] + Property [ <default> protected $code ] + Property [ <default> protected $file ] + Property [ <default> protected $line ] + } + + - Methods [10] { + Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { + + - Parameters [3] { + Parameter #0 [ <optional> $message ] + Parameter #1 [ <optional> $code ] + Parameter #2 [ <optional> $previous ] + } + } + + Method [ <internal:Core, inherits Exception> public method __wakeup ] { + } + + Method [ <internal:Core, inherits Exception> final public method getMessage ] { + } + + Method [ <internal:Core, inherits Exception> final public method getCode ] { + } + + Method [ <internal:Core, inherits Exception> final public method getFile ] { + } + + Method [ <internal:Core, inherits Exception> final public method getLine ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTrace ] { + } + + Method [ <internal:Core, inherits Exception> final public method getPrevious ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTraceAsString ] { + } + + Method [ <internal:Core, inherits Exception> public method __toString ] { + } + } + } + + Class [ <internal:cassandra> class Cassandra\Exception\AuthenticationException extends Cassandra\Exception\RuntimeException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ <default> protected $message ] + Property [ <default> protected $code ] + Property [ <default> protected $file ] + Property [ <default> protected $line ] + } + + - Methods [10] { + Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { + + - Parameters [3] { + Parameter #0 [ <optional> $message ] + Parameter #1 [ <optional> $code ] + Parameter #2 [ <optional> $previous ] + } + } + + Method [ <internal:Core, inherits Exception> public method __wakeup ] { + } + + Method [ <internal:Core, inherits Exception> final public method getMessage ] { + } + + Method [ <internal:Core, inherits Exception> final public method getCode ] { + } + + Method [ <internal:Core, inherits Exception> final public method getFile ] { + } + + Method [ <internal:Core, inherits Exception> final public method getLine ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTrace ] { + } + + Method [ <internal:Core, inherits Exception> final public method getPrevious ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTraceAsString ] { + } + + Method [ <internal:Core, inherits Exception> public method __toString ] { + } + } + } + + Class [ <internal:cassandra> class Cassandra\Exception\ProtocolException extends Cassandra\Exception\RuntimeException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ <default> protected $message ] + Property [ <default> protected $code ] + Property [ <default> protected $file ] + Property [ <default> protected $line ] + } + + - Methods [10] { + Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { + + - Parameters [3] { + Parameter #0 [ <optional> $message ] + Parameter #1 [ <optional> $code ] + Parameter #2 [ <optional> $previous ] + } + } + + Method [ <internal:Core, inherits Exception> public method __wakeup ] { + } + + Method [ <internal:Core, inherits Exception> final public method getMessage ] { + } + + Method [ <internal:Core, inherits Exception> final public method getCode ] { + } + + Method [ <internal:Core, inherits Exception> final public method getFile ] { + } + + Method [ <internal:Core, inherits Exception> final public method getLine ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTrace ] { + } + + Method [ <internal:Core, inherits Exception> final public method getPrevious ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTraceAsString ] { + } + + Method [ <internal:Core, inherits Exception> public method __toString ] { + } + } + } + + Class [ <internal:cassandra> class Cassandra\Exception\ServerException extends Cassandra\Exception\RuntimeException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ <default> protected $message ] + Property [ <default> protected $code ] + Property [ <default> protected $file ] + Property [ <default> protected $line ] + } + + - Methods [10] { + Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { + + - Parameters [3] { + Parameter #0 [ <optional> $message ] + Parameter #1 [ <optional> $code ] + Parameter #2 [ <optional> $previous ] + } + } + + Method [ <internal:Core, inherits Exception> public method __wakeup ] { + } + + Method [ <internal:Core, inherits Exception> final public method getMessage ] { + } + + Method [ <internal:Core, inherits Exception> final public method getCode ] { + } + + Method [ <internal:Core, inherits Exception> final public method getFile ] { + } + + Method [ <internal:Core, inherits Exception> final public method getLine ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTrace ] { + } + + Method [ <internal:Core, inherits Exception> final public method getPrevious ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTraceAsString ] { + } + + Method [ <internal:Core, inherits Exception> public method __toString ] { + } + } + } + + Class [ <internal:cassandra> class Cassandra\Exception\IsBootstrappingException extends Cassandra\Exception\ServerException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ <default> protected $message ] + Property [ <default> protected $code ] + Property [ <default> protected $file ] + Property [ <default> protected $line ] + } + + - Methods [10] { + Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { + + - Parameters [3] { + Parameter #0 [ <optional> $message ] + Parameter #1 [ <optional> $code ] + Parameter #2 [ <optional> $previous ] + } + } + + Method [ <internal:Core, inherits Exception> public method __wakeup ] { + } + + Method [ <internal:Core, inherits Exception> final public method getMessage ] { + } + + Method [ <internal:Core, inherits Exception> final public method getCode ] { + } + + Method [ <internal:Core, inherits Exception> final public method getFile ] { + } + + Method [ <internal:Core, inherits Exception> final public method getLine ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTrace ] { + } + + Method [ <internal:Core, inherits Exception> final public method getPrevious ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTraceAsString ] { + } + + Method [ <internal:Core, inherits Exception> public method __toString ] { + } + } + } + + Class [ <internal:cassandra> class Cassandra\Exception\OverloadedException extends Cassandra\Exception\ServerException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ <default> protected $message ] + Property [ <default> protected $code ] + Property [ <default> protected $file ] + Property [ <default> protected $line ] + } + + - Methods [10] { + Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { + + - Parameters [3] { + Parameter #0 [ <optional> $message ] + Parameter #1 [ <optional> $code ] + Parameter #2 [ <optional> $previous ] + } + } + + Method [ <internal:Core, inherits Exception> public method __wakeup ] { + } + + Method [ <internal:Core, inherits Exception> final public method getMessage ] { + } + + Method [ <internal:Core, inherits Exception> final public method getCode ] { + } + + Method [ <internal:Core, inherits Exception> final public method getFile ] { + } + + Method [ <internal:Core, inherits Exception> final public method getLine ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTrace ] { + } + + Method [ <internal:Core, inherits Exception> final public method getPrevious ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTraceAsString ] { + } + + Method [ <internal:Core, inherits Exception> public method __toString ] { + } + } + } + + Class [ <internal:cassandra> class Cassandra\Exception\RangeException extends RangeException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ <default> protected $message ] + Property [ <default> protected $code ] + Property [ <default> protected $file ] + Property [ <default> protected $line ] + } + + - Methods [10] { + Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { + + - Parameters [3] { + Parameter #0 [ <optional> $message ] + Parameter #1 [ <optional> $code ] + Parameter #2 [ <optional> $previous ] + } + } + + Method [ <internal:Core, inherits Exception> public method __wakeup ] { + } + + Method [ <internal:Core, inherits Exception> final public method getMessage ] { + } + + Method [ <internal:Core, inherits Exception> final public method getCode ] { + } + + Method [ <internal:Core, inherits Exception> final public method getFile ] { + } + + Method [ <internal:Core, inherits Exception> final public method getLine ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTrace ] { + } + + Method [ <internal:Core, inherits Exception> final public method getPrevious ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTraceAsString ] { + } + + Method [ <internal:Core, inherits Exception> public method __toString ] { + } + } + } + + Class [ <internal:cassandra> class Cassandra\Exception\DivideByZeroException extends Cassandra\Exception\RangeException implements Cassandra\Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ <default> protected $message ] + Property [ <default> protected $code ] + Property [ <default> protected $file ] + Property [ <default> protected $line ] + } + + - Methods [10] { + Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { + + - Parameters [3] { + Parameter #0 [ <optional> $message ] + Parameter #1 [ <optional> $code ] + Parameter #2 [ <optional> $previous ] + } + } + + Method [ <internal:Core, inherits Exception> public method __wakeup ] { + } + + Method [ <internal:Core, inherits Exception> final public method getMessage ] { + } + + Method [ <internal:Core, inherits Exception> final public method getCode ] { + } + + Method [ <internal:Core, inherits Exception> final public method getFile ] { + } + + Method [ <internal:Core, inherits Exception> final public method getLine ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTrace ] { + } + + Method [ <internal:Core, inherits Exception> final public method getPrevious ] { + } + + Method [ <internal:Core, inherits Exception> final public method getTraceAsString ] { + } + + Method [ <internal:Core, inherits Exception> public method __toString ] { + } + } + } + + Interface [ <internal:cassandra> interface Cassandra\Numeric ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [10] { + Method [ <internal:cassandra> abstract public method add ] { + + - Parameters [1] { + Parameter #0 [ <required> $num ] + } + } + + Method [ <internal:cassandra> abstract public method sub ] { + + - Parameters [1] { + Parameter #0 [ <required> $num ] + } + } + + Method [ <internal:cassandra> abstract public method mul ] { + + - Parameters [1] { + Parameter #0 [ <required> $num ] + } + } + + Method [ <internal:cassandra> abstract public method div ] { + + - Parameters [1] { + Parameter #0 [ <required> $num ] + } + } + + Method [ <internal:cassandra> abstract public method mod ] { + + - Parameters [1] { + Parameter #0 [ <required> $num ] + } + } + + Method [ <internal:cassandra> abstract public method abs ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra> abstract public method neg ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra> abstract public method sqrt ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra> abstract public method toInt ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra> abstract public method toDouble ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:cassandra> final class Cassandra\Bigint implements Cassandra\Numeric ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [2] { + Method [ <internal:cassandra> static public method min ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra> static public method max ] { + + - Parameters [0] { + } + } + } + + - Properties [0] { + } + + - Methods [13] { + Method [ <internal:cassandra, ctor> public method __construct ] { + + - Parameters [1] { + Parameter #0 [ <required> $value ] + } + } + + Method [ <internal:cassandra> public method __toString ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra> public method value ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Cassandra\Numeric> public method add ] { + + - Parameters [1] { + Parameter #0 [ <required> $num ] + } + } + + Method [ <internal:cassandra, prototype Cassandra\Numeric> public method sub ] { + + - Parameters [1] { + Parameter #0 [ <required> $num ] + } + } + + Method [ <internal:cassandra, prototype Cassandra\Numeric> public method mul ] { + + - Parameters [1] { + Parameter #0 [ <required> $num ] + } + } + + Method [ <internal:cassandra, prototype Cassandra\Numeric> public method div ] { + + - Parameters [1] { + Parameter #0 [ <required> $num ] + } + } + + Method [ <internal:cassandra, prototype Cassandra\Numeric> public method mod ] { + + - Parameters [1] { + Parameter #0 [ <required> $num ] + } + } + + Method [ <internal:cassandra, prototype Cassandra\Numeric> public method abs ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Cassandra\Numeric> public method neg ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Cassandra\Numeric> public method sqrt ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Cassandra\Numeric> public method toInt ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Cassandra\Numeric> public method toDouble ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:cassandra> final class Cassandra\Blob ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [4] { + Method [ <internal:cassandra, ctor> public method __construct ] { + + - Parameters [1] { + Parameter #0 [ <required> $bytes ] + } + } + + Method [ <internal:cassandra> public method __toString ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra> public method bytes ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra> public method toBinaryString ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:cassandra> final class Cassandra\Decimal implements Cassandra\Numeric ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [14] { + Method [ <internal:cassandra, ctor> public method __construct ] { + + - Parameters [1] { + Parameter #0 [ <required> $value ] + } + } + + Method [ <internal:cassandra> public method __toString ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra> public method value ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra> public method scale ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Cassandra\Numeric> public method add ] { + + - Parameters [1] { + Parameter #0 [ <required> $num ] + } + } + + Method [ <internal:cassandra, prototype Cassandra\Numeric> public method sub ] { + + - Parameters [1] { + Parameter #0 [ <required> $num ] + } + } + + Method [ <internal:cassandra, prototype Cassandra\Numeric> public method mul ] { + + - Parameters [1] { + Parameter #0 [ <required> $num ] + } + } + + Method [ <internal:cassandra, prototype Cassandra\Numeric> public method div ] { + + - Parameters [1] { + Parameter #0 [ <required> $num ] + } + } + + Method [ <internal:cassandra, prototype Cassandra\Numeric> public method mod ] { + + - Parameters [1] { + Parameter #0 [ <required> $num ] + } + } + + Method [ <internal:cassandra, prototype Cassandra\Numeric> public method abs ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Cassandra\Numeric> public method neg ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Cassandra\Numeric> public method sqrt ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Cassandra\Numeric> public method toInt ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Cassandra\Numeric> public method toDouble ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:cassandra> final class Cassandra\Float implements Cassandra\Numeric ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [2] { + Method [ <internal:cassandra> static public method min ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra> static public method max ] { + + - Parameters [0] { + } + } + } + + - Properties [0] { + } + + - Methods [16] { + Method [ <internal:cassandra, ctor> public method __construct ] { + + - Parameters [1] { + Parameter #0 [ <required> $value ] + } + } + + Method [ <internal:cassandra> public method __toString ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra> public method value ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra> public method isInfinite ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra> public method isFinite ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra> public method isNaN ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Cassandra\Numeric> public method add ] { + + - Parameters [1] { + Parameter #0 [ <required> $num ] + } + } + + Method [ <internal:cassandra, prototype Cassandra\Numeric> public method sub ] { + + - Parameters [1] { + Parameter #0 [ <required> $num ] + } + } + + Method [ <internal:cassandra, prototype Cassandra\Numeric> public method mul ] { + + - Parameters [1] { + Parameter #0 [ <required> $num ] + } + } + + Method [ <internal:cassandra, prototype Cassandra\Numeric> public method div ] { + + - Parameters [1] { + Parameter #0 [ <required> $num ] + } + } + + Method [ <internal:cassandra, prototype Cassandra\Numeric> public method mod ] { + + - Parameters [1] { + Parameter #0 [ <required> $num ] + } + } + + Method [ <internal:cassandra, prototype Cassandra\Numeric> public method abs ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Cassandra\Numeric> public method neg ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Cassandra\Numeric> public method sqrt ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Cassandra\Numeric> public method toInt ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Cassandra\Numeric> public method toDouble ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:cassandra> final class Cassandra\Inet ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [3] { + Method [ <internal:cassandra, ctor> public method __construct ] { + + - Parameters [1] { + Parameter #0 [ <required> $address ] + } + } + + Method [ <internal:cassandra> public method __toString ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra> public method address ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:cassandra> final class Cassandra\Timestamp ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [5] { + Method [ <internal:cassandra, ctor> public method __construct ] { + + - Parameters [2] { + Parameter #0 [ <optional> $seconds ] + Parameter #1 [ <optional> $microseconds ] + } + } + + Method [ <internal:cassandra> public method time ] { + } + + Method [ <internal:cassandra> public method microtime ] { + + - Parameters [1] { + Parameter #0 [ <optional> $get_as_float ] + } + } + + Method [ <internal:cassandra> public method toDateTime ] { + } + + Method [ <internal:cassandra> public method __toString ] { + } + } + } + + Interface [ <internal:cassandra> interface Cassandra\UuidInterface ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [2] { + Method [ <internal:cassandra> abstract public method uuid ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra> abstract public method version ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:cassandra> final class Cassandra\Timeuuid implements Cassandra\UuidInterface ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [6] { + Method [ <internal:cassandra, ctor> public method __construct ] { + + - Parameters [1] { + Parameter #0 [ <optional> $timestamp ] + } + } + + Method [ <internal:cassandra> public method __toString ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Cassandra\UuidInterface> public method uuid ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Cassandra\UuidInterface> public method version ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra> public method time ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra> public method toDateTime ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:cassandra> final class Cassandra\Uuid implements Cassandra\UuidInterface ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [4] { + Method [ <internal:cassandra, ctor> public method __construct ] { + + - Parameters [1] { + Parameter #0 [ <optional> $uuid ] + } + } + + Method [ <internal:cassandra> public method __toString ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Cassandra\UuidInterface> public method uuid ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Cassandra\UuidInterface> public method version ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:cassandra> final class Cassandra\Varint implements Cassandra\Numeric ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [13] { + Method [ <internal:cassandra, ctor> public method __construct ] { + + - Parameters [1] { + Parameter #0 [ <required> $value ] + } + } + + Method [ <internal:cassandra> public method __toString ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra> public method value ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Cassandra\Numeric> public method add ] { + + - Parameters [1] { + Parameter #0 [ <required> $num ] + } + } + + Method [ <internal:cassandra, prototype Cassandra\Numeric> public method sub ] { + + - Parameters [1] { + Parameter #0 [ <required> $num ] + } + } + + Method [ <internal:cassandra, prototype Cassandra\Numeric> public method mul ] { + + - Parameters [1] { + Parameter #0 [ <required> $num ] + } + } + + Method [ <internal:cassandra, prototype Cassandra\Numeric> public method div ] { + + - Parameters [1] { + Parameter #0 [ <required> $num ] + } + } + + Method [ <internal:cassandra, prototype Cassandra\Numeric> public method mod ] { + + - Parameters [1] { + Parameter #0 [ <required> $num ] + } + } + + Method [ <internal:cassandra, prototype Cassandra\Numeric> public method abs ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Cassandra\Numeric> public method neg ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Cassandra\Numeric> public method sqrt ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Cassandra\Numeric> public method toInt ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Cassandra\Numeric> public method toDouble ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:cassandra> <iterateable> final class Cassandra\Set implements Countable, Iterator, Traversable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [11] { + Method [ <internal:cassandra, ctor> public method __construct ] { + + - Parameters [1] { + Parameter #0 [ <required> $type ] + } + } + + Method [ <internal:cassandra> public method type ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra> public method values ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra> public method add ] { + + - Parameters [1] { + Parameter #0 [ <required> $value ] + } + } + + Method [ <internal:cassandra> public method remove ] { + + - Parameters [1] { + Parameter #0 [ <required> $value ] + } + } + + Method [ <internal:cassandra, prototype Countable> public method count ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Iterator> public method current ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Iterator> public method key ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Iterator> public method next ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Iterator> public method valid ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Iterator> public method rewind ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:cassandra> <iterateable> final class Cassandra\Map implements Countable, Iterator, Traversable, ArrayAccess ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [19] { + Method [ <internal:cassandra, ctor> public method __construct ] { + + - Parameters [1] { + Parameter #0 [ <required> $type ] + } + } + + Method [ <internal:cassandra> public method keyType ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra> public method keys ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra> public method valueType ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra> public method values ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra> public method set ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + } + } + + Method [ <internal:cassandra> public method get ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + + Method [ <internal:cassandra> public method remove ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + + Method [ <internal:cassandra> public method has ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + + Method [ <internal:cassandra, prototype Countable> public method count ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Iterator> public method current ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Iterator> public method key ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Iterator> public method next ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Iterator> public method valid ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Iterator> public method rewind ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype ArrayAccess> public method offsetSet ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + } + } + + Method [ <internal:cassandra, prototype ArrayAccess> public method offsetGet ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + + Method [ <internal:cassandra, prototype ArrayAccess> public method offsetUnset ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + + Method [ <internal:cassandra, prototype ArrayAccess> public method offsetExists ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + } + } + + Class [ <internal:cassandra> <iterateable> final class Cassandra\Collection implements Countable, Iterator, Traversable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [13] { + Method [ <internal:cassandra, ctor> public method __construct ] { + + - Parameters [1] { + Parameter #0 [ <required> $type ] + } + } + + Method [ <internal:cassandra> public method type ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra> public method values ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra> public method add ] { + + - Parameters [1] { + Parameter #0 [ <required> $value ] + } + } + + Method [ <internal:cassandra> public method get ] { + + - Parameters [1] { + Parameter #0 [ <required> $index ] + } + } + + Method [ <internal:cassandra> public method find ] { + + - Parameters [1] { + Parameter #0 [ <required> $value ] + } + } + + Method [ <internal:cassandra, prototype Countable> public method count ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Iterator> public method current ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Iterator> public method key ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Iterator> public method next ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Iterator> public method valid ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Iterator> public method rewind ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra> public method remove ] { + + - Parameters [1] { + Parameter #0 [ <required> $index ] + } + } + } + } + + Class [ <internal:cassandra> 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 [ <internal:cassandra> static public method cluster ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra> static public method ssl ] { + + - Parameters [0] { + } + } + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Interface [ <internal:cassandra> interface Cassandra\Cluster ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [2] { + Method [ <internal:cassandra> abstract public method connect ] { + + - Parameters [1] { + Parameter #0 [ <optional> $keyspace ] + } + } + + Method [ <internal:cassandra> abstract public method connectAsync ] { + + - Parameters [1] { + Parameter #0 [ <optional> $keyspace ] + } + } + } + } + + Class [ <internal:cassandra> final class Cassandra\Cluster\Builder ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [21] { + Method [ <internal:cassandra> public method build ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra> public method withDefaultConsistency ] { + + - Parameters [1] { + Parameter #0 [ <required> $consistency ] + } + } + + Method [ <internal:cassandra> public method withDefaultPageSize ] { + + - Parameters [1] { + Parameter #0 [ <required> $pageSize ] + } + } + + Method [ <internal:cassandra> public method withDefaultTimeout ] { + + - Parameters [1] { + Parameter #0 [ <required> $timeout ] + } + } + + Method [ <internal:cassandra> public method withContactPoints ] { + + - Parameters [1] { + Parameter #0 [ <required> $host ] + } + } + + Method [ <internal:cassandra> public method withPort ] { + + - Parameters [1] { + Parameter #0 [ <required> $port ] + } + } + + Method [ <internal:cassandra> public method withRoundRobinLoadBalancingPolicy ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra> public method withDatacenterAwareRoundRobinLoadBalancingPolicy ] { + + - Parameters [3] { + Parameter #0 [ <required> $localDatacenter ] + Parameter #1 [ <required> $hostPerRemoteDatacenter ] + Parameter #2 [ <required> $useRemoteDatacenterForLocalConsistencies ] + } + } + + Method [ <internal:cassandra> public method withTokenAwareRouting ] { + + - Parameters [1] { + Parameter #0 [ <optional> $enabled ] + } + } + + Method [ <internal:cassandra> public method withCredentials ] { + + - Parameters [2] { + Parameter #0 [ <required> $username ] + Parameter #1 [ <required> $password ] + } + } + + Method [ <internal:cassandra> public method withConnectTimeout ] { + + - Parameters [1] { + Parameter #0 [ <required> $timeout ] + } + } + + Method [ <internal:cassandra> public method withRequestTimeout ] { + + - Parameters [1] { + Parameter #0 [ <required> $timeout ] + } + } + + Method [ <internal:cassandra> public method withSSL ] { + + - Parameters [1] { + Parameter #0 [ <required> Cassandra\SSLOptions $options ] + } + } + + Method [ <internal:cassandra> public method withPersistentSessions ] { + + - Parameters [1] { + Parameter #0 [ <optional> $enabled ] + } + } + + Method [ <internal:cassandra> public method withProtocolVersion ] { + + - Parameters [1] { + Parameter #0 [ <required> $version ] + } + } + + Method [ <internal:cassandra> public method withIOThreads ] { + + - Parameters [1] { + Parameter #0 [ <required> $count ] + } + } + + Method [ <internal:cassandra> public method withConnectionsPerHost ] { + + - Parameters [2] { + Parameter #0 [ <required> $core ] + Parameter #1 [ <optional> $max ] + } + } + + Method [ <internal:cassandra> public method withReconnectInterval ] { + + - Parameters [1] { + Parameter #0 [ <required> $interval ] + } + } + + Method [ <internal:cassandra> public method withLatencyAwareRouting ] { + + - Parameters [1] { + Parameter #0 [ <optional> $enabled ] + } + } + + Method [ <internal:cassandra> public method withTCPNodelay ] { + + - Parameters [1] { + Parameter #0 [ <optional> $enabled ] + } + } + + Method [ <internal:cassandra> public method withTCPKeepalive ] { + + - Parameters [1] { + Parameter #0 [ <required> $delay ] + } + } + } + } + + Class [ <internal:cassandra> final class Cassandra\DefaultCluster implements Cassandra\Cluster ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [2] { + Method [ <internal:cassandra, prototype Cassandra\Cluster> public method connect ] { + + - Parameters [2] { + Parameter #0 [ <optional> $keyspace ] + Parameter #1 [ <optional> $timeout ] + } + } + + Method [ <internal:cassandra, prototype Cassandra\Cluster> public method connectAsync ] { + + - Parameters [1] { + Parameter #0 [ <optional> $keyspace ] + } + } + } + } + + Interface [ <internal:cassandra> interface Cassandra\Future ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [1] { + Method [ <internal:cassandra> abstract public method get ] { + + - Parameters [1] { + Parameter #0 [ <optional> $timeout ] + } + } + } + } + + Class [ <internal:cassandra> final class Cassandra\FuturePreparedStatement implements Cassandra\Future ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [1] { + Method [ <internal:cassandra, prototype Cassandra\Future> public method get ] { + + - Parameters [1] { + Parameter #0 [ <optional> $timeout ] + } + } + } + } + + Class [ <internal:cassandra> final class Cassandra\FutureRows implements Cassandra\Future ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [1] { + Method [ <internal:cassandra, prototype Cassandra\Future> public method get ] { + + - Parameters [1] { + Parameter #0 [ <optional> $timeout ] + } + } + } + } + + Class [ <internal:cassandra> final class Cassandra\FutureSession implements Cassandra\Future ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [1] { + Method [ <internal:cassandra, prototype Cassandra\Future> public method get ] { + + - Parameters [1] { + Parameter #0 [ <optional> $timeout ] + } + } + } + } + + Class [ <internal:cassandra> final class Cassandra\FutureValue implements Cassandra\Future ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [1] { + Method [ <internal:cassandra, prototype Cassandra\Future> public method get ] { + + - Parameters [1] { + Parameter #0 [ <optional> $timeout ] + } + } + } + } + + Class [ <internal:cassandra> final class Cassandra\FutureClose implements Cassandra\Future ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [1] { + Method [ <internal:cassandra, prototype Cassandra\Future> public method get ] { + + - Parameters [1] { + Parameter #0 [ <optional> $timeout ] + } + } + } + } + + Interface [ <internal:cassandra> interface Cassandra\Session ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [6] { + Method [ <internal:cassandra> abstract public method execute ] { + + - Parameters [2] { + Parameter #0 [ <required> Cassandra\Statement $statement ] + Parameter #1 [ <optional> Cassandra\ExecutionOptions $options ] + } + } + + Method [ <internal:cassandra> abstract public method executeAsync ] { + + - Parameters [2] { + Parameter #0 [ <required> Cassandra\Statement $statement ] + Parameter #1 [ <optional> Cassandra\ExecutionOptions $options ] + } + } + + Method [ <internal:cassandra> abstract public method prepare ] { + + - Parameters [2] { + Parameter #0 [ <required> $cql ] + Parameter #1 [ <optional> Cassandra\ExecutionOptions $options ] + } + } + + Method [ <internal:cassandra> abstract public method prepareAsync ] { + + - Parameters [2] { + Parameter #0 [ <required> $cql ] + Parameter #1 [ <optional> Cassandra\ExecutionOptions $options ] + } + } + + Method [ <internal:cassandra> abstract public method close ] { + + - Parameters [1] { + Parameter #0 [ <optional> $timeout ] + } + } + + Method [ <internal:cassandra> abstract public method closeAsync ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:cassandra> final class Cassandra\DefaultSession implements Cassandra\Session ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [6] { + Method [ <internal:cassandra, prototype Cassandra\Session> public method execute ] { + + - Parameters [2] { + Parameter #0 [ <required> Cassandra\Statement $statement ] + Parameter #1 [ <optional> Cassandra\ExecutionOptions $options ] + } + } + + Method [ <internal:cassandra, prototype Cassandra\Session> public method executeAsync ] { + + - Parameters [2] { + Parameter #0 [ <required> Cassandra\Statement $statement ] + Parameter #1 [ <optional> Cassandra\ExecutionOptions $options ] + } + } + + Method [ <internal:cassandra, prototype Cassandra\Session> public method prepare ] { + + - Parameters [2] { + Parameter #0 [ <required> $cql ] + Parameter #1 [ <optional> Cassandra\ExecutionOptions $options ] + } + } + + Method [ <internal:cassandra, prototype Cassandra\Session> public method prepareAsync ] { + + - Parameters [2] { + Parameter #0 [ <required> $cql ] + Parameter #1 [ <optional> Cassandra\ExecutionOptions $options ] + } + } + + Method [ <internal:cassandra, prototype Cassandra\Session> public method close ] { + + - Parameters [1] { + Parameter #0 [ <optional> $timeout ] + } + } + + Method [ <internal:cassandra, prototype Cassandra\Session> public method closeAsync ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:cassandra> final class Cassandra\SSLOptions ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ <internal:cassandra> final class Cassandra\SSLOptions\Builder ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [5] { + Method [ <internal:cassandra> public method build ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra> public method withTrustedCerts ] { + + - Parameters [1] { + Parameter #0 [ <required> $path ] + } + } + + Method [ <internal:cassandra> public method withVerifyFlags ] { + + - Parameters [1] { + Parameter #0 [ <required> $flags ] + } + } + + Method [ <internal:cassandra> public method withClientCert ] { + + - Parameters [1] { + Parameter #0 [ <required> $path ] + } + } + + Method [ <internal:cassandra> public method withPrivateKey ] { + + - Parameters [2] { + Parameter #0 [ <required> $path ] + Parameter #1 [ <optional> $passphrase ] + } + } + } + } + + Interface [ <internal:cassandra> interface Cassandra\Statement ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ <internal:cassandra> final class Cassandra\SimpleStatement implements Cassandra\Statement ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [1] { + Method [ <internal:cassandra, ctor> public method __construct ] { + + - Parameters [1] { + Parameter #0 [ <required> $cql ] + } + } + } + } + + Class [ <internal:cassandra> final class Cassandra\PreparedStatement implements Cassandra\Statement ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [1] { + Method [ <internal:cassandra, ctor> private method __construct ] { + } + } + } + + Class [ <internal:cassandra> final class Cassandra\BatchStatement implements Cassandra\Statement ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [2] { + Method [ <internal:cassandra, ctor> public method __construct ] { + + - Parameters [1] { + Parameter #0 [ <optional> $type ] + } + } + + Method [ <internal:cassandra> public method add ] { + + - Parameters [2] { + Parameter #0 [ <required> Cassandra\Statement $statement ] + Parameter #1 [ <optional> array or NULL $arguments ] + } + } + } + } + + Class [ <internal:cassandra> final class Cassandra\ExecutionOptions ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [2] { + Method [ <internal:cassandra, ctor> public method __construct ] { + + - Parameters [1] { + Parameter #0 [ <optional> array or NULL $options ] + } + } + + Method [ <internal:cassandra> public method __get ] { + + - Parameters [1] { + Parameter #0 [ <required> $name ] + } + } + } + } + + Class [ <internal:cassandra> <iterateable> final class Cassandra\Rows implements Iterator, Traversable, ArrayAccess ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [15] { + Method [ <internal:cassandra, ctor> public method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra> public method count ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Iterator> public method rewind ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Iterator> public method current ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Iterator> public method key ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Iterator> public method next ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype Iterator> public method valid ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra, prototype ArrayAccess> public method offsetExists ] { + + - Parameters [1] { + Parameter #0 [ <required> $offset ] + } + } + + Method [ <internal:cassandra, prototype ArrayAccess> public method offsetGet ] { + + - Parameters [1] { + Parameter #0 [ <required> $offset ] + } + } + + Method [ <internal:cassandra, prototype ArrayAccess> public method offsetSet ] { + + - Parameters [2] { + Parameter #0 [ <required> $offset ] + Parameter #1 [ <required> $value ] + } + } + + Method [ <internal:cassandra, prototype ArrayAccess> public method offsetUnset ] { + + - Parameters [1] { + Parameter #0 [ <required> $offset ] + } + } + + Method [ <internal:cassandra> public method isLastPage ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra> public method nextPage ] { + + - Parameters [1] { + Parameter #0 [ <required> $timeout ] + } + } + + Method [ <internal:cassandra> public method nextPageAsync ] { + + - Parameters [0] { + } + } + + Method [ <internal:cassandra> 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 <remi@fedoraproject.org> - 1.0.0-0.1.RC +- Initial package, version 1.0.0RC
\ No newline at end of file |