PHP Interface Cassandra\Index

Show file Open project: datastax/php-driver

Public Methods

Method Description
className ( ) : string Returns the class name of the index
isCustom ( ) : boolean Returns true if this is a custom index
kind ( ) : string Returns the kind of index
name ( ) : string Returns the name of the index
option ( $name ) : Cassandra\Value Return a column's option by name
options ( ) : array Returns all the index's options
target ( ) : string Returns the target column of the index

Method Details

className() public method

Returns the class name of the index
public className ( ) : string
return string Class name of a custom index

isCustom() public method

Returns true if this is a custom index
public isCustom ( ) : boolean
return boolean

kind() public method

Returns the kind of index
public kind ( ) : string
return string Kind of the index

name() public method

Returns the name of the index
public name ( ) : string
return string Name of the index

option() public method

Return a column's option by name
public option ( $name ) : Cassandra\Value
return Cassandra\Value Value of an option by name

options() public method

Returns all the index's options
public options ( ) : array
return array A dictionary of `string` and `Cassandra\Value pairs of the index's options.

target() public method

Returns the target column of the index
public target ( ) : string
return string Target column name of the index