|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.datastax.driver.core.ColumnMetadata.IndexMetadata
public static class ColumnMetadata.IndexMetadata
Metadata on a column index.
Method Summary | |
---|---|
String |
asCQLQuery()
Returns a CQL query representing this index. |
String |
getIndexClassName()
The name of the class used to implement the custom index, if it is one. |
ColumnMetadata |
getIndexedColumn()
Returns the column this index metadata refers to. |
String |
getName()
Returns the index name. |
boolean |
isCustomIndex()
Returns whether this index is a custom one. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public ColumnMetadata getIndexedColumn()
public String getName()
public boolean isCustomIndex()
If it is indeed a custome index, getIndexClassName()
will
return the name of the class used in Cassandra to implement that
index.
true
if this metadata represents a custom index.public String getIndexClassName()
isCustomIndex() == true
, null
otherwise.public String asCQLQuery()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |