~ubuntu-branches/debian/sid/php-cassandra/sid

« back to all changes in this revision

Viewing changes to cassandra-1.3.0/doc/Cassandra/DefaultIndex.php

  • Committer: Package Import Robot
  • Author(s): Ondřej Surý
  • Date: 2017-04-18 17:16:30 UTC
  • Revision ID: package-import@ubuntu.com-20170418171630-fw8udixss0879s32
Tags: upstream-1.3.0
Import upstream version 1.3.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
 
 
3
/**
 
4
 * Copyright 2017 DataStax, Inc.
 
5
 *
 
6
 * Licensed under the Apache License, Version 2.0 (the "License");
 
7
 * you may not use this file except in compliance with the License.
 
8
 * You may obtain a copy of the License at
 
9
 *
 
10
 * http://www.apache.org/licenses/LICENSE-2.0
 
11
 *
 
12
 * Unless required by applicable law or agreed to in writing, software
 
13
 * distributed under the License is distributed on an "AS IS" BASIS,
 
14
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 
15
 * See the License for the specific language governing permissions and
 
16
 * limitations under the License.
 
17
 */
 
18
 
 
19
namespace Cassandra;
 
20
 
 
21
/**
 
22
 * A PHP representation of an index
 
23
 */
 
24
final class DefaultIndex implements Index {
 
25
 
 
26
    /**
 
27
     * {@inheritDoc}
 
28
     *
 
29
     * @return string Name of the index
 
30
     */
 
31
    public function name() { }
 
32
 
 
33
    /**
 
34
     * {@inheritDoc}
 
35
     *
 
36
     * @return string Kind of the index
 
37
     */
 
38
    public function kind() { }
 
39
 
 
40
    /**
 
41
     * {@inheritDoc}
 
42
     *
 
43
     * @return string Target column name of the index
 
44
     */
 
45
    public function target() { }
 
46
 
 
47
    /**
 
48
     * {@inheritDoc}
 
49
     *
 
50
     * @param string $name {@inheritDoc}
 
51
     *
 
52
     * @return Value Value of an option by name
 
53
     */
 
54
    public function option($name) { }
 
55
 
 
56
    /**
 
57
     * {@inheritDoc}
 
58
     *
 
59
     * @return array A dictionary of `string` and `Value` pairs of the
 
60
     */
 
61
    public function options() { }
 
62
 
 
63
    /**
 
64
     * {@inheritDoc}
 
65
     *
 
66
     * @return string Class name of a custom index
 
67
     */
 
68
    public function className() { }
 
69
 
 
70
    /**
 
71
     * {@inheritDoc}
 
72
     *
 
73
     * @return bool
 
74
     */
 
75
    public function isCustom() { }
 
76
 
 
77
}