From 8cd9ae315282a3d688c5216c2d07bd842705870e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 28 Jul 2021 09:00:04 +0200 Subject: update to 3.2.0 drop patch merged upstream raise dependency on libcouchbase 3.2 --- 32.patch | 12 +- 33.patch | 32 - PHPINFO | 6 +- REFLECTION | 2409 +++++++++++++++++++++++++++++++++++++--------- php-pecl-couchbase3.spec | 15 +- 5 files changed, 1962 insertions(+), 512 deletions(-) delete mode 100644 33.patch diff --git a/32.patch b/32.patch index d21d44f..7bd8db9 100644 --- a/32.patch +++ b/32.patch @@ -13,7 +13,7 @@ diff --git a/src/couchbase/cluster.c b/src/couchbase/cluster.c index 478cc3a..0c64366 100644 --- a/src/couchbase/cluster.c +++ b/src/couchbase/cluster.c -@@ -63,7 +63,11 @@ static void pcbc_cluster_connection_init(zval *return_value, pcbc_cluster_t *clu +@@ -66,7 +66,11 @@ static void pcbc_cluster_connection_init(zval *return_value, pcbc_cluster_t *clu if (PCBCG(allow_fallback_to_bucket)) { url = php_url_parse(cluster->connstr); if (url && url->path) { @@ -29,7 +29,7 @@ diff --git a/src/couchbase/pool.c b/src/couchbase/pool.c index 9dfac11..3f5d8bd 100644 --- a/src/couchbase/pool.c +++ b/src/couchbase/pool.c -@@ -151,11 +151,19 @@ static lcb_STATUS pcbc_normalize_connstr(lcb_INSTANCE_TYPE type, char *connstr, +@@ -265,11 +265,19 @@ static lcb_STATUS pcbc_normalize_connstr(lcb_INSTANCE_TYPE type, char *connstr, // rebuild connection string with username as the bucket smart_str buf = {0}; if (url->scheme) { @@ -49,7 +49,7 @@ index 9dfac11..3f5d8bd 100644 } if (url->port) { smart_str_appendc(&buf, ':'); -@@ -165,7 +173,11 @@ static lcb_STATUS pcbc_normalize_connstr(lcb_INSTANCE_TYPE type, char *connstr, +@@ -279,7 +287,11 @@ static lcb_STATUS pcbc_normalize_connstr(lcb_INSTANCE_TYPE type, char *connstr, smart_str_appends(&buf, bucketname); if (url->query) { smart_str_appendc(&buf, '?'); @@ -61,7 +61,7 @@ index 9dfac11..3f5d8bd 100644 } smart_str_0(&buf); PCBC_SMARTSTR_DUP(buf, *normalized); -@@ -176,15 +188,27 @@ static lcb_STATUS pcbc_normalize_connstr(lcb_INSTANCE_TYPE type, char *connstr, +@@ -290,15 +302,27 @@ static lcb_STATUS pcbc_normalize_connstr(lcb_INSTANCE_TYPE type, char *connstr, } break; case LCB_TYPE_CLUSTER: @@ -89,7 +89,7 @@ index 9dfac11..3f5d8bd 100644 } if (url->port) { smart_str_appendc(&buf, ':'); -@@ -192,7 +216,11 @@ static lcb_STATUS pcbc_normalize_connstr(lcb_INSTANCE_TYPE type, char *connstr, +@@ -306,7 +330,11 @@ static lcb_STATUS pcbc_normalize_connstr(lcb_INSTANCE_TYPE type, char *connstr, } if (url->query) { smart_str_appendc(&buf, '?'); @@ -101,7 +101,7 @@ index 9dfac11..3f5d8bd 100644 } smart_str_0(&buf); PCBC_SMARTSTR_DUP(buf, *normalized); -@@ -246,7 +274,11 @@ static lcb_STATUS pcbc_connection_cache(smart_str *plist_key, pcbc_connection_t +@@ -360,7 +388,11 @@ static lcb_STATUS pcbc_connection_cache(smart_str *plist_key, pcbc_connection_t zend_resource res; res.type = pcbc_res_couchbase; res.ptr = conn; diff --git a/33.patch b/33.patch deleted file mode 100644 index 45a7ed4..0000000 --- a/33.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 151df28b1b6d545ad71846f11a3a3af65bb1f3be Mon Sep 17 00:00:00 2001 -From: Remi Collet -Date: Wed, 21 Jul 2021 08:32:57 +0200 -Subject: [PATCH] fix for 8.1.0beta1 - ---- - couchbase.h | 7 +++++++ - 1 file changed, 7 insertions(+) - -diff --git a/couchbase.h b/couchbase.h -index bc93c10..9748205 100644 ---- a/couchbase.h -+++ b/couchbase.h -@@ -243,11 +243,18 @@ void pcbc_exception_init(zval *return_value, long code, const char *message); - #define PCBC_ALLOC_OBJECT_T(obj_t, class_type) \ - (obj_t *)ecalloc(1, sizeof(obj_t) + zend_object_properties_size(class_type)) - -+#if PHP_VERSION_ID < 80100 - #define PCBC_CE_DISABLE_SERIALIZATION(ce) \ - do { \ - ce->serialize = zend_class_serialize_deny; \ - ce->unserialize = zend_class_unserialize_deny; \ - } while (0); -+#else -+#define PCBC_CE_DISABLE_SERIALIZATION(ce) \ -+ do { \ -+ ce->ce_flags |= ZEND_ACC_NOT_SERIALIZABLE; \ -+ } while (0); -+#endif - - #define PCBC_STRLEN_P(__pcbc_zval) Z_STRLEN((__pcbc_zval)) - #define PCBC_STRVAL_P(__pcbc_zval) Z_STRVAL((__pcbc_zval)) diff --git a/PHPINFO b/PHPINFO index 558db8e..6193fda 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,9 +2,9 @@ couchbase couchbase support => enabled -extension version => 3.1.2 -libcouchbase runtime version => 3.1.3 (git: 7739e685e579fb981eda1fdf89f7d6fcd5b2ebc9) -libcouchbase headers version => 3.1.3 (git: 7739e685e579fb981eda1fdf89f7d6fcd5b2ebc9) +extension version => 3.2.0 +libcouchbase runtime version => 3.2.0 (git: c712686af5825f2f05c89112e555cd09906aa727) +libcouchbase headers version => 3.2.0 (git: c712686af5825f2f05c89112e555cd09906aa727) zlib compressor => enabled Directive => Local Value => Master Value diff --git a/REFLECTION b/REFLECTION index fe49541..0b6fd2a 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #118 couchbase version 3.1.2 ] { +Extension [ extension #122 couchbase version 3.2.0 ] { - Dependencies { Dependency [ json (Required) ] @@ -350,7 +350,7 @@ Extension [ extension #118 couchbase version 3.1.2 ] { } } - - Classes [203] { + - Classes [237] { Interface [ interface Couchbase\MutationToken ] { - Constants [0] { @@ -5740,7 +5740,7 @@ Extension [ extension #118 couchbase version 3.1.2 ] { - Properties [0] { } - - Methods [9] { + - Methods [10] { Method [ public method __construct ] { - Parameters [2] { @@ -5771,6 +5771,13 @@ Extension [ extension #118 couchbase version 3.1.2 ] { - Return [ Couchbase\UserManager ] } + Method [ public method analyticsIndexes ] { + + - Parameters [0] { + } + - Return [ Couchbase\AnalyticsIndexManager ] + } + Method [ public method queryIndexes ] { - Parameters [0] { @@ -6074,7 +6081,7 @@ Extension [ extension #118 couchbase version 3.1.2 ] { Property [ private $name ] } - - Methods [4] { + - Methods [5] { Method [ public method __construct ] { - Parameters [2] { @@ -6106,6 +6113,15 @@ Extension [ extension #118 couchbase version 3.1.2 ] { } - Return [ Couchbase\QueryResult ] } + + Method [ public method analyticsQuery ] { + + - Parameters [2] { + Parameter #0 [ string $statement ] + Parameter #1 [ Couchbase\AnalyticsOptions or NULL $queryOptions ] + } + - Return [ Couchbase\AnalyticsResult ] + } } } @@ -7107,7 +7123,7 @@ Extension [ extension #118 couchbase version 3.1.2 ] { } - Methods [6] { - Method [ public method getScope ] { + Method [ public method getScope ] { - Parameters [1] { Parameter #0 [ string $name ] @@ -7236,7 +7252,7 @@ Extension [ extension #118 couchbase version 3.1.2 ] { } } - Class [ class Couchbase\QueryIndexManager ] { + Class [ class Couchbase\AnalyticsIndexManager ] { - Constants [0] { } @@ -7251,11 +7267,43 @@ Extension [ extension #118 couchbase version 3.1.2 ] { Property [ private $cluster ] } - - Methods [7] { - Method [ public method getAllIndexes ] { + - Methods [15] { + Method [ public method createDataverse ] { - - Parameters [1] { - Parameter #0 [ string $bucketName ] + - Parameters [2] { + Parameter #0 [ string $dataverseName ] + Parameter #1 [ Couchbase\CreateAnalyticsDataverseOptions or NULL $options ] + } + } + + Method [ public method dropDataverse ] { + + - Parameters [2] { + Parameter #0 [ string $dataverseName ] + Parameter #1 [ Couchbase\DropAnalyticsDataverseOptions or NULL $options ] + } + } + + Method [ public method createDataset ] { + + - Parameters [3] { + Parameter #0 [ string $datasetName ] + Parameter #1 [ string $bucketName ] + Parameter #2 [ Couchbase\CreateAnalyticsDatasetOptions or NULL $options ] + } + } + + Method [ public method dropDataset ] { + + - Parameters [2] { + Parameter #0 [ string $datasetName ] + Parameter #1 [ Couchbase\DropAnalyticsDatasetOptions or NULL $options ] + } + } + + Method [ public method getAllDatasets ] { + + - Parameters [0] { } - Return [ array ] } @@ -7263,58 +7311,85 @@ Extension [ extension #118 couchbase version 3.1.2 ] { Method [ public method createIndex ] { - Parameters [4] { - Parameter #0 [ string $bucketName ] + Parameter #0 [ string $datasetName ] Parameter #1 [ string $indexName ] Parameter #2 [ array $fields ] - Parameter #3 [ Couchbase\CreateQueryIndexOptions or NULL $options ] + Parameter #3 [ Couchbase\CreateAnalyticsIndexOptions or NULL $options ] } } - Method [ public method createPrimaryIndex ] { + Method [ public method dropIndex ] { - - Parameters [2] { - Parameter #0 [ string $bucketName ] - Parameter #1 [ Couchbase\CreateQueryPrimaryIndexOptions or NULL $options ] + - Parameters [3] { + Parameter #0 [ string $datasetName ] + Parameter #1 [ string $indexName ] + Parameter #2 [ Couchbase\DropAnalyticsIndexOptions or NULL $options ] } } - Method [ public method dropIndex ] { + Method [ public method getAllIndexes ] { - - Parameters [3] { - Parameter #0 [ string $bucketName ] - Parameter #1 [ string $indexName ] - Parameter #2 [ Couchbase\DropQueryIndexOptions or NULL $options ] + - Parameters [0] { } + - Return [ array ] } - Method [ public method dropPrimaryIndex ] { + Method [ public method connectLink ] { + + - Parameters [1] { + Parameter #0 [ Couchbase\ConnectAnalyticsLinkOptions or NULL $options ] + } + } + + Method [ public method disconnectLink ] { + + - Parameters [1] { + Parameter #0 [ Couchbase\DisconnectAnalyticsLinkOptions or NULL $options ] + } + } + + Method [ public method getPendingMutations ] { + + - Parameters [0] { + } + - Return [ array ] + } + + Method [ public method createLink ] { - Parameters [2] { - Parameter #0 [ string $bucketName ] - Parameter #1 [ Couchbase\DropQueryPrimaryIndexOptions or NULL $options ] + Parameter #0 [ Couchbase\AnalyticsLink $link ] + Parameter #1 [ Couchbase\CreateAnalyticsLinkOptions or NULL $options ] } } - Method [ public method watchIndexes ] { + Method [ public method replaceLink ] { - - Parameters [4] { - Parameter #0 [ string $bucketName ] - Parameter #1 [ array $indexNames ] - Parameter #2 [ int $timeout ] - Parameter #3 [ Couchbase\WatchQueryIndexesOptions or NULL $options ] + - Parameters [2] { + Parameter #0 [ Couchbase\AnalyticsLink $link ] + Parameter #1 [ Couchbase\ReplaceAnalyticsLinkOptions or NULL $options ] } } - Method [ public method buildDeferredIndexes ] { + Method [ public method dropLink ] { + + - Parameters [3] { + Parameter #0 [ string $linkName ] + Parameter #1 [ Couchbase\AnalyticsLink $dataverseName ] + Parameter #2 [ Couchbase\DropAnalyticsLinkOptions or NULL $options ] + } + } + + Method [ public method getLinks ] { - Parameters [1] { - Parameter #0 [ string $bucketName ] + Parameter #0 [ Couchbase\GetAnalyticsLinksOptions or NULL $options ] } } } } - Class [ class Couchbase\QueryIndex ] { + Class [ class Couchbase\AnalyticsDataset ] { - Constants [0] { } @@ -7325,17 +7400,14 @@ Extension [ extension #118 couchbase version 3.1.2 ] { - Static methods [0] { } - - Properties [7] { + - Properties [4] { Property [ private $name ] - Property [ private $is_primary ] - Property [ private $type ] - Property [ private $state ] - Property [ private $keyspace ] - Property [ private $index_key ] - Property [ private $condition ] + Property [ private $dataverse_name ] + Property [ private $link_name ] + Property [ private $bucket_name ] } - - Methods [7] { + - Methods [4] { Method [ public method name ] { - Parameters [0] { @@ -7343,51 +7415,79 @@ Extension [ extension #118 couchbase version 3.1.2 ] { - Return [ string ] } - Method [ public method isPrimary ] { + Method [ public method dataverseName ] { - Parameters [0] { } - - Return [ bool ] + - Return [ string ] } - Method [ public method type ] { + Method [ public method linkName ] { - Parameters [0] { } - Return [ string ] } - Method [ public method state ] { + Method [ public method bucketName ] { - Parameters [0] { } - Return [ string ] } + } + } - Method [ public method keyspace ] { + Class [ class Couchbase\AnalyticsIndex ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ private $name ] + Property [ private $dataverse_name ] + Property [ private $link_name ] + Property [ private $is_primary ] + } + + - Methods [4] { + Method [ public method name ] { - Parameters [0] { } - Return [ string ] } - Method [ public method indexKey ] { + Method [ public method datasetName ] { - Parameters [0] { } - - Return [ array ] + - Return [ string ] } - Method [ public method condition ] { + Method [ public method dataverseName ] { - Parameters [0] { } - - Return [ string or NULL ] + - Return [ string ] + } + + Method [ public method isPrimary ] { + + - Parameters [0] { + } + - Return [ bool ] } } } - Class [ class Couchbase\CreateQueryIndexOptions ] { + Class [ class Couchbase\CreateAnalyticsDataverseOptions ] { - Constants [0] { } @@ -7398,49 +7498,48 @@ Extension [ extension #118 couchbase version 3.1.2 ] { - Static methods [0] { } - - Properties [4] { - Property [ private $condition ] + - Properties [1] { Property [ private $ignore_if_exists ] - Property [ private $num_replicas ] - Property [ private $deferred ] } - - Methods [4] { - Method [ public method condition ] { - - - Parameters [1] { - Parameter #0 [ string $condition ] - } - - Return [ Couchbase\CreateQueryIndexOptions ] - } - + - Methods [1] { Method [ public method ignoreIfExists ] { - Parameters [1] { Parameter #0 [ bool $shouldIgnore ] } - - Return [ Couchbase\CreateQueryIndexOptions ] + - Return [ Couchbase\CreateAnalyticsDataverseOptions ] } + } + } - Method [ public method numReplicas ] { + Class [ class Couchbase\DropAnalyticsDataverseOptions ] { - - Parameters [1] { - Parameter #0 [ int $number ] - } - - Return [ Couchbase\CreateQueryIndexOptions ] - } + - Constants [0] { + } - Method [ public method deferred ] { + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [1] { + Property [ private $ignore_if_not_exists ] + } + + - Methods [1] { + Method [ public method ignoreIfNotExists ] { - Parameters [1] { - Parameter #0 [ bool $isDeferred ] + Parameter #0 [ bool $shouldIgnore ] } - - Return [ Couchbase\CreateQueryIndexOptions ] + - Return [ Couchbase\DropAnalyticsDataverseOptions ] } } } - Class [ class Couchbase\CreateQueryPrimaryIndexOptions ] { + Class [ class Couchbase\CreateAnalyticsDatasetOptions ] { - Constants [0] { } @@ -7451,49 +7550,40 @@ Extension [ extension #118 couchbase version 3.1.2 ] { - Static methods [0] { } - - Properties [4] { - Property [ private $index_name ] + - Properties [3] { Property [ private $ignore_if_exists ] - Property [ private $num_replicas ] - Property [ private $deferred ] + Property [ private $condition ] + Property [ private $dataverse_name ] } - - Methods [4] { - Method [ public method indexName ] { - - - Parameters [1] { - Parameter #0 [ string $name ] - } - - Return [ Couchbase\CreateQueryPrimaryIndexOptions ] - } - + - Methods [3] { Method [ public method ignoreIfExists ] { - Parameters [1] { Parameter #0 [ bool $shouldIgnore ] } - - Return [ Couchbase\CreateQueryPrimaryIndexOptions ] + - Return [ Couchbase\CreateAnalyticsDatasetOptions ] } - Method [ public method numReplicas ] { + Method [ public method condition ] { - Parameters [1] { - Parameter #0 [ int $number ] + Parameter #0 [ string $condition ] } - - Return [ Couchbase\CreateQueryPrimaryIndexOptions ] + - Return [ Couchbase\CreateAnalyticsDatasetOptions ] } - Method [ public method deferred ] { + Method [ public method dataverseName ] { - Parameters [1] { - Parameter #0 [ bool $isDeferred ] + Parameter #0 [ string $dataverseName ] } - - Return [ Couchbase\CreateQueryPrimaryIndexOptions ] + - Return [ Couchbase\CreateAnalyticsDatasetOptions ] } } } - Class [ class Couchbase\DropQueryIndexOptions ] { + Class [ class Couchbase\DropAnalyticsDatasetOptions ] { - Constants [0] { } @@ -7504,22 +7594,31 @@ Extension [ extension #118 couchbase version 3.1.2 ] { - Static methods [0] { } - - Properties [1] { + - Properties [2] { Property [ private $ignore_if_not_exists ] + Property [ private $dataverse_name ] } - - Methods [1] { + - Methods [2] { Method [ public method ignoreIfNotExists ] { - Parameters [1] { Parameter #0 [ bool $shouldIgnore ] } - - Return [ Couchbase\DropQueryIndexOptions ] + - Return [ Couchbase\DropAnalyticsDatasetOptions ] + } + + Method [ public method dataverseName ] { + + - Parameters [1] { + Parameter #0 [ string $dataverseName ] + } + - Return [ Couchbase\DropAnalyticsDatasetOptions ] } } } - Class [ class Couchbase\DropQueryPrimaryIndexOptions ] { + Class [ class Couchbase\CreateAnalyticsIndexOptions ] { - Constants [0] { } @@ -7531,30 +7630,30 @@ Extension [ extension #118 couchbase version 3.1.2 ] { } - Properties [2] { - Property [ private $index_name ] - Property [ private $ignore_if_not_exists ] + Property [ private $ignore_if_exists ] + Property [ private $dataverse_name ] } - Methods [2] { - Method [ public method indexName ] { + Method [ public method ignoreIfExists ] { - Parameters [1] { - Parameter #0 [ string $name ] + Parameter #0 [ bool $shouldIgnore ] } - - Return [ Couchbase\DropQueryPrimaryIndexOptions ] + - Return [ Couchbase\CreateAnalyticsIndexOptions ] } - Method [ public method ignoreIfNotExists ] { + Method [ public method dataverseName ] { - Parameters [1] { - Parameter #0 [ bool $shouldIgnore ] + Parameter #0 [ string $dataverseName ] } - - Return [ Couchbase\DropQueryPrimaryIndexOptions ] + - Return [ Couchbase\CreateAnalyticsIndexOptions ] } } } - Class [ class Couchbase\WatchQueryIndexesOptions ] { + Class [ class Couchbase\DropAnalyticsIndexOptions ] { - Constants [0] { } @@ -7565,22 +7664,31 @@ Extension [ extension #118 couchbase version 3.1.2 ] { - Static methods [0] { } - - Properties [1] { - Property [ private $watch_primary ] + - Properties [2] { + Property [ private $ignore_if_not_exists ] + Property [ private $dataverse_name ] } - - Methods [1] { - Method [ public method watchPrimary ] { + - Methods [2] { + Method [ public method ignoreIfNotExists ] { - Parameters [1] { - Parameter #0 [ bool $shouldWatch ] + Parameter #0 [ bool $shouldIgnore ] } - - Return [ Couchbase\WatchQueryIndexesOptions ] + - Return [ Couchbase\DropAnalyticsIndexOptions ] + } + + Method [ public method dataverseName ] { + + - Parameters [1] { + Parameter #0 [ string $dataverseName ] + } + - Return [ Couchbase\DropAnalyticsIndexOptions ] } } } - Interface [ interface Couchbase\Authenticator ] { + Class [ class Couchbase\ConnectAnalyticsLinkOptions ] { - Constants [0] { } @@ -7591,14 +7699,31 @@ Extension [ extension #118 couchbase version 3.1.2 ] { - Static methods [0] { } - - Properties [0] { + - Properties [2] { + Property [ private $link_name ] + Property [ private $dataverse_name ] } - - Methods [0] { + - Methods [2] { + Method [ public method dataverseName ] { + + - Parameters [1] { + Parameter #0 [ string $dataverseName ] + } + - Return [ Couchbase\ConnectAnalyticsLinkOptions ] + } + + Method [ public method linkName ] { + + - Parameters [1] { + Parameter #0 [ string $linkName ] + } + - Return [ Couchbase\ConnectAnalyticsLinkOptions ] + } } } - Class [ class Couchbase\CertAuthenticator implements Couchbase\Authenticator ] { + Class [ class Couchbase\DisconnectAnalyticsLinkOptions ] { - Constants [0] { } @@ -7609,19 +7734,31 @@ Extension [ extension #118 couchbase version 3.1.2 ] { - Static methods [0] { } - - Properties [0] { + - Properties [2] { + Property [ private $link_name ] + Property [ private $dataverse_name ] } - - Methods [1] { - Method [ public method __construct ] { + - Methods [2] { + Method [ public method dataverseName ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ string $dataverseName ] + } + - Return [ Couchbase\DisconnectAnalyticsLinkOptions ] + } + + Method [ public method linkName ] { + + - Parameters [1] { + Parameter #0 [ string $linkName ] } + - Return [ Couchbase\DisconnectAnalyticsLinkOptions ] } } } - Class [ class Couchbase\PasswordAuthenticator implements Couchbase\Authenticator ] { + Class [ class Couchbase\EncryptionSettings ] { - Constants [0] { } @@ -7632,33 +7769,49 @@ Extension [ extension #118 couchbase version 3.1.2 ] { - Static methods [0] { } - - Properties [0] { + - Properties [4] { + Property [ private $level ] + Property [ private $certificate ] + Property [ private $client_certificate ] + Property [ private $client_key ] } - - Methods [3] { - Method [ public method __construct ] { + - Methods [4] { + Method [ public method level ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ string $level ] } + - Return [ Couchbase\EncryptionSettings ] } - Method [ public method username ] { + Method [ public method certificate ] { - Parameters [1] { - Parameter #0 [ $username ] + Parameter #0 [ string $certificate ] } + - Return [ Couchbase\EncryptionSettings ] } - Method [ public method password ] { + Method [ public method clientCertificate ] { - Parameters [1] { - Parameter #0 [ $password ] + Parameter #0 [ string $certificate ] + } + - Return [ Couchbase\EncryptionSettings ] + } + + Method [ public method clientKey ] { + + - Parameters [1] { + Parameter #0 [ string $key ] } + - Return [ Couchbase\EncryptionSettings ] } } } - Class [ class Couchbase\MutationState ] { + Interface [ interface Couchbase\AnalyticsLink ] { - Constants [0] { } @@ -7669,28 +7822,85 @@ Extension [ extension #118 couchbase version 3.1.2 ] { - Static methods [0] { } - - Properties [1] { - Property [ private $tokens ] + - Properties [0] { } - - Methods [2] { - Method [ public method __construct ] { + - Methods [0] { + } + } - - Parameters [0] { + Class [ class Couchbase\CouchbaseRemoteAnalyticsLink implements Couchbase\AnalyticsLink ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [6] { + Property [ private $name ] + Property [ private $dataverse ] + Property [ private $hostname ] + Property [ private $username ] + Property [ private $password ] + Property [ private $encryption ] + } + + - Methods [6] { + Method [ public method name ] { + + - Parameters [1] { + Parameter #0 [ string $name ] } + - Return [ Couchbase\CouchbaseRemoteAnalyticsLink ] } - Method [ public method add ] { + Method [ public method dataverse ] { - Parameters [1] { - Parameter #0 [ Couchbase\MutationResult $source ] + Parameter #0 [ string $dataverse ] } - - Return [ Couchbase\MutationState ] + - Return [ Couchbase\CouchbaseRemoteAnalyticsLink ] + } + + Method [ public method hostname ] { + + - Parameters [1] { + Parameter #0 [ string $hostname ] + } + - Return [ Couchbase\CouchbaseRemoteAnalyticsLink ] + } + + Method [ public method username ] { + + - Parameters [1] { + Parameter #0 [ string $username ] + } + - Return [ Couchbase\CouchbaseRemoteAnalyticsLink ] + } + + Method [ public method password ] { + + - Parameters [1] { + Parameter #0 [ string $password ] + } + - Return [ Couchbase\CouchbaseRemoteAnalyticsLink ] + } + + Method [ public method encryption ] { + + - Parameters [1] { + Parameter #0 [ Couchbase\EncryptionSettings $settings ] + } + - Return [ Couchbase\CouchbaseRemoteAnalyticsLink ] } } } - Class [ class Couchbase\AnalyticsOptions ] { + Class [ class Couchbase\AzureBlobExternalAnalyticsLink implements Couchbase\AnalyticsLink ] { - Constants [0] { } @@ -7702,85 +7912,84 @@ Extension [ extension #118 couchbase version 3.1.2 ] { } - Properties [8] { - Property [ private $timeout ] - Property [ private $positional_params ] - Property [ private $named_params ] - Property [ private $raw_params ] - Property [ private $scan_consistency ] - Property [ private $priority ] - Property [ private $readonly ] - Property [ private $client_context_id ] + Property [ private $name ] + Property [ private $dataverse ] + Property [ private $connection_string ] + Property [ private $account_name ] + Property [ private $account_key ] + Property [ private $shared_access_signature ] + Property [ private $blob_endpoint ] + Property [ private $endpoint_suffix ] } - Methods [8] { - Method [ public method timeout ] { + Method [ public method name ] { - Parameters [1] { - Parameter #0 [ int $arg ] + Parameter #0 [ string $name ] } - - Return [ Couchbase\AnalyticsOptions ] + - Return [ Couchbase\AzureBlobExternalAnalyticsLink ] } - Method [ public method namedParameters ] { + Method [ public method dataverse ] { - Parameters [1] { - Parameter #0 [ array $arg ] + Parameter #0 [ string $dataverse ] } - - Return [ Couchbase\AnalyticsOptions ] + - Return [ Couchbase\AzureBlobExternalAnalyticsLink ] } - Method [ public method positionalParameters ] { + Method [ public method connectionString ] { - Parameters [1] { - Parameter #0 [ array $arg ] + Parameter #0 [ string $connectionString ] } - - Return [ Couchbase\AnalyticsOptions ] + - Return [ Couchbase\AzureBlobExternalAnalyticsLink ] } - Method [ public method raw ] { + Method [ public method accountName ] { - - Parameters [2] { - Parameter #0 [ string $key ] - Parameter #1 [ $value ] + - Parameters [1] { + Parameter #0 [ string $accountName ] } - - Return [ Couchbase\AnalyticsOptions ] + - Return [ Couchbase\AzureBlobExternalAnalyticsLink ] } - Method [ public method clientContextId ] { + Method [ public method accountKey ] { - Parameters [1] { - Parameter #0 [ string $value ] + Parameter #0 [ string $accountKey ] } - - Return [ Couchbase\AnalyticsOptions ] + - Return [ Couchbase\AzureBlobExternalAnalyticsLink ] } - Method [ public method priority ] { + Method [ public method sharedAccessSignature ] { - Parameters [1] { - Parameter #0 [ bool $arg ] + Parameter #0 [ string $signature ] } - - Return [ Couchbase\AnalyticsOptions ] + - Return [ Couchbase\AzureBlobExternalAnalyticsLink ] } - Method [ public method readonly ] { + Method [ public method blobEndpoint ] { - Parameters [1] { - Parameter #0 [ bool $arg ] + Parameter #0 [ string $blobEndpoint ] } - - Return [ Couchbase\AnalyticsOptions ] + - Return [ Couchbase\AzureBlobExternalAnalyticsLink ] } - Method [ public method scanConsistency ] { + Method [ public method endpointSuffix ] { - Parameters [1] { - Parameter #0 [ string $arg ] + Parameter #0 [ string $endpointSuffix ] } - - Return [ Couchbase\AnalyticsOptions ] + - Return [ Couchbase\AzureBlobExternalAnalyticsLink ] } } } - Interface [ interface Couchbase\LookupInSpec ] { + Class [ class Couchbase\S3ExternalAnalyticsLink implements Couchbase\AnalyticsLink ] { - Constants [0] { } @@ -7791,68 +8000,76 @@ Extension [ extension #118 couchbase version 3.1.2 ] { - Static methods [0] { } - - Properties [0] { + - Properties [7] { + Property [ private $name ] + Property [ private $dataverse ] + Property [ private $access_key_id ] + Property [ private $secret_access_key ] + Property [ private $region ] + Property [ private $session_token ] + Property [ private $service_endpoint ] } - - Methods [0] { - } - } + - Methods [7] { + Method [ public method name ] { - Class [ class Couchbase\LookupGetSpec implements Couchbase\LookupInSpec ] { + - Parameters [1] { + Parameter #0 [ string $name ] + } + - Return [ Couchbase\S3ExternalAnalyticsLink ] + } - - Constants [0] { - } + Method [ public method dataverse ] { - - Static properties [0] { - } + - Parameters [1] { + Parameter #0 [ string $dataverse ] + } + - Return [ Couchbase\S3ExternalAnalyticsLink ] + } - - Static methods [0] { - } + Method [ public method accessKeyId ] { - - Properties [2] { - Property [ private $path ] - Property [ private $is_xattr ] - } + - Parameters [1] { + Parameter #0 [ string $accessKeyId ] + } + - Return [ Couchbase\S3ExternalAnalyticsLink ] + } - - Methods [1] { - Method [ public method __construct ] { + Method [ public method secretAccessKey ] { - - Parameters [2] { - Parameter #0 [ string $path ] - Parameter #1 [ bool $isXattr ] + - Parameters [1] { + Parameter #0 [ string $secretAccessKey ] } + - Return [ Couchbase\S3ExternalAnalyticsLink ] } - } - } - Class [ class Couchbase\LookupCountSpec implements Couchbase\LookupInSpec ] { - - - Constants [0] { - } + Method [ public method region ] { - - Static properties [0] { - } + - Parameters [1] { + Parameter #0 [ string $region ] + } + - Return [ Couchbase\S3ExternalAnalyticsLink ] + } - - Static methods [0] { - } + Method [ public method sessionToken ] { - - Properties [2] { - Property [ private $path ] - Property [ private $is_xattr ] - } + - Parameters [1] { + Parameter #0 [ string $sessionToken ] + } + - Return [ Couchbase\S3ExternalAnalyticsLink ] + } - - Methods [1] { - Method [ public method __construct ] { + Method [ public method serviceEndpoint ] { - - Parameters [2] { - Parameter #0 [ string $path ] - Parameter #1 [ bool $isXattr ] + - Parameters [1] { + Parameter #0 [ string $serviceEndpoint ] } + - Return [ Couchbase\S3ExternalAnalyticsLink ] } } } - Class [ class Couchbase\LookupExistsSpec implements Couchbase\LookupInSpec ] { + Class [ class Couchbase\CreateAnalyticsLinkOptions ] { - Constants [0] { } @@ -7863,23 +8080,22 @@ Extension [ extension #118 couchbase version 3.1.2 ] { - Static methods [0] { } - - Properties [2] { - Property [ private $path ] - Property [ private $is_xattr ] + - Properties [1] { + Property [ private $timeout ] } - Methods [1] { - Method [ public method __construct ] { + Method [ public method timeout ] { - - Parameters [2] { - Parameter #0 [ string $path ] - Parameter #1 [ bool $isXattr ] + - Parameters [1] { + Parameter #0 [ string $timeout ] } + - Return [ Couchbase\CreateAnalyticsLinkOptions ] } } } - Interface [ interface Couchbase\MutateInSpec ] { + Class [ class Couchbase\ReplaceAnalyticLinkOptions ] { - Constants [0] { } @@ -7890,14 +8106,22 @@ Extension [ extension #118 couchbase version 3.1.2 ] { - Static methods [0] { } - - Properties [0] { + - Properties [1] { + Property [ private $timeout ] } - - Methods [0] { + - Methods [1] { + Method [ public method timeout ] { + + - Parameters [1] { + Parameter #0 [ string $timeout ] + } + - Return [ Couchbase\ReplaceAnalyticsLinkOptions ] + } } } - Class [ class Couchbase\MutateInsertSpec implements Couchbase\MutateInSpec ] { + Class [ class Couchbase\DropAnalyticsLinkOptions ] { - Constants [0] { } @@ -7908,29 +8132,22 @@ Extension [ extension #118 couchbase version 3.1.2 ] { - Static methods [0] { } - - Properties [5] { - Property [ private $path ] - Property [ private $value ] - Property [ private $is_xattr ] - Property [ private $create_path ] - Property [ private $expand_macros ] + - Properties [1] { + Property [ private $timeout ] } - Methods [1] { - Method [ public method __construct ] { + Method [ public method timeout ] { - - Parameters [5] { - Parameter #0 [ string $path ] - Parameter #1 [ $value ] - Parameter #2 [ bool $isXattr ] - Parameter #3 [ bool $createPath ] - Parameter #4 [ bool $expandMacros ] + - Parameters [1] { + Parameter #0 [ string $timeout ] } + - Return [ Couchbase\DropAnalyticsLinkOptions ] } } } - Class [ class Couchbase\MutateUpsertSpec implements Couchbase\MutateInSpec ] { + Class [ class Couchbase\GetAnalyticsLinksOptions ] { - Constants [0] { } @@ -7941,18 +8158,826 @@ Extension [ extension #118 couchbase version 3.1.2 ] { - Static methods [0] { } - - Properties [5] { - Property [ private $path ] - Property [ private $value ] - Property [ private $is_xattr ] - Property [ private $create_path ] - Property [ private $expand_macros ] + - Properties [4] { + Property [ private $timeout ] + Property [ private $link_type ] + Property [ private $dataverse ] + Property [ private $name ] } - - Methods [1] { - Method [ public method __construct ] { + - Methods [4] { + Method [ public method timeout ] { - - Parameters [5] { + - Parameters [1] { + Parameter #0 [ string $timeout ] + } + - Return [ Couchbase\GetAnalyticsLinksOptions ] + } + + Method [ public method linkType ] { + + - Parameters [1] { + Parameter #0 [ string $type ] + } + - Return [ Couchbase\GetAnalyticsLinksOptions ] + } + + Method [ public method dataverse ] { + + - Parameters [1] { + Parameter #0 [ string $dataverse ] + } + - Return [ Couchbase\GetAnalyticsLinksOptions ] + } + + Method [ public method name ] { + + - Parameters [1] { + Parameter #0 [ string $name ] + } + - Return [ Couchbase\GetAnalyticsLinksOptions ] + } + } + } + + Interface [ interface Couchbase\AnalyticsLinkType ] { + + - Constants [3] { + Constant [ public string COUCHBASE ] { couchbase } + Constant [ public string S3 ] { s3 } + Constant [ public string AZURE_BLOB ] { azureblob } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Interface [ interface Couchbase\AnalyticsEncryptionLevel ] { + + - Constants [3] { + Constant [ public string NONE ] { none } + Constant [ public string HALF ] { half } + Constant [ public string FULL ] { full } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ class Couchbase\QueryIndexManager ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [1] { + Property [ private $cluster ] + } + + - Methods [7] { + Method [ public method getAllIndexes ] { + + - Parameters [1] { + Parameter #0 [ string $bucketName ] + } + - Return [ array ] + } + + Method [ public method createIndex ] { + + - Parameters [4] { + Parameter #0 [ string $bucketName ] + Parameter #1 [ string $indexName ] + Parameter #2 [ array $fields ] + Parameter #3 [ Couchbase\CreateQueryIndexOptions or NULL $options ] + } + } + + Method [ public method createPrimaryIndex ] { + + - Parameters [2] { + Parameter #0 [ string $bucketName ] + Parameter #1 [ Couchbase\CreateQueryPrimaryIndexOptions or NULL $options ] + } + } + + Method [ public method dropIndex ] { + + - Parameters [3] { + Parameter #0 [ string $bucketName ] + Parameter #1 [ string $indexName ] + Parameter #2 [ Couchbase\DropQueryIndexOptions or NULL $options ] + } + } + + Method [ public method dropPrimaryIndex ] { + + - Parameters [2] { + Parameter #0 [ string $bucketName ] + Parameter #1 [ Couchbase\DropQueryPrimaryIndexOptions or NULL $options ] + } + } + + Method [ public method watchIndexes ] { + + - Parameters [4] { + Parameter #0 [ string $bucketName ] + Parameter #1 [ array $indexNames ] + Parameter #2 [ int $timeout ] + Parameter #3 [ Couchbase\WatchQueryIndexesOptions or NULL $options ] + } + } + + Method [ public method buildDeferredIndexes ] { + + - Parameters [1] { + Parameter #0 [ string $bucketName ] + } + } + } + } + + Class [ class Couchbase\QueryIndex ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [8] { + Property [ private $name ] + Property [ private $is_primary ] + Property [ private $type ] + Property [ private $state ] + Property [ private $keyspace ] + Property [ private $index_key ] + Property [ private $condition ] + Property [ private $partition ] + } + + - Methods [7] { + Method [ public method name ] { + + - Parameters [0] { + } + - Return [ string ] + } + + Method [ public method isPrimary ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ public method type ] { + + - Parameters [0] { + } + - Return [ string ] + } + + Method [ public method state ] { + + - Parameters [0] { + } + - Return [ string ] + } + + Method [ public method keyspace ] { + + - Parameters [0] { + } + - Return [ string ] + } + + Method [ public method indexKey ] { + + - Parameters [0] { + } + - Return [ array ] + } + + Method [ public method condition ] { + + - Parameters [0] { + } + - Return [ string or NULL ] + } + } + } + + Class [ class Couchbase\CreateQueryIndexOptions ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ private $condition ] + Property [ private $ignore_if_exists ] + Property [ private $num_replicas ] + Property [ private $deferred ] + } + + - Methods [4] { + Method [ public method condition ] { + + - Parameters [1] { + Parameter #0 [ string $condition ] + } + - Return [ Couchbase\CreateQueryIndexOptions ] + } + + Method [ public method ignoreIfExists ] { + + - Parameters [1] { + Parameter #0 [ bool $shouldIgnore ] + } + - Return [ Couchbase\CreateQueryIndexOptions ] + } + + Method [ public method numReplicas ] { + + - Parameters [1] { + Parameter #0 [ int $number ] + } + - Return [ Couchbase\CreateQueryIndexOptions ] + } + + Method [ public method deferred ] { + + - Parameters [1] { + Parameter #0 [ bool $isDeferred ] + } + - Return [ Couchbase\CreateQueryIndexOptions ] + } + } + } + + Class [ class Couchbase\CreateQueryPrimaryIndexOptions ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ private $index_name ] + Property [ private $ignore_if_exists ] + Property [ private $num_replicas ] + Property [ private $deferred ] + } + + - Methods [4] { + Method [ public method indexName ] { + + - Parameters [1] { + Parameter #0 [ string $name ] + } + - Return [ Couchbase\CreateQueryPrimaryIndexOptions ] + } + + Method [ public method ignoreIfExists ] { + + - Parameters [1] { + Parameter #0 [ bool $shouldIgnore ] + } + - Return [ Couchbase\CreateQueryPrimaryIndexOptions ] + } + + Method [ public method numReplicas ] { + + - Parameters [1] { + Parameter #0 [ int $number ] + } + - Return [ Couchbase\CreateQueryPrimaryIndexOptions ] + } + + Method [ public method deferred ] { + + - Parameters [1] { + Parameter #0 [ bool $isDeferred ] + } + - Return [ Couchbase\CreateQueryPrimaryIndexOptions ] + } + } + } + + Class [ class Couchbase\DropQueryIndexOptions ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [1] { + Property [ private $ignore_if_not_exists ] + } + + - Methods [1] { + Method [ public method ignoreIfNotExists ] { + + - Parameters [1] { + Parameter #0 [ bool $shouldIgnore ] + } + - Return [ Couchbase\DropQueryIndexOptions ] + } + } + } + + Class [ class Couchbase\DropQueryPrimaryIndexOptions ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [2] { + Property [ private $index_name ] + Property [ private $ignore_if_not_exists ] + } + + - Methods [2] { + Method [ public method indexName ] { + + - Parameters [1] { + Parameter #0 [ string $name ] + } + - Return [ Couchbase\DropQueryPrimaryIndexOptions ] + } + + Method [ public method ignoreIfNotExists ] { + + - Parameters [1] { + Parameter #0 [ bool $shouldIgnore ] + } + - Return [ Couchbase\DropQueryPrimaryIndexOptions ] + } + } + } + + Class [ class Couchbase\WatchQueryIndexesOptions ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [1] { + Property [ private $watch_primary ] + } + + - Methods [1] { + Method [ public method watchPrimary ] { + + - Parameters [1] { + Parameter #0 [ bool $shouldWatch ] + } + - Return [ Couchbase\WatchQueryIndexesOptions ] + } + } + } + + Interface [ interface Couchbase\Authenticator ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ class Couchbase\CertAuthenticator implements Couchbase\Authenticator ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [1] { + Method [ public method __construct ] { + + - Parameters [0] { + } + } + } + } + + Class [ class Couchbase\PasswordAuthenticator implements Couchbase\Authenticator ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [3] { + Method [ public method __construct ] { + + - Parameters [0] { + } + } + + Method [ public method username ] { + + - Parameters [1] { + Parameter #0 [ $username ] + } + } + + Method [ public method password ] { + + - Parameters [1] { + Parameter #0 [ $password ] + } + } + } + } + + Class [ class Couchbase\MutationState ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [1] { + Property [ private $tokens ] + } + + - Methods [2] { + Method [ public method __construct ] { + + - Parameters [0] { + } + } + + Method [ public method add ] { + + - Parameters [1] { + Parameter #0 [ Couchbase\MutationResult $source ] + } + - Return [ Couchbase\MutationState ] + } + } + } + + Class [ class Couchbase\AnalyticsOptions ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [10] { + Property [ private $timeout ] + Property [ private $positional_params ] + Property [ private $named_params ] + Property [ private $raw_params ] + Property [ private $scan_consistency ] + Property [ private $priority ] + Property [ private $readonly ] + Property [ private $client_context_id ] + Property [ private $scope_name ] + Property [ private $scope_qualifier ] + } + + - Methods [10] { + Method [ public method timeout ] { + + - Parameters [1] { + Parameter #0 [ int $arg ] + } + - Return [ Couchbase\AnalyticsOptions ] + } + + Method [ public method namedParameters ] { + + - Parameters [1] { + Parameter #0 [ array $arg ] + } + - Return [ Couchbase\AnalyticsOptions ] + } + + Method [ public method positionalParameters ] { + + - Parameters [1] { + Parameter #0 [ array $arg ] + } + - Return [ Couchbase\AnalyticsOptions ] + } + + Method [ public method raw ] { + + - Parameters [2] { + Parameter #0 [ string $key ] + Parameter #1 [ $value ] + } + - Return [ Couchbase\AnalyticsOptions ] + } + + Method [ public method clientContextId ] { + + - Parameters [1] { + Parameter #0 [ string $value ] + } + - Return [ Couchbase\AnalyticsOptions ] + } + + Method [ public method priority ] { + + - Parameters [1] { + Parameter #0 [ bool $arg ] + } + - Return [ Couchbase\AnalyticsOptions ] + } + + Method [ public method readonly ] { + + - Parameters [1] { + Parameter #0 [ bool $arg ] + } + - Return [ Couchbase\AnalyticsOptions ] + } + + Method [ public method scanConsistency ] { + + - Parameters [1] { + Parameter #0 [ string $arg ] + } + - Return [ Couchbase\AnalyticsOptions ] + } + + Method [ public method scopeName ] { + + - Parameters [1] { + Parameter #0 [ string $value ] + } + - Return [ Couchbase\AnalyticsOptions ] + } + + Method [ public method scopeQualifier ] { + + - Parameters [1] { + Parameter #0 [ string $value ] + } + - Return [ Couchbase\AnalyticsOptions ] + } + } + } + + Interface [ interface Couchbase\LookupInSpec ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ class Couchbase\LookupGetSpec implements Couchbase\LookupInSpec ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [2] { + Property [ private $path ] + Property [ private $is_xattr ] + } + + - Methods [1] { + Method [ public method __construct ] { + + - Parameters [2] { + Parameter #0 [ string $path ] + Parameter #1 [ bool $isXattr ] + } + } + } + } + + Class [ class Couchbase\LookupCountSpec implements Couchbase\LookupInSpec ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [2] { + Property [ private $path ] + Property [ private $is_xattr ] + } + + - Methods [1] { + Method [ public method __construct ] { + + - Parameters [2] { + Parameter #0 [ string $path ] + Parameter #1 [ bool $isXattr ] + } + } + } + } + + Class [ class Couchbase\LookupExistsSpec implements Couchbase\LookupInSpec ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [2] { + Property [ private $path ] + Property [ private $is_xattr ] + } + + - Methods [1] { + Method [ public method __construct ] { + + - Parameters [2] { + Parameter #0 [ string $path ] + Parameter #1 [ bool $isXattr ] + } + } + } + } + + Interface [ interface Couchbase\MutateInSpec ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ class Couchbase\MutateInsertSpec implements Couchbase\MutateInSpec ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [5] { + Property [ private $path ] + Property [ private $value ] + Property [ private $is_xattr ] + Property [ private $create_path ] + Property [ private $expand_macros ] + } + + - Methods [1] { + Method [ public method __construct ] { + + - Parameters [5] { + Parameter #0 [ string $path ] + Parameter #1 [ $value ] + Parameter #2 [ bool $isXattr ] + Parameter #3 [ bool $createPath ] + Parameter #4 [ bool $expandMacros ] + } + } + } + } + + Class [ class Couchbase\MutateUpsertSpec implements Couchbase\MutateInSpec ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [5] { + Property [ private $path ] + Property [ private $value ] + Property [ private $is_xattr ] + Property [ private $create_path ] + Property [ private $expand_macros ] + } + + - Methods [1] { + Method [ public method __construct ] { + + - Parameters [5] { Parameter #0 [ string $path ] Parameter #1 [ $value ] Parameter #2 [ bool $isXattr ] @@ -8195,7 +9220,7 @@ Extension [ extension #118 couchbase version 3.1.2 ] { - Static methods [0] { } - - Properties [11] { + - Properties [12] { Property [ private $timeout ] Property [ private $limit ] Property [ private $skip ] @@ -8207,9 +9232,10 @@ Extension [ extension #118 couchbase version 3.1.2 ] { Property [ private $highlight_style ] Property [ private $highlight_fields ] Property [ private $disable_scoring ] + Property [ private $collections ] } - - Methods [11] { + - Methods [12] { Method [ public method jsonSerialize ] { - Parameters [0] { @@ -8297,6 +9323,14 @@ Extension [ extension #118 couchbase version 3.1.2 ] { } - Return [ Couchbase\SearchOptions ] } + + Method [ public method collections ] { + + - Parameters [1] { + Parameter #0 [ array $collections ] + } + - Return [ Couchbase\SearchOptions ] + } } } @@ -10458,15 +11492,16 @@ Extension [ extension #118 couchbase version 3.1.2 ] { - Static methods [0] { } - - Properties [5] { + - Properties [6] { Property [ private $cas ] Property [ private $timeout ] Property [ private $expiry ] + Property [ private $preserve_expiry ] Property [ private $durability_level ] Property [ private $encoder ] } - - Methods [5] { + - Methods [6] { Method [ public method cas ] { - Parameters [1] { @@ -10491,6 +11526,14 @@ Extension [ extension #118 couchbase version 3.1.2 ] { - Return [ Couchbase\UpsertOptions ] } + Method [ public method preserveExpiry ] { + + - Parameters [1] { + Parameter #0 [ bool $shouldPreserve ] + } + - Return [ Couchbase\UpsertOptions ] + } + Method [ public method durabilityLevel ] { - Parameters [1] { @@ -10520,15 +11563,16 @@ Extension [ extension #118 couchbase version 3.1.2 ] { - Static methods [0] { } - - Properties [5] { + - Properties [6] { Property [ private $cas ] Property [ private $timeout ] Property [ private $expiry ] + Property [ private $preserve_expiry ] Property [ private $durability_level ] Property [ private $encoder ] } - - Methods [5] { + - Methods [6] { Method [ public method cas ] { - Parameters [1] { @@ -10553,6 +11597,14 @@ Extension [ extension #118 couchbase version 3.1.2 ] { - Return [ Couchbase\ReplaceOptions ] } + Method [ public method preserveExpiry ] { + + - Parameters [1] { + Parameter #0 [ bool $shouldPreserve ] + } + - Return [ Couchbase\ReplaceOptions ] + } + Method [ public method durabilityLevel ] { - Parameters [1] { @@ -10718,13 +11770,12 @@ Extension [ extension #118 couchbase version 3.1.2 ] { - Static methods [0] { } - - Properties [6] { + - Properties [5] { Property [ private $timeout ] Property [ private $expiry ] Property [ private $durability_level ] Property [ private $delta ] Property [ private $initial ] - Property [ private $cas ] } - Methods [6] { @@ -10789,13 +11840,12 @@ Extension [ extension #118 couchbase version 3.1.2 ] { - Static methods [0] { } - - Properties [6] { + - Properties [5] { Property [ private $timeout ] Property [ private $expiry ] Property [ private $durability_level ] Property [ private $delta ] Property [ private $initial ] - Property [ private $cas ] } - Methods [6] { @@ -10939,15 +11989,16 @@ Extension [ extension #118 couchbase version 3.1.2 ] { - Static methods [0] { } - - Properties [5] { + - Properties [6] { Property [ private $cas ] Property [ private $timeout ] Property [ private $expiry ] + Property [ private $preserve_expiry ] Property [ private $durability_level ] Property [ private $store_semantics ] } - - Methods [5] { + - Methods [6] { Method [ public method cas ] { - Parameters [1] { @@ -10972,6 +12023,14 @@ Extension [ extension #118 couchbase version 3.1.2 ] { - Return [ Couchbase\MutateInOptions ] } + Method [ public method preserveExpiry ] { + + - Parameters [1] { + Parameter #0 [ bool $shouldPreserve ] + } + - Return [ Couchbase\MutateInOptions ] + } + Method [ public method durabilityLevel ] { - Parameters [1] { @@ -11080,83 +12139,304 @@ Extension [ extension #118 couchbase version 3.1.2 ] { - Return [ Couchbase\ViewOptions ] } - Method [ public method scanConsistency ] { + Method [ public method scanConsistency ] { + + - Parameters [1] { + Parameter #0 [ int $arg ] + } + - Return [ Couchbase\ViewOptions ] + } + + Method [ public method order ] { + + - Parameters [1] { + Parameter #0 [ int $arg ] + } + - Return [ Couchbase\ViewOptions ] + } + + Method [ public method reduce ] { + + - Parameters [1] { + Parameter #0 [ bool $arg ] + } + - Return [ Couchbase\ViewOptions ] + } + + Method [ public method group ] { + + - Parameters [1] { + Parameter #0 [ bool $arg ] + } + - Return [ Couchbase\ViewOptions ] + } + + Method [ public method groupLevel ] { + + - Parameters [1] { + Parameter #0 [ int $arg ] + } + - Return [ Couchbase\ViewOptions ] + } + + Method [ public method range ] { + + - Parameters [3] { + Parameter #0 [ $start ] + Parameter #1 [ $end ] + Parameter #2 [ bool $inclusiveEnd ] + } + - Return [ Couchbase\ViewOptions ] + } + + Method [ public method idRange ] { + + - Parameters [3] { + Parameter #0 [ string $start ] + Parameter #1 [ string or NULL $end ] + Parameter #2 [ bool $inclusiveEnd ] + } + - Return [ Couchbase\ViewOptions ] + } + + Method [ public method raw ] { + + - Parameters [2] { + Parameter #0 [ string $key ] + Parameter #1 [ $value ] + } + - Return [ Couchbase\ViewOptions ] + } + } + } + + Interface [ interface Couchbase\ViewScanConsistency ] { + + - Constants [3] { + Constant [ public int NOT_BOUNDED ] { 0 } + Constant [ public int REQUEST_PLUS ] { 1 } + Constant [ public int UPDATE_AFTER ] { 2 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Interface [ interface Couchbase\ViewOrdering ] { + + - Constants [2] { + Constant [ public int ASCENDING ] { 0 } + Constant [ public int DESCENDING ] { 1 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ class Couchbase\QueryOptions ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [18] { + Property [ private $timeout ] + Property [ private $adhoc ] + Property [ private $metrics ] + Property [ private $readonly ] + Property [ private $flex_index ] + Property [ private $scan_cap ] + Property [ private $pipeline_batch ] + Property [ private $pipeline_cap ] + Property [ private $scan_consistency ] + Property [ private $consistent_with ] + Property [ private $positional_params ] + Property [ private $named_params ] + Property [ private $raw_params ] + Property [ private $max_parallelism ] + Property [ private $profile ] + Property [ private $client_context_id ] + Property [ private $scope_name ] + Property [ private $scope_qualifier ] + } + + - Methods [18] { + Method [ public method timeout ] { + + - Parameters [1] { + Parameter #0 [ int $arg ] + } + - Return [ Couchbase\QueryOptions ] + } + + Method [ public method scanConsistency ] { + + - Parameters [1] { + Parameter #0 [ int $arg ] + } + - Return [ Couchbase\QueryOptions ] + } + + Method [ public method consistentWith ] { + + - Parameters [1] { + Parameter #0 [ Couchbase\MutationState $arg ] + } + - Return [ Couchbase\QueryOptions ] + } + + Method [ public method scanCap ] { + + - Parameters [1] { + Parameter #0 [ int $arg ] + } + - Return [ Couchbase\QueryOptions ] + } + + Method [ public method pipelineCap ] { + + - Parameters [1] { + Parameter #0 [ int $arg ] + } + - Return [ Couchbase\QueryOptions ] + } + + Method [ public method pipelineBatch ] { + + - Parameters [1] { + Parameter #0 [ int $arg ] + } + - Return [ Couchbase\QueryOptions ] + } + + Method [ public method readonly ] { + + - Parameters [1] { + Parameter #0 [ bool $arg ] + } + - Return [ Couchbase\QueryOptions ] + } + + Method [ public method flexIndex ] { + + - Parameters [1] { + Parameter #0 [ bool $arg ] + } + - Return [ Couchbase\QueryOptions ] + } + + Method [ public method adhoc ] { + + - Parameters [1] { + Parameter #0 [ bool $arg ] + } + - Return [ Couchbase\QueryOptions ] + } + + Method [ public method metrics ] { + + - Parameters [1] { + Parameter #0 [ bool $arg ] + } + - Return [ Couchbase\QueryOptions ] + } + + Method [ public method namedParameters ] { - Parameters [1] { - Parameter #0 [ int $arg ] + Parameter #0 [ array $arg ] } - - Return [ Couchbase\ViewOptions ] + - Return [ Couchbase\QueryOptions ] } - Method [ public method order ] { + Method [ public method positionalParameters ] { - Parameters [1] { - Parameter #0 [ int $arg ] + Parameter #0 [ array $arg ] } - - Return [ Couchbase\ViewOptions ] + - Return [ Couchbase\QueryOptions ] } - Method [ public method reduce ] { + Method [ public method raw ] { - - Parameters [1] { - Parameter #0 [ bool $arg ] + - Parameters [2] { + Parameter #0 [ string $key ] + Parameter #1 [ $value ] } - - Return [ Couchbase\ViewOptions ] + - Return [ Couchbase\QueryOptions ] } - Method [ public method group ] { + Method [ public method maxParallelism ] { - Parameters [1] { - Parameter #0 [ bool $arg ] + Parameter #0 [ int $arg ] } - - Return [ Couchbase\ViewOptions ] + - Return [ Couchbase\QueryOptions ] } - Method [ public method groupLevel ] { + Method [ public method profile ] { - Parameters [1] { Parameter #0 [ int $arg ] } - - Return [ Couchbase\ViewOptions ] + - Return [ Couchbase\QueryOptions ] } - Method [ public method range ] { + Method [ public method clientContextId ] { - - Parameters [3] { - Parameter #0 [ $start ] - Parameter #1 [ $end ] - Parameter #2 [ bool $inclusiveEnd ] + - Parameters [1] { + Parameter #0 [ string $value ] } - - Return [ Couchbase\ViewOptions ] + - Return [ Couchbase\QueryOptions ] } - Method [ public method idRange ] { + Method [ public method scopeName ] { - - Parameters [3] { - Parameter #0 [ string $start ] - Parameter #1 [ string or NULL $end ] - Parameter #2 [ bool $inclusiveEnd ] + - Parameters [1] { + Parameter #0 [ string $value ] } - - Return [ Couchbase\ViewOptions ] + - Return [ Couchbase\QueryOptions ] } - Method [ public method raw ] { + Method [ public method scopeQualifier ] { - - Parameters [2] { - Parameter #0 [ string $key ] - Parameter #1 [ $value ] + - Parameters [1] { + Parameter #0 [ string $value ] } - - Return [ Couchbase\ViewOptions ] + - Return [ Couchbase\QueryOptions ] } } } - Interface [ interface Couchbase\ViewScanConsistency ] { + Interface [ interface Couchbase\QueryScanConsistency ] { - Constants [3] { - Constant [ public int NOT_BOUNDED ] { 0 } - Constant [ public int REQUEST_PLUS ] { 1 } - Constant [ public int UPDATE_AFTER ] { 2 } + Constant [ public int NOT_BOUNDED ] { 1 } + Constant [ public int REQUEST_PLUS ] { 2 } + Constant [ public int STATEMENT_PLUS ] { 3 } } - Static properties [0] { @@ -11172,11 +12452,12 @@ Extension [ extension #118 couchbase version 3.1.2 ] { } } - Interface [ interface Couchbase\ViewOrdering ] { + Interface [ interface Couchbase\QueryProfile ] { - - Constants [2] { - Constant [ public int ASCENDING ] { 0 } - Constant [ public int DESCENDING ] { 1 } + - Constants [3] { + Constant [ public int OFF ] { 1 } + Constant [ public int PHASES ] { 2 } + Constant [ public int TIMINGS ] { 3 } } - Static properties [0] { @@ -11192,7 +12473,7 @@ Extension [ extension #118 couchbase version 3.1.2 ] { } } - Class [ class Couchbase\QueryOptions ] { + Class [ class Couchbase\ViewIndexManager ] { - Constants [0] { } @@ -11203,181 +12484,236 @@ Extension [ extension #118 couchbase version 3.1.2 ] { - Static methods [0] { } - - Properties [18] { - Property [ private $timeout ] - Property [ private $adhoc ] - Property [ private $metrics ] - Property [ private $readonly ] - Property [ private $flex_index ] - Property [ private $scan_cap ] - Property [ private $pipeline_batch ] - Property [ private $pipeline_cap ] - Property [ private $scan_consistency ] - Property [ private $consistent_with ] - Property [ private $positional_params ] - Property [ private $named_params ] - Property [ private $raw_params ] - Property [ private $max_parallelism ] - Property [ private $profile ] - Property [ private $client_context_id ] - Property [ private $scope_name ] - Property [ private $scope_qualifier ] + - Properties [1] { + Property [ private $bucket ] } - - Methods [18] { - Method [ public method timeout ] { + - Methods [4] { + Method [ public method getAllDesignDocuments ] { - - Parameters [1] { - Parameter #0 [ int $arg ] + - Parameters [0] { } - - Return [ Couchbase\QueryOptions ] + - Return [ array ] } - Method [ public method scanConsistency ] { + Method [ public method getDesignDocument ] { - Parameters [1] { - Parameter #0 [ int $arg ] + Parameter #0 [ $name ] } - - Return [ Couchbase\QueryOptions ] + - Return [ Couchbase\DesignDocument ] } - Method [ public method consistentWith ] { + Method [ public method dropDesignDocument ] { - Parameters [1] { - Parameter #0 [ Couchbase\MutationState $arg ] + Parameter #0 [ $name ] } - - Return [ Couchbase\QueryOptions ] } - Method [ public method scanCap ] { + Method [ public method upsertDesignDocument ] { - Parameters [1] { - Parameter #0 [ int $arg ] + Parameter #0 [ Couchbase\DesignDocument $document ] } - - Return [ Couchbase\QueryOptions ] + } + } + } + + Class [ class Couchbase\DesignDocument implements JsonSerializable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [2] { + Property [ private $name ] + Property [ private $views ] + } + + - Methods [5] { + Method [ public method name ] { + + - Parameters [0] { + } + - Return [ string ] } - Method [ public method pipelineCap ] { + Method [ public method views ] { - - Parameters [1] { - Parameter #0 [ int $arg ] + - Parameters [0] { } - - Return [ Couchbase\QueryOptions ] + - Return [ array ] } - Method [ public method pipelineBatch ] { + Method [ public method setName ] { - Parameters [1] { - Parameter #0 [ int $arg ] + Parameter #0 [ string $name ] } - - Return [ Couchbase\QueryOptions ] + - Return [ Couchbase\DesignDocument ] } - Method [ public method readonly ] { + Method [ public method setViews ] { - Parameters [1] { - Parameter #0 [ bool $arg ] + Parameter #0 [ array $views ] } - - Return [ Couchbase\QueryOptions ] + - Return [ Couchbase\DesignDocument ] } - Method [ public method flexIndex ] { + Method [ public method jsonSerialize ] { - - Parameters [1] { - Parameter #0 [ bool $arg ] + - Parameters [0] { } - - Return [ Couchbase\QueryOptions ] } + } + } - Method [ public method adhoc ] { + Class [ class Couchbase\View ] { - - Parameters [1] { - Parameter #0 [ bool $arg ] + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [3] { + Property [ private $name ] + Property [ private $map ] + Property [ private $reduce ] + } + + - Methods [6] { + Method [ public method name ] { + + - Parameters [0] { } - - Return [ Couchbase\QueryOptions ] + - Return [ string ] } - Method [ public method metrics ] { + Method [ public method map ] { + + - Parameters [0] { + } + - Return [ string ] + } + + Method [ public method reduce ] { + + - Parameters [0] { + } + - Return [ string ] + } + + Method [ public method setName ] { - Parameters [1] { - Parameter #0 [ bool $arg ] + Parameter #0 [ string $name ] } - - Return [ Couchbase\QueryOptions ] + - Return [ Couchbase\View ] } - Method [ public method namedParameters ] { + Method [ public method setMap ] { - Parameters [1] { - Parameter #0 [ array $arg ] + Parameter #0 [ string $map_js_code ] } - - Return [ Couchbase\QueryOptions ] + - Return [ Couchbase\View ] } - Method [ public method positionalParameters ] { + Method [ public method setReduce ] { - Parameters [1] { - Parameter #0 [ array $arg ] + Parameter #0 [ string $reduce_js_code ] } - - Return [ Couchbase\QueryOptions ] + - Return [ Couchbase\View ] } + } + } - Method [ public method raw ] { + Class [ class Couchbase\ClusterOptions ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ private $username ] + Property [ private $password ] + Property [ private $meter ] + Property [ private $tracer ] + } + + - Methods [3] { + Method [ public method credentials ] { - Parameters [2] { - Parameter #0 [ string $key ] - Parameter #1 [ $value ] + Parameter #0 [ string $username ] + Parameter #1 [ string $password ] } - - Return [ Couchbase\QueryOptions ] + - Return [ Couchbase\ClusterOptions ] } - Method [ public method maxParallelism ] { + Method [ public method meter ] { - Parameters [1] { - Parameter #0 [ int $arg ] + Parameter #0 [ Couchbase\Meter $meter ] } - - Return [ Couchbase\QueryOptions ] + - Return [ Couchbase\ClusterOptions ] } - Method [ public method profile ] { + Method [ public method tracer ] { - Parameters [1] { - Parameter #0 [ int $arg ] + Parameter #0 [ Couchbase\RequestTracer $tracer ] } - - Return [ Couchbase\QueryOptions ] + - Return [ Couchbase\ClusterOptions ] } + } + } - Method [ public method clientContextId ] { + Interface [ interface Couchbase\ValueRecorder ] { - - Parameters [1] { - Parameter #0 [ string $value ] - } - - Return [ Couchbase\QueryOptions ] - } + - Constants [0] { + } - Method [ public method scopeName ] { + - Static properties [0] { + } - - Parameters [1] { - Parameter #0 [ string $value ] - } - - Return [ Couchbase\QueryOptions ] - } + - Static methods [0] { + } - Method [ public method scopeQualifier ] { + - Properties [0] { + } + + - Methods [1] { + Method [ abstract public method recordValue ] { - Parameters [1] { - Parameter #0 [ string $value ] + Parameter #0 [ int $value ] } - - Return [ Couchbase\QueryOptions ] + - Return [ void ] } } } - Interface [ interface Couchbase\QueryScanConsistency ] { + Interface [ interface Couchbase\Meter ] { - - Constants [3] { - Constant [ public int NOT_BOUNDED ] { 1 } - Constant [ public int REQUEST_PLUS ] { 2 } - Constant [ public int STATEMENT_PLUS ] { 3 } + - Constants [0] { } - Static properties [0] { @@ -11389,16 +12725,21 @@ Extension [ extension #118 couchbase version 3.1.2 ] { - Properties [0] { } - - Methods [0] { + - Methods [1] { + Method [ abstract public method valueRecorder ] { + + - Parameters [2] { + Parameter #0 [ string $name ] + Parameter #1 [ array $tags ] + } + - Return [ Couchbase\ValueRecorder ] + } } } - Interface [ interface Couchbase\QueryProfile ] { + Class [ class Couchbase\LoggingValueRecorder implements Couchbase\ValueRecorder ] { - - Constants [3] { - Constant [ public int OFF ] { 1 } - Constant [ public int PHASES ] { 2 } - Constant [ public int TIMINGS ] { 3 } + - Constants [0] { } - Static properties [0] { @@ -11410,11 +12751,18 @@ Extension [ extension #118 couchbase version 3.1.2 ] { - Properties [0] { } - - Methods [0] { + - Methods [1] { + Method [ public method recordValue ] { + + - Parameters [1] { + Parameter #0 [ int $value ] + } + - Return [ void ] + } } } - Class [ class Couchbase\ViewIndexManager ] { + Class [ class Couchbase\LoggingMeter implements Couchbase\Meter ] { - Constants [0] { } @@ -11426,42 +12774,81 @@ Extension [ extension #118 couchbase version 3.1.2 ] { } - Properties [1] { - Property [ private $bucket ] + Property [ private $flush_interval ] } - - Methods [4] { - Method [ public method getAllDesignDocuments ] { + - Methods [2] { + Method [ public method valueRecorder ] { - - Parameters [0] { + - Parameters [2] { + Parameter #0 [ string $name ] + Parameter #1 [ array $tags ] } - - Return [ array ] + - Return [ Couchbase\ValueRecorder ] } - Method [ public method getDesignDocument ] { + Method [ public method flushInterval ] { - Parameters [1] { - Parameter #0 [ $name ] + Parameter #0 [ int $duration ] } - - Return [ Couchbase\DesignDocument ] + - Return [ Couchbase\LoggingMeter ] } + } + } - Method [ public method dropDesignDocument ] { + Class [ class Couchbase\NoopValueRecorder implements Couchbase\ValueRecorder ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [1] { + Method [ public method recordValue ] { - Parameters [1] { - Parameter #0 [ $name ] + Parameter #0 [ int $value ] } + - Return [ void ] } + } + } - Method [ public method upsertDesignDocument ] { + Class [ class Couchbase\NoopMeter implements Couchbase\Meter ] { - - Parameters [1] { - Parameter #0 [ Couchbase\DesignDocument $document ] + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [1] { + Method [ public method valueRecorder ] { + + - Parameters [2] { + Parameter #0 [ string $name ] + Parameter #1 [ array $tags ] } + - Return [ Couchbase\ValueRecorder ] } } } - Class [ class Couchbase\DesignDocument implements JsonSerializable ] { + Interface [ interface Couchbase\RequestSpan ] { - Constants [0] { } @@ -11472,51 +12859,88 @@ Extension [ extension #118 couchbase version 3.1.2 ] { - Static methods [0] { } - - Properties [2] { - Property [ private $name ] - Property [ private $views ] + - Properties [0] { } - - Methods [5] { - Method [ public method name ] { + - Methods [2] { + Method [ abstract public method addTag ] { - - Parameters [0] { + - Parameters [2] { + Parameter #0 [ string $key ] + Parameter #1 [ $value ] } - - Return [ string ] + - Return [ void ] } - Method [ public method views ] { + Method [ abstract public method end ] { - Parameters [0] { } - - Return [ array ] + - Return [ void ] } + } + } - Method [ public method setName ] { + Interface [ interface Couchbase\RequestTracer ] { - - Parameters [1] { + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [1] { + Method [ abstract public method requestSpan ] { + + - Parameters [2] { Parameter #0 [ string $name ] + Parameter #1 [ Couchbase\RequestSpan or NULL $parent ] } - - Return [ Couchbase\DesignDocument ] + - Return [ Couchbase\RequestSpan ] } + } + } - Method [ public method setViews ] { + Class [ class Couchbase\LoggingRequestSpan implements Couchbase\RequestSpan ] { - - Parameters [1] { - Parameter #0 [ array $views ] + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [2] { + Method [ public method addTag ] { + + - Parameters [2] { + Parameter #0 [ string $key ] + Parameter #1 [ $value ] } - - Return [ Couchbase\DesignDocument ] + - Return [ void ] } - Method [ public method jsonSerialize ] { + Method [ public method end ] { - Parameters [0] { } + - Return [ void ] } } } - Class [ class Couchbase\View ] { + Class [ class Couchbase\ThresholdLoggingTracer implements Couchbase\RequestTracer ] { - Constants [0] { } @@ -11527,61 +12951,85 @@ Extension [ extension #118 couchbase version 3.1.2 ] { - Static methods [0] { } - - Properties [3] { - Property [ private $name ] - Property [ private $map ] - Property [ private $reduce ] + - Properties [7] { + Property [ private $emit_interval ] + Property [ private $kv_threshold ] + Property [ private $query_threshold ] + Property [ private $views_threshold ] + Property [ private $search_threshold ] + Property [ private $analytics_threshold ] + Property [ private $sample_size ] } - - Methods [6] { - Method [ public method name ] { + - Methods [8] { + Method [ public method requestSpan ] { - - Parameters [0] { + - Parameters [2] { + Parameter #0 [ string $name ] + Parameter #1 [ Couchbase\RequestSpan or NULL $parent ] } - - Return [ string ] + - Return [ Couchbase\RequestSpan ] } - Method [ public method map ] { + Method [ public method emitInterval ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ int $duration ] } - - Return [ string ] + - Return [ Couchbase\ThresholdLoggingTracer ] } - Method [ public method reduce ] { + Method [ public method kvThreshold ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ int $threshold ] } - - Return [ string ] + - Return [ Couchbase\ThresholdLoggingTracer ] } - Method [ public method setName ] { + Method [ public method queryThreshold ] { - Parameters [1] { - Parameter #0 [ string $name ] + Parameter #0 [ int $threshold ] } - - Return [ Couchbase\View ] + - Return [ Couchbase\ThresholdLoggingTracer ] } - Method [ public method setMap ] { + Method [ public method viewsThreshold ] { - Parameters [1] { - Parameter #0 [ string $map_js_code ] + Parameter #0 [ int $threshold ] } - - Return [ Couchbase\View ] + - Return [ Couchbase\ThresholdLoggingTracer ] } - Method [ public method setReduce ] { + Method [ public method searchThreshold ] { - Parameters [1] { - Parameter #0 [ string $reduce_js_code ] + Parameter #0 [ int $threshold ] } - - Return [ Couchbase\View ] + - Return [ Couchbase\ThresholdLoggingTracer ] + } + + Method [ public method analyticsThreshold ] { + + - Parameters [1] { + Parameter #0 [ int $threshold ] + } + - Return [ Couchbase\ThresholdLoggingTracer ] + } + + Method [ public method sampleSize ] { + + - Parameters [1] { + Parameter #0 [ int $size ] + } + - Return [ Couchbase\ThresholdLoggingTracer ] } } } - Class [ class Couchbase\ClusterOptions ] { + Class [ class Couchbase\NoopRequestSpan implements Couchbase\RequestSpan ] { - Constants [0] { } @@ -11592,19 +13040,50 @@ Extension [ extension #118 couchbase version 3.1.2 ] { - Static methods [0] { } - - Properties [2] { - Property [ private $username ] - Property [ private $password ] + - Properties [0] { + } + + - Methods [2] { + Method [ public method addTag ] { + + - Parameters [2] { + Parameter #0 [ string $key ] + Parameter #1 [ $value ] + } + - Return [ void ] + } + + Method [ public method end ] { + + - Parameters [0] { + } + - Return [ void ] + } + } + } + + Class [ class Couchbase\NoopTracer implements Couchbase\RequestTracer ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { } - Methods [1] { - Method [ public method credentials ] { + Method [ public method requestSpan ] { - Parameters [2] { - Parameter #0 [ string $username ] - Parameter #1 [ string $password ] + Parameter #0 [ string $name ] + Parameter #1 [ Couchbase\RequestSpan or NULL $parent ] } - - Return [ Couchbase\ClusterOptions ] + - Return [ Couchbase\RequestSpan ] } } } diff --git a/php-pecl-couchbase3.spec b/php-pecl-couchbase3.spec index 8ccb59e..90c9e7b 100644 --- a/php-pecl-couchbase3.spec +++ b/php-pecl-couchbase3.spec @@ -25,14 +25,13 @@ Summary: Couchbase Server PHP extension Name: %{?sub_prefix}php-pecl-couchbase3 -Version: 3.1.2 -Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Version: 3.2.0 +Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: PHP URL: https://pecl.php.net/package/couchbase Source0: https://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz Patch0: https://patch-diff.githubusercontent.com/raw/couchbase/php-couchbase/pull/32.patch -Patch1: https://patch-diff.githubusercontent.com/raw/couchbase/php-couchbase/pull/33.patch BuildRequires: make BuildRequires: %{?dtsprefix}gcc @@ -41,8 +40,8 @@ BuildRequires: %{?scl_prefix}php-devel >= 7.2 BuildRequires: %{?scl_prefix}php-pear BuildRequires: %{?scl_prefix}php-json BuildRequires: %{?scl_prefix}php-tokenizer -# ensure we use the latest version (upstream requires 3.1.3) -BuildRequires: pkgconfig(libcouchbase) >= 3.1.3 +# ensure we use the latest version (upstream requires 3.2.0) +BuildRequires: pkgconfig(libcouchbase) >= 3.2.0 BuildRequires: fastlz-devel BuildRequires: zlib-devel @@ -111,7 +110,6 @@ mv %{pecl_name}-%{version}%{?prever} NTS cd NTS %patch0 -p1 -b .pr32 -%patch1 -p1 -b .pr33 # Drop bundled library sed -e '/fastlz/d' -i ../package.xml @@ -246,6 +244,11 @@ fi %changelog +* Wed Jul 28 2021 Remi Collet - 3.2.0-1 +- update to 3.2.0 +- drop patch merged upstream +- raise dependency on libcouchbase 3.2 + * Wed Jul 21 2021 Remi Collet - 3.1.2-2 - add patch for PHP 8.1.0beta1 from https://github.com/couchbase/php-couchbase/pull/33 -- cgit