public class BigTableWriter extends SSTableWriter
SSTableWriter.FactoryTransactional.AbstractTransactional| Modifier and Type | Field and Description |
|---|---|
static int |
END_OF_ROW |
keyCount, maxDataAge, metadataCollector, repairedAt, rowIndexEntrySerializer, txnProxycomponents, compression, descriptor, first, last, metadata, partitioner, TOMBSTONE_HISTOGRAM_BIN_SIZE| Modifier and Type | Method and Description |
|---|---|
RowIndexEntry |
append(AbstractCompactedRow row) |
void |
append(DecoratedKey decoratedKey,
ColumnFamily cf) |
long |
appendFromStream(DecoratedKey key,
CFMetaData metadata,
java.io.DataInput in,
Version version) |
long |
getFilePointer() |
long |
getOnDiskFilePointer() |
void |
mark() |
SSTableReader |
openEarly()
Open the resultant SSTableReader before it has been fully written
|
SSTableReader |
openFinalEarly()
Open the resultant SSTableReader once it has been fully written, but before the
_set_ of tables that are being written together as one atomic operation are all ready
|
void |
resetAndTruncate() |
protected SSTableWriter.TransactionalProxy |
txnProxy() |
abort, abort, close, commit, create, create, create, create, create, create, finalizeMetadata, finish, finish, finished, prepareToCommit, rename, rename, setMaxDataAge, setOpenResult, setRepairedAt, statsMetadataaddComponents, appendTOC, bytesOnDisk, componentsFor, delete, discoverComponentsFor, estimateRowsFromIndex, getColumnFamilyName, getFilename, getIndexFilename, getKeyspaceName, getMinimalKey, readTOC, toString, tryComponentFromFilenamepublic static final int END_OF_ROW
public void mark()
mark in class SSTableWriterpublic void resetAndTruncate()
resetAndTruncate in class SSTableWriterpublic RowIndexEntry append(AbstractCompactedRow row)
append in class SSTableWriterrow - public void append(DecoratedKey decoratedKey, ColumnFamily cf)
append in class SSTableWriterpublic long appendFromStream(DecoratedKey key, CFMetaData metadata, java.io.DataInput in, Version version) throws java.io.IOException
appendFromStream in class SSTableWriterjava.io.IOException - if a read from the DataInput failsFSWriteError - if a write to the dataFile failspublic SSTableReader openEarly()
SSTableWriteropenEarly in class SSTableWriterpublic SSTableReader openFinalEarly()
SSTableWriteropenFinalEarly in class SSTableWriterprotected SSTableWriter.TransactionalProxy txnProxy()
txnProxy in class SSTableWriterpublic long getFilePointer()
getFilePointer in class SSTableWriterpublic long getOnDiskFilePointer()
getOnDiskFilePointer in class SSTableWriterCopyright © 2018 The Apache Software Foundation