CatalogOptions
class CatalogOptions(val maxPaths: Int = DEFAULT_MAX_PATHS, val maxDepth: Int = DEFAULT_MAX_DEPTH, val maxChildren: Int = DEFAULT_MAX_CHILDREN, val textBoundBytes: Int = DEFAULT_TEXT_BOUND_BYTES, val damagedSketches: DamagedSketchPolicy = DamagedSketchPolicy.REPORT)
Tuning for a SchemaCatalog.
A plain class with default arguments rather than a data class, for the reason StoreOptions is: copy and componentN would become part of the published ABI of a type whose whole purpose is to grow.
The cardinality estimator's precision is deliberately not here. It is a property of the sidecar format rather than a tuning knob — registers written at one precision cannot be merged with registers written at another — so it lives in SketchFormat with the rest of the permanent constants.
Constructors
Link copied to clipboard
constructor(maxPaths: Int = DEFAULT_MAX_PATHS, maxDepth: Int = DEFAULT_MAX_DEPTH, maxChildren: Int = DEFAULT_MAX_CHILDREN, textBoundBytes: Int = DEFAULT_TEXT_BOUND_BYTES, damagedSketches: DamagedSketchPolicy = DamagedSketchPolicy.REPORT)
Properties
Link copied to clipboard
What to do about a sidecar that will not decode. See DamagedSketchPolicy.
Link copied to clipboard
How many children of one object or array are visited. See maxDepth for why there is a bound.
Link copied to clipboard
Byte length at which a text bound is truncated.