CFRowAdder (apache-cassandra API)
Date: 2014-10-21

org.apache.cassandra.db

## Class CFRowAdder

- java.lang.Object
- - org.apache.cassandra.db.CFRowAdder

-     public class CFRowAdder
      extends java.lang.Object

  Convenience object to populate a given CQL3 row in a ColumnFamily object. This is meant for when performance is not of the utmost importance. When performance matters, it might be worth allocating such builder.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `ColumnFamily` | `cf`
    `Composite` | `prefix`
    `long` | `timestamp`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `CFRowAdder(ColumnFamily cf, Composite prefix, long timestamp)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `CFRowAdder` | `add(java.lang.String cql3ColumnName, java.lang.Object value)`
    `CFRowAdder` | `addListEntry(java.lang.String cql3ColumnName, java.lang.Object value)`
    `CFRowAdder` | `addMapEntry(java.lang.String cql3ColumnName, java.lang.Object key, java.lang.Object value)`
    `CFRowAdder` | `resetCollection(java.lang.String cql3ColumnName)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### cf

          public final ColumnFamily cf

    - #### prefix

          public final Composite prefix

    - #### timestamp

          public final long timestamp

  - ### Constructor Detail

    - #### CFRowAdder

          public CFRowAdder(ColumnFamily cf,
                    Composite prefix,
                    long timestamp)

  - ### Method Detail

    - #### add

          public CFRowAdder add(java.lang.String cql3ColumnName,
                       java.lang.Object value)

    - #### resetCollection

          public CFRowAdder resetCollection(java.lang.String cql3ColumnName)

    - #### addMapEntry

          public CFRowAdder addMapEntry(java.lang.String cql3ColumnName,
                               java.lang.Object key,
                               java.lang.Object value)

    - #### addListEntry

          public CFRowAdder addListEntry(java.lang.String cql3ColumnName,
                                java.lang.Object value)

Copyright © 2014 The Apache Software Foundation