Package org.apache.druid.timeline
Annotation Type PruneLoadSpec
-
@Target({PARAMETER,FIELD}) @Retention(RUNTIME) public @interface PruneLoadSpec
This annnotation is used to inject a boolean parameter into aDataSegment
constructor, which prescribes to drop deserialized "loadSpec" and don't store it in a field of aDataSegment
. It's very useful on Brokers, because they store a lot of DataSegments in their heap, and loadSpec takes a lot of space, while it's not used on Brokers.