PHP Class Cassandra\Column

Inheritance: extends Thrift\Base\TBase
Afficher le fichier Open project: datastax/php-driver Class Usage Examples

Méthodes publiques

Méthode Description
indexName ( ) : string Returns name of the index if defined.
indexOptions ( ) : string Returns index options if present.
isFrozen ( ) : boolean Returns true for frozen columns.
isReversed ( ) : boolean Returns whether the column is in descending or ascending order.
isStatic ( ) : boolean Returns true for static columns.
name ( ) : string Returns the name of the column.
type ( ) : Cassandra\Type Returns the type of the column.

Method Details

indexName() public méthode

Returns name of the index if defined.
public indexName ( ) : string
Résultat string Name of the index if defined or null

indexOptions() public méthode

Returns index options if present.
public indexOptions ( ) : string
Résultat string Index options if present or null

isFrozen() public méthode

Returns true for frozen columns.
public isFrozen ( ) : boolean
Résultat boolean Whether the column is frozen

isReversed() public méthode

Returns whether the column is in descending or ascending order.
public isReversed ( ) : boolean
Résultat boolean Whether the column is stored in descending order.

isStatic() public méthode

Returns true for static columns.
public isStatic ( ) : boolean
Résultat boolean Whether the column is static

name() public méthode

Returns the name of the column.
public name ( ) : string
Résultat string Name of the column or null

type() public méthode

Returns the type of the column.
public type ( ) : Cassandra\Type
Résultat Cassandra\Type Type of the column