PHP Class Cassandra\Column

Inheritance: extends Thrift\Base\TBase
Show file Open project: datastax/php-driver Class Usage Examples

Public Methods

Method 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 method

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

indexOptions() public method

Returns index options if present.
public indexOptions ( ) : string
return string Index options if present or null

isFrozen() public method

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

isReversed() public method

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

isStatic() public method

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

name() public method

Returns the name of the column.
public name ( ) : string
return string Name of the column or null

type() public method

Returns the type of the column.
public type ( ) : Cassandra\Type
return Cassandra\Type Type of the column