Skip to content

Commit 775a34c

Browse files
committed
Regenerate PHP API docs
1 parent 221973f commit 775a34c

27 files changed

+235
-237
lines changed

ext/doc/Cassandra.php

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -29,31 +29,31 @@ final class Cassandra {
2929
* has been written on the Coordinator. Requests with this consistency level
3030
* are not guranteed to make it to Replica nodes.
3131
*
32-
* @see ExecutionOptions::__construct()
32+
* @see Session::execute()
3333
*/
3434
const CONSISTENCY_ANY = 0;
3535

3636
/**
3737
* Consistency level ONE guarantees that data has been written to at least
3838
* one Replica node.
3939
*
40-
* @see ExecutionOptions::__construct()
40+
* @see Session::execute()
4141
*/
4242
const CONSISTENCY_ONE = 1;
4343

4444
/**
4545
* Consistency level TWO guarantees that data has been written to at least
4646
* two Replica nodes.
4747
*
48-
* @see ExecutionOptions::__construct()
48+
* @see Session::execute()
4949
*/
5050
const CONSISTENCY_TWO = 2;
5151

5252
/**
5353
* Consistency level THREE guarantees that data has been written to at least
5454
* three Replica nodes.
5555
*
56-
* @see ExecutionOptions::__construct()
56+
* @see Session::execute()
5757
*/
5858
const CONSISTENCY_THREE = 3;
5959

@@ -65,23 +65,23 @@ final class Cassandra {
6565
* ceiling function and `RF` is the replication factor used. For example,
6666
* for a replication factor of `5`, the majority is `ceil(5 / 2 + 1) = 3`.
6767
*
68-
* @see ExecutionOptions::__construct()
68+
* @see Session::execute()
6969
*/
7070
const CONSISTENCY_QUORUM = 4;
7171

7272
/**
7373
* Consistency level ALL guarantees that data has been written to all
7474
* Replica nodes.
7575
*
76-
* @see ExecutionOptions::__construct()
76+
* @see Session::execute()
7777
*/
7878
const CONSISTENCY_ALL = 5;
7979

8080
/**
8181
* Same as `CONSISTENCY_QUORUM`, but confined to the local data center. This
8282
* consistency level works only with `NetworkTopologyStrategy` replication.
8383
*
84-
* @see ExecutionOptions::__construct()
84+
* @see Session::execute()
8585
*/
8686
const CONSISTENCY_LOCAL_QUORUM = 6;
8787

@@ -90,35 +90,36 @@ final class Cassandra {
9090
* least a majority Replica nodes in all datacenters. This consistency level
9191
* works only with `NetworkTopologyStrategy` replication.
9292
*
93-
* @see ExecutionOptions::__construct()
93+
* @see Session::execute()
9494
*/
9595
const CONSISTENCY_EACH_QUORUM = 7;
9696

9797
/**
9898
* This is a serial consistency level, it is used in conditional updates,
9999
* e.g. (`CREATE|INSERT ... IF NOT EXISTS`), and should be specified as the
100-
* `serial_consistency` option of the ExecutionOptions instance.
100+
* `serial_consistency` execution option when invoking `session.execute`
101+
* or `session.execute_async`.
101102
*
102103
* Consistency level SERIAL, when set, ensures that a Paxos commit fails if
103104
* any of the replicas is down.
104105
*
105-
* @see ExecutionOptions::__construct()
106+
* @see Session::execute()
106107
*/
107108
const CONSISTENCY_SERIAL = 8;
108109

109110
/**
110111
* Same as `CONSISTENCY_SERIAL`, but confined to the local data center. This
111112
* consistency level works only with `NetworkTopologyStrategy` replication.
112113
*
113-
* @see ExecutionOptions::__construct()
114+
* @see Session::execute()
114115
*/
115116
const CONSISTENCY_LOCAL_SERIAL = 9;
116117

117118
/**
118119
* Same as `CONSISTENCY_ONE`, but confined to the local data center. This
119120
* consistency level works only with `NetworkTopologyStrategy` replication.
120121
*
121-
* @see ExecutionOptions::__construct()
122+
* @see Session::execute()
122123
*/
123124
const CONSISTENCY_LOCAL_ONE = 10;
124125

@@ -378,12 +379,12 @@ final class Cassandra {
378379
/**
379380
* The current version of the extension.
380381
*/
381-
const VERSION = '1.3.0-devel';
382+
const VERSION = '1.3.0';
382383

383384
/**
384385
* The version of the cpp-driver the extension is compiled against.
385386
*/
386-
const CPP_DRIVER_VERSION = '2.6.0-dev';
387+
const CPP_DRIVER_VERSION = '2.7.0';
387388

388389
/**
389390
* Creates a new cluster builder for constructing a Cluster object.

ext/doc/Cassandra/DefaultAggregate.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,63 +24,63 @@
2424
final class DefaultAggregate implements Aggregate {
2525

2626
/**
27-
* {@inheritDoc}
27+
* Returns the full name of the aggregate
2828
*
2929
* @return string Full name of the aggregate including name and types
3030
*/
3131
public function name() { }
3232

3333
/**
34-
* {@inheritDoc}
34+
* Returns the simple name of the aggregate
3535
*
3636
* @return string Simple name of the aggregate
3737
*/
3838
public function simpleName() { }
3939

4040
/**
41-
* {@inheritDoc}
41+
* Returns the argument types of the aggregate
4242
*
4343
* @return array Argument types of the aggregate
4444
*/
4545
public function argumentTypes() { }
4646

4747
/**
48-
* {@inheritDoc}
48+
* Returns the state function of the aggregate
4949
*
5050
* @return Function State public function of the aggregate
5151
*/
5252
public function stateFunction() { }
5353

5454
/**
55-
* {@inheritDoc}
55+
* Returns the final function of the aggregate
5656
*
5757
* @return Function Final public function of the aggregate
5858
*/
5959
public function finalFunction() { }
6060

6161
/**
62-
* {@inheritDoc}
62+
* Returns the initial condition of the aggregate
6363
*
6464
* @return Value Initial condition of the aggregate
6565
*/
6666
public function initialCondition() { }
6767

6868
/**
69-
* {@inheritDoc}
69+
* Returns the state type of the aggregate
7070
*
7171
* @return Type State type of the aggregate
7272
*/
7373
public function stateType() { }
7474

7575
/**
76-
* {@inheritDoc}
76+
* Returns the return type of the aggregate
7777
*
7878
* @return Type Return type of the aggregate
7979
*/
8080
public function returnType() { }
8181

8282
/**
83-
* {@inheritDoc}
83+
* Returns the signature of the aggregate
8484
*
8585
* @return string Signature of the aggregate (same as name())
8686
*/

ext/doc/Cassandra/DefaultCluster.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
final class DefaultCluster implements Cluster {
2727

2828
/**
29-
* {@inheritDoc}
29+
* Creates a new Session instance.
3030
*
3131
* @param string $keyspace Optional keyspace name
3232
* @param int $timeout Optional timeout
@@ -36,7 +36,7 @@ final class DefaultCluster implements Cluster {
3636
public function connect($keyspace, $timeout) { }
3737

3838
/**
39-
* {@inheritDoc}
39+
* Creates a new Session instance.
4040
*
4141
* @param string $keyspace Optional keyspace name
4242
*

ext/doc/Cassandra/DefaultColumn.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,49 +24,49 @@
2424
final class DefaultColumn implements Column {
2525

2626
/**
27-
* {@inheritDoc}
27+
* Returns the name of the column.
2828
*
2929
* @return string Name of the column or null
3030
*/
3131
public function name() { }
3232

3333
/**
34-
* {@inheritDoc}
34+
* Returns the type of the column.
3535
*
3636
* @return Type Type of the column
3737
*/
3838
public function type() { }
3939

4040
/**
41-
* {@inheritDoc}
41+
* Returns whether the column is in descending or ascending order.
4242
*
4343
* @return bool Whether the column is stored in descending order.
4444
*/
4545
public function isReversed() { }
4646

4747
/**
48-
* {@inheritDoc}
48+
* Returns true for static columns.
4949
*
5050
* @return bool Whether the column is static
5151
*/
5252
public function isStatic() { }
5353

5454
/**
55-
* {@inheritDoc}
55+
* Returns true for frozen columns.
5656
*
5757
* @return bool Whether the column is frozen
5858
*/
5959
public function isFrozen() { }
6060

6161
/**
62-
* {@inheritDoc}
62+
* Returns name of the index if defined.
6363
*
6464
* @return string Name of the index if defined or null
6565
*/
6666
public function indexName() { }
6767

6868
/**
69-
* {@inheritDoc}
69+
* Returns index options if present.
7070
*
7171
* @return string Index options if present or null
7272
*/

ext/doc/Cassandra/DefaultFunction.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,58 +24,58 @@
2424
final class DefaultFunction implements Function_ {
2525

2626
/**
27-
* {@inheritDoc}
27+
* Returns the full name of the function
2828
*
2929
* @return string Full name of the function including name and types
3030
*/
3131
public function name() { }
3232

3333
/**
34-
* {@inheritDoc}
34+
* Returns the simple name of the function
3535
*
3636
* @return string Simple name of the function
3737
*/
3838
public function simpleName() { }
3939

4040
/**
41-
* {@inheritDoc}
41+
* Returns the arguments of the function
4242
*
4343
* @return array Arguments of the function
4444
*/
4545
public function arguments() { }
4646

4747
/**
48-
* {@inheritDoc}
48+
* Returns the return type of the function
4949
*
5050
* @return Type Return type of the function
5151
*/
5252
public function returnType() { }
5353

5454
/**
55-
* {@inheritDoc}
55+
* Returns the signature of the function
5656
*
5757
* @return string Signature of the function (same as name())
5858
*/
5959
public function signature() { }
6060

6161
/**
62-
* {@inheritDoc}
62+
* Returns the lanuage of the function
6363
*
6464
* @return string Language used by the function
6565
*/
6666
public function language() { }
6767

6868
/**
69-
* {@inheritDoc}
69+
* Returns the body of the function
7070
*
7171
* @return string Body of the function
7272
*/
7373
public function body() { }
7474

7575
/**
76-
* {@inheritDoc}
76+
* Determines if a function is called when the value is null.
7777
*
78-
* @return bool
78+
* @return bool Returns whether the function is called when the input columns are null
7979
*/
8080
public function isCalledOnNullInput() { }
8181

ext/doc/Cassandra/DefaultIndex.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,53 +24,53 @@
2424
final class DefaultIndex implements Index {
2525

2626
/**
27-
* {@inheritDoc}
27+
* Returns the name of the index
2828
*
2929
* @return string Name of the index
3030
*/
3131
public function name() { }
3232

3333
/**
34-
* {@inheritDoc}
34+
* Returns the kind of index
3535
*
3636
* @return string Kind of the index
3737
*/
3838
public function kind() { }
3939

4040
/**
41-
* {@inheritDoc}
41+
* Returns the target column of the index
4242
*
4343
* @return string Target column name of the index
4444
*/
4545
public function target() { }
4646

4747
/**
48-
* {@inheritDoc}
48+
* Return a column's option by name
4949
*
50-
* @param string $name {@inheritDoc}
50+
* @param string $name The name of the option
5151
*
5252
* @return Value Value of an option by name
5353
*/
5454
public function option($name) { }
5555

5656
/**
57-
* {@inheritDoc}
57+
* Returns all the index's options
5858
*
59-
* @return array A dictionary of `string` and `Value` pairs of the
59+
* @return array A dictionary of `string` and `Value` pairs of the index's options.
6060
*/
6161
public function options() { }
6262

6363
/**
64-
* {@inheritDoc}
64+
* Returns the class name of the index
6565
*
6666
* @return string Class name of a custom index
6767
*/
6868
public function className() { }
6969

7070
/**
71-
* {@inheritDoc}
71+
* Determines if the index is a custom index.
7272
*
73-
* @return bool
73+
* @return bool true if a custom index
7474
*/
7575
public function isCustom() { }
7676

0 commit comments

Comments
 (0)