PHP Interface Cassandra\Index

Afficher le fichier Open project: datastax/php-driver

Méthodes publiques

Méthode 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 méthode

Returns the class name of the index
public className ( ) : string
Résultat string Class name of a custom index

isCustom() public méthode

Returns true if this is a custom index
public isCustom ( ) : boolean
Résultat boolean

kind() public méthode

Returns the kind of index
public kind ( ) : string
Résultat string Kind of the index

name() public méthode

Returns the name of the index
public name ( ) : string
Résultat string Name of the index

option() public méthode

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

options() public méthode

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

target() public méthode

Returns the target column of the index
public target ( ) : string
Résultat string Target column name of the index