|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cassandra.db.Table
public class Table
Author : Avinash Lakshman ( alakshman@facebook.com) & Prashant Malik ( pmalik@facebook.com )
Nested Class Summary | |
---|---|
static class |
Table.BootstrapCompletionHandler
This is the callback handler that is invoked when we have completely been bootstrapped for a single file by a remote host. |
static class |
Table.BootStrapInitiateVerbHandler
|
static class |
Table.TableMetadata
|
Field Summary | |
---|---|
static java.lang.String |
hints_
|
static java.lang.String |
recycleBin_
|
Method Summary | |
---|---|
void |
clearSnapshot()
|
void |
doGC()
Do a cleanup of keys that do not belong locally. |
void |
flush(boolean fRecovery)
|
void |
forceCompaction()
|
boolean |
forceCompaction(java.util.List<Range> ranges,
EndPoint target,
java.util.List<java.lang.String> fileList)
|
Row |
get(java.lang.String key)
Selects the row associated with the given key. |
ColumnFamily |
get(java.lang.String key,
java.lang.String cf)
Selects the specified column family for the specified key. |
java.util.List<java.lang.String> |
getAllSSTablesOnDisk()
|
java.util.SortedSet<java.lang.String> |
getApplicationColumnFamilies()
|
java.util.Set<java.lang.String> |
getColumnFamilies()
|
ColumnFamilyStore |
getColumnFamilyStore(java.lang.String cfName)
|
java.util.List<java.lang.String> |
getKeyRange(java.lang.String startWith,
java.lang.String stopAt,
int maxResults)
|
Row |
getRow(java.lang.String key,
java.lang.String cf)
Selects only the specified column family for the specified key. |
Row |
getRow(java.lang.String key,
java.lang.String cf,
int start,
int count)
Selects only the specified column family for the specified key. |
Row |
getRow(java.lang.String key,
java.lang.String cf,
java.util.List<java.lang.String> columns)
This method returns the specified columns for the specified column family. |
Row |
getRow(java.lang.String key,
java.lang.String cf,
long sinceTimeStamp)
|
static Table |
open(java.lang.String table)
|
java.lang.String |
tableStats(java.lang.String newLineSeparator,
java.text.DecimalFormat df)
|
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 recycleBin_
public static final java.lang.String hints_
Method Detail |
---|
public static Table open(java.lang.String table)
public java.util.Set<java.lang.String> getColumnFamilies()
public ColumnFamilyStore getColumnFamilyStore(java.lang.String cfName)
public java.lang.String tableStats(java.lang.String newLineSeparator, java.text.DecimalFormat df)
public void doGC()
public void clearSnapshot()
public boolean forceCompaction(java.util.List<Range> ranges, EndPoint target, java.util.List<java.lang.String> fileList)
public void forceCompaction()
public java.util.List<java.lang.String> getAllSSTablesOnDisk()
public Row get(java.lang.String key) throws java.io.IOException
java.io.IOException
public ColumnFamily get(java.lang.String key, java.lang.String cf) throws java.io.IOException
java.io.IOException
public Row getRow(java.lang.String key, java.lang.String cf) throws java.io.IOException
java.io.IOException
public Row getRow(java.lang.String key, java.lang.String cf, int start, int count) throws java.io.IOException
java.io.IOException
public Row getRow(java.lang.String key, java.lang.String cf, long sinceTimeStamp) throws java.io.IOException
java.io.IOException
public Row getRow(java.lang.String key, java.lang.String cf, java.util.List<java.lang.String> columns) throws java.io.IOException
java.io.IOException
public void flush(boolean fRecovery) throws java.io.IOException
java.io.IOException
public java.util.SortedSet<java.lang.String> getApplicationColumnFamilies()
public java.util.List<java.lang.String> getKeyRange(java.lang.String startWith, java.lang.String stopAt, int maxResults) throws java.io.IOException, java.util.concurrent.ExecutionException, java.lang.InterruptedException
startWith
- key to start with, inclusive. empty string = start at beginning.stopAt
- key to stop at, inclusive. empty string = stop only when keys are exhausted.maxResults
-
java.io.IOException
java.util.concurrent.ExecutionException
java.lang.InterruptedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |