CrankyCodec

class CrankyCodec(delegate: Codec, val random: Random) : FilterCodec

Codec for testing that throws random IOExceptions

Constructors

Link copied to clipboard
constructor(delegate: Codec, random: Random)

Properties

Link copied to clipboard
open override val name: String
Link copied to clipboard

Functions

Link copied to clipboard
open override fun compoundFormat(): CompoundFormat
Link copied to clipboard
open override fun docValuesFormat(): DocValuesFormat

Wrap the provided codec with crankiness. Try passing Asserting for the most fun.

Link copied to clipboard
open override fun fieldInfosFormat(): FieldInfosFormat
Link copied to clipboard
open override fun knnVectorsFormat(): KnnVectorsFormat
Link copied to clipboard
open override fun liveDocsFormat(): LiveDocsFormat
Link copied to clipboard
open override fun normsFormat(): NormsFormat
Link copied to clipboard
open override fun pointsFormat(): PointsFormat
Link copied to clipboard
open override fun postingsFormat(): PostingsFormat
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String