4
* Copyright 2017 DataStax, Inc.
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
10
* http://www.apache.org/licenses/LICENSE-2.0
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.
22
* A PHP representation of an index
24
final class DefaultIndex implements Index {
29
* @return string Name of the index
31
public function name() { }
36
* @return string Kind of the index
38
public function kind() { }
43
* @return string Target column name of the index
45
public function target() { }
50
* @param string $name {@inheritDoc}
52
* @return Value Value of an option by name
54
public function option($name) { }
59
* @return array A dictionary of `string` and `Value` pairs of the
61
public function options() { }
66
* @return string Class name of a custom index
68
public function className() { }
75
public function isCustom() { }