Class AppendableIndexBuilder

    • Field Detail

      • deserializeComplexMetrics

        protected boolean deserializeComplexMetrics
      • concurrentEventAdd

        protected boolean concurrentEventAdd
      • sortFacts

        protected boolean sortFacts
      • maxRowCount

        protected int maxRowCount
      • maxBytesInMemory

        protected long maxBytesInMemory
      • preserveExistingMetrics

        protected boolean preserveExistingMetrics
      • useMaxMemoryEstimates

        protected boolean useMaxMemoryEstimates
      • log

        protected final Logger log
    • Constructor Detail

      • AppendableIndexBuilder

        public AppendableIndexBuilder()
    • Method Detail

      • setSimpleTestingIndexSchema

        public AppendableIndexBuilder setSimpleTestingIndexSchema​(AggregatorFactory... metrics)
        A helper method to set a simple index schema with only metrics and default values for the other parameters. Note that this method is normally used for testing and benchmarking; it is unlikely that you would use it in production settings.
        Parameters:
        metrics - variable array of AggregatorFactory metrics
        Returns:
        this
      • setSimpleTestingIndexSchema

        public AppendableIndexBuilder setSimpleTestingIndexSchema​(@Nullable
                                                                  Boolean rollup,
                                                                  @Nullable
                                                                  Boolean preserveExistingMetrics,
                                                                  AggregatorFactory... metrics)
        A helper method to set a simple index schema with controllable metrics and rollup, and default values for the other parameters. Note that this method is normally used for testing and benchmarking; it is unlikely that you would use it in production settings.
        Parameters:
        metrics - variable array of AggregatorFactory metrics
        Returns:
        this
      • setDeserializeComplexMetrics

        public AppendableIndexBuilder setDeserializeComplexMetrics​(boolean deserializeComplexMetrics)
      • setPreserveExistingMetrics

        public AppendableIndexBuilder setPreserveExistingMetrics​(boolean preserveExistingMetrics)
      • setUseMaxMemoryEstimates

        public AppendableIndexBuilder setUseMaxMemoryEstimates​(boolean useMaxMemoryEstimates)
      • validate

        public void validate()