com.datastax.driver.core
Class ColumnMetadata

java.lang.Object
  extended by com.datastax.driver.core.ColumnMetadata

public class ColumnMetadata
extends Object

Describes a Column.


Nested Class Summary
static class ColumnMetadata.IndexMetadata
          Metadata on a column index.
 
Method Summary
 ColumnMetadata.IndexMetadata getIndex()
          The indexing metadata on this column if the column is indexed.
 String getName()
          The name of the column.
 TableMetadata getTable()
          The metadata of the table this column is part of.
 DataType getType()
          The type of the column.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getName

public String getName()
The name of the column.

Returns:
the name of the column.

getTable

public TableMetadata getTable()
The metadata of the table this column is part of.

Returns:
the TableMetadata for the table this column is part of.

getType

public DataType getType()
The type of the column.

Returns:
the type of the column.

getIndex

public ColumnMetadata.IndexMetadata getIndex()
The indexing metadata on this column if the column is indexed.

Returns:
the metadata on the column index if the column is indexed, null otherwise.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.