|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cassandra.db.Table
public class Table
Nested Class Summary | |
---|---|
static class |
Table.TableMetadata
|
Field Summary | |
---|---|
java.lang.String |
name
|
static java.lang.String |
SYSTEM_TABLE
|
Method Summary | |
---|---|
static java.lang.Iterable<Table> |
all()
|
void |
apply(RowMutation mutation,
java.lang.Object serializedMutation,
boolean writeCommitLog)
This method adds the row to the Commit Log associated with this table. |
void |
clearSnapshot()
Clear all the snapshots for a given table. |
java.util.List<java.util.concurrent.Future<?>> |
flush()
|
java.util.List<SSTableReader> |
forceAntiCompaction(java.util.Collection<Range> ranges,
java.net.InetAddress target)
|
void |
forceCleanup()
Do a cleanup of keys that do not belong locally. |
void |
forceCompaction()
|
ColumnFamily |
get(java.lang.String key,
java.lang.String cfName)
Deprecated. |
java.util.Set<java.lang.String> |
getColumnFamilies()
|
int |
getColumnFamilyId(java.lang.String columnFamily)
|
ColumnFamilyStore |
getColumnFamilyStore(java.lang.String cfName)
|
java.util.Collection<ColumnFamilyStore> |
getColumnFamilyStores()
|
java.lang.String |
getDataFileLocation(long expectedCompactedFileSize)
|
Row |
getRow(QueryFilter filter)
|
static java.lang.String |
getSnapshotPath(java.lang.String dataDirPath,
java.lang.String tableName,
java.lang.String snapshotName)
|
static Table |
open(java.lang.String table)
|
void |
snapshot(java.lang.String clientSuppliedName)
Take a snapshot of the entire set of column families with a given timestamp. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SYSTEM_TABLE
public final java.lang.String name
Method Detail |
---|
public static Table open(java.lang.String table) throws java.io.IOException
java.io.IOException
public java.util.Set<java.lang.String> getColumnFamilies()
public java.util.Collection<ColumnFamilyStore> getColumnFamilyStores()
public ColumnFamilyStore getColumnFamilyStore(java.lang.String cfName)
public void forceCleanup()
public void snapshot(java.lang.String clientSuppliedName) throws java.io.IOException
clientSuppliedName
- the tag associated with the name of the snapshot. This
value can be null.
java.io.IOException
public void clearSnapshot() throws java.io.IOException
java.io.IOException
public java.util.List<SSTableReader> forceAntiCompaction(java.util.Collection<Range> ranges, java.net.InetAddress target)
public void forceCompaction()
public int getColumnFamilyId(java.lang.String columnFamily)
@Deprecated public ColumnFamily get(java.lang.String key, java.lang.String cfName) throws java.io.IOException
java.io.IOException
public Row getRow(QueryFilter filter) throws java.io.IOException
java.io.IOException
public void apply(RowMutation mutation, java.lang.Object serializedMutation, boolean writeCommitLog) throws java.io.IOException
java.io.IOException
public java.util.List<java.util.concurrent.Future<?>> flush() throws java.io.IOException
java.io.IOException
public java.lang.String getDataFileLocation(long expectedCompactedFileSize)
public static java.lang.String getSnapshotPath(java.lang.String dataDirPath, java.lang.String tableName, java.lang.String snapshotName)
public static java.lang.Iterable<Table> all()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |