Package com.twitter.elephanttwin.gen

Examples of com.twitter.elephanttwin.gen.ExciteLog


      writer  =  new LzoBinaryBlockRecordWriter<ExciteLog, ThriftWritable<ExciteLog>>(new ThriftBlockWriter<ExciteLog>(os, ExciteLog.class, 10));

    ThriftWritable<ExciteLog> thriftWritable = ThriftWritable.newInstance(ExciteLog.class);
    for (int i = 0; i < repeatTimes; i++)
      for (int j = 0; j < uids.length; j++) {
        ExciteLog ExciteLog = new ExciteLog();
        ExciteLog.setUid(uids[j]);
        thriftWritable.set(ExciteLog);
        writer.write(null, thriftWritable);
      }

    writer.close(null);
View Full Code Here

TOP

Related Classes of com.twitter.elephanttwin.gen.ExciteLog

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.