protected void addRollupToBatch(BatchStatement batch, Locator locator,
                                    Rollup rollup,
                                    long collectionTime,
                                    Granularity granularity,
                                    int ttl) {
        Statement statement = createStatement(locator, collectionTime, rollup, granularity, ttl);
        batch.add(statement);
    }
protected void addRollupToBatch(BatchStatement batch, Locator locator,
                                    Rollup rollup,
                                    long collectionTime,
                                    Granularity granularity,
                                    int ttl) {
        Statement statement = createStatement(locator, collectionTime, rollup, granularity, ttl);
        batch.add(statement);
    }
protected void addRollupToBatch ( BatchStatement batch , Locator locator , Rollup rollup , long collectionTime , Granularity granularity , int ttl ) { Statement statement = createStatement ( locator , collectionTime , rollup , granularity , ttl ) ; batch . add ( statement ) ; }
Add a {@link com.datastax.driver.core.PreparedStatement} statement to the
{@link com.datastax.driver.core.BatchStatement} to insert this Rollup
object to metrics_preaggregated_{granularity} column family

@param batch
@param locator
@param collectionTime
@param granularity
@param ttl
Add a { @link com . datastax . driver . core . PreparedStatement } statement to the { @link com . datastax . driver . core . BatchStatement } to insert this Rollup object to metrics_preaggregated_ { granularity } column family