Package org.apache.avro.perf.test.basic
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
-
Field Summary
Fields inherited from class org.apache.avro.perf.test.BasicState
BATCH_SIZE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Avro uses Zig-Zag variable length encoding for numeric values.Methods inherited from class org.apache.avro.perf.test.BasicState
getBatchSize, getNullOutputStream, getRandom, newDecoder, newEncoder, newEncoder
-
Constructor Details
-
TestStateEncode
public TestStateEncode()
-
-
Method Details
-
doSetupTrial
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 dataException
-