src/java/org/apache/cassandra/io/sstable/AbstractSSTableSimpleWriter.java
/**
     * Start a new row whose key is {@code key}.
     * @param key the row key
     */
Start a new row whose key is  key.
@param key the row key
Start a new row whose key is key . @param key the row key
public void newRow(ByteBuffer key) throws IOException
    {
        if (currentKey != null && !columnFamily.isEmpty())
            writeRow(currentKey, columnFamily);
        currentKey = StorageService.getPartitioner().decorateKey(key);
        columnFamily = getColumnFamily();
    }
public void newRow ( ByteBuffer key ) throws IOException { if ( currentKey != null && ! columnFamily . isEmpty ( ) ) writeRow ( currentKey , columnFamily ) ; currentKey = StorageService . getPartitioner ( ) . decorateKey ( key ) ; columnFamily = getColumnFamily ( ) ; }
Start a new row whose key is {@code key}.
Start a new row whose key is { @code key } .