public static class ColumnMetadata.IndexMetadata extends Object
Modifier and Type | Method and Description |
---|---|
String |
asCQLQuery()
Returns a CQL query representing this index.
|
boolean |
equals(Object o) |
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.
|
int |
hashCode() |
boolean |
isCustomIndex()
Returns whether this index is a custom one.
|
public ColumnMetadata getIndexedColumn()
public String getName()
public boolean isCustomIndex()
If it is indeed a custom 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()
Copyright © 2012–2015. All rights reserved.