org.apache.cassandra.db
Class Table.TableMetadata
java.lang.Object
org.apache.cassandra.db.Table.TableMetadata
- Enclosing class:
- Table
public static class Table.TableMetadata
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Table.TableMetadata
public Table.TableMetadata()
instance
public static Table.TableMetadata instance(java.lang.String tableName)
throws java.io.IOException
- Throws:
java.io.IOException
add
public void add(java.lang.String cf,
int id)
add
public void add(java.lang.String cf,
int id,
java.lang.String type)
isEmpty
public boolean isEmpty()
getColumnFamilyName
public static java.lang.String getColumnFamilyName(int id)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getColumnFamilyCount
public static int getColumnFamilyCount()
getColumnFamilyIDString
public static java.lang.String getColumnFamilyIDString()
Copyright © 2010 The Apache Software Foundation