Class LongTest.TestStateEncode

java.lang.Object
org.apache.avro.perf.test.BasicState
org.apache.avro.perf.test.basic.LongTest.TestStateEncode
Direct Known Subclasses:
LongTest_TestStateEncode_jmhType_B1
Enclosing class:
LongTest

public static class LongTest.TestStateEncode extends BasicState
  • Constructor Details

    • TestStateEncode

      public TestStateEncode()
  • Method Details

    • doSetupTrial

      public void doSetupTrial() throws Exception
      Avro uses Zig-Zag variable length encoding for numeric values. Ensure there are some int of each possible size.
      Throws:
      IOException - Could not setup test data
      Exception