com.datastax.driver.core
Class ColumnMetadata.IndexMetadata

java.lang.Object
  extended by com.datastax.driver.core.ColumnMetadata.IndexMetadata
Enclosing class:
ColumnMetadata

public static class ColumnMetadata.IndexMetadata
extends Object

Metadata on a column index.


Method Summary
 String asCQLQuery()
          Returns a CQL query representing this index.
 ColumnMetadata getIndexedColumn()
          The column this index metadata refers to.
 String getName()
          The index name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getIndexedColumn

public ColumnMetadata getIndexedColumn()
The column this index metadata refers to.

Returns:
the column this index metadata refers to.

getName

public String getName()
The index name.

Returns:
the index name.

asCQLQuery

public String asCQLQuery()
Returns a CQL query representing this index. This method returns a single 'CREATE INDEX' query corresponding to this index definition.

Returns:
the 'CREATE INDEX' query corresponding to this index.


Copyright © 2013. All Rights Reserved.