CQLSSTableWriter.@Deprecated public class SSTableSimpleWriter extends AbstractSSTableSimpleWriter
AbstractSSTableSimpleWritercolumnFamily, counterid, currentKey, currentSuperColumn, directory, generation, metadata| Constructor and Description |
|---|
SSTableSimpleWriter(java.io.File directory,
CFMetaData metadata,
IPartitioner partitioner)
Deprecated.
|
SSTableSimpleWriter(java.io.File directory,
IPartitioner partitioner,
java.lang.String keyspace,
java.lang.String columnFamily,
AbstractType<?> comparator,
AbstractType<?> subComparator)
Deprecated.
Create a new writer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Deprecated.
|
protected ColumnFamily |
getColumnFamily()
Deprecated.
|
Descriptor |
getCurrentDescriptor()
Deprecated.
|
protected void |
writeRow(DecoratedKey key,
ColumnFamily columnFamily)
Deprecated.
|
addColumn, addColumn, addCounterColumn, addExpiringColumn, createDescriptor, getWriter, newRow, newSuperColumn, setSSTableFormatTypepublic SSTableSimpleWriter(java.io.File directory,
IPartitioner partitioner,
java.lang.String keyspace,
java.lang.String columnFamily,
AbstractType<?> comparator,
AbstractType<?> subComparator)
directory - the directory where to write the sstablepartitioner - the partitionerkeyspace - the keyspace namecolumnFamily - the column family namecomparator - the column family comparatorsubComparator - the column family subComparator or null if not a Super column family.public SSTableSimpleWriter(java.io.File directory,
CFMetaData metadata,
IPartitioner partitioner)
public void close()
protected void writeRow(DecoratedKey key, ColumnFamily columnFamily)
writeRow in class AbstractSSTableSimpleWriterprotected ColumnFamily getColumnFamily()
getColumnFamily in class AbstractSSTableSimpleWriterpublic Descriptor getCurrentDescriptor()
getCurrentDescriptor in class AbstractSSTableSimpleWriterCopyright © 2018 The Apache Software Foundation