public class OffheapIncrementalIndex extends IncrementalIndex<BufferAggregator>
IncrementalIndex.Builder, IncrementalIndex.DimensionDesc, IncrementalIndex.MetricDesc, IncrementalIndex.TimeAndDims| Modifier and Type | Field and Description | 
|---|---|
protected int | 
maxRowCount  | 
TYPE_MAP| Modifier and Type | Method and Description | 
|---|---|
protected Integer | 
addToFacts(AggregatorFactory[] metrics,
          boolean deserializeComplexMetrics,
          boolean reportParseExceptions,
          InputRow row,
          AtomicInteger numEntries,
          IncrementalIndex.TimeAndDims key,
          ThreadLocal<InputRow> rowContainer,
          com.google.common.base.Supplier<InputRow> rowSupplier,
          boolean skipMaxRowsInMemoryCheck)  | 
boolean | 
canAppendRow()  | 
void | 
close()
NOTE: This is NOT thread-safe with add... 
 | 
protected BufferAggregator[] | 
getAggsForRow(int rowOffset)  | 
protected Object | 
getAggVal(BufferAggregator agg,
         int rowOffset,
         int aggPosition)  | 
io.druid.segment.incremental.IncrementalIndex.FactsHolder | 
getFacts()  | 
int | 
getLastRowIndex()  | 
double | 
getMetricDoubleValue(int rowOffset,
                    int aggOffset)  | 
float | 
getMetricFloatValue(int rowOffset,
                   int aggOffset)  | 
long | 
getMetricLongValue(int rowOffset,
                  int aggOffset)  | 
Object | 
getMetricObjectValue(int rowOffset,
                    int aggOffset)  | 
String | 
getOutOfRowsReason()  | 
protected BufferAggregator[] | 
initAggs(AggregatorFactory[] metrics,
        com.google.common.base.Supplier<InputRow> rowSupplier,
        boolean deserializeComplexMetrics,
        boolean concurrentEventAdd)  | 
add, add, dimsComparator, formatRow, getAggs, getCapabilities, getColumnCapabilities, getDimension, getDimensionHandlers, getDimensionIndex, getDimensionNames, getDimensionOrder, getDimensions, getInterval, getMaxIngestedEventTime, getMaxTime, getMetadata, getMetricAggs, getMetricNames, getMetricType, getMinTime, isEmpty, isRollup, iterableWithPostAggregations, iterator, loadDimensionIterable, makeColumnSelectorFactory, makeColumnSelectorFactory, makeMetricColumnValueSelector, sizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic io.druid.segment.incremental.IncrementalIndex.FactsHolder getFacts()
getFacts in class IncrementalIndex<BufferAggregator>protected BufferAggregator[] initAggs(AggregatorFactory[] metrics, com.google.common.base.Supplier<InputRow> rowSupplier, boolean deserializeComplexMetrics, boolean concurrentEventAdd)
initAggs in class IncrementalIndex<BufferAggregator>protected Integer addToFacts(AggregatorFactory[] metrics, boolean deserializeComplexMetrics, boolean reportParseExceptions, InputRow row, AtomicInteger numEntries, IncrementalIndex.TimeAndDims key, ThreadLocal<InputRow> rowContainer, com.google.common.base.Supplier<InputRow> rowSupplier, boolean skipMaxRowsInMemoryCheck) throws IndexSizeExceededException
addToFacts in class IncrementalIndex<BufferAggregator>IndexSizeExceededExceptionpublic int getLastRowIndex()
getLastRowIndex in class IncrementalIndex<BufferAggregator>public boolean canAppendRow()
canAppendRow in class IncrementalIndex<BufferAggregator>public String getOutOfRowsReason()
getOutOfRowsReason in class IncrementalIndex<BufferAggregator>protected BufferAggregator[] getAggsForRow(int rowOffset)
getAggsForRow in class IncrementalIndex<BufferAggregator>protected Object getAggVal(BufferAggregator agg, int rowOffset, int aggPosition)
getAggVal in class IncrementalIndex<BufferAggregator>public float getMetricFloatValue(int rowOffset,
                                 int aggOffset)
getMetricFloatValue in class IncrementalIndex<BufferAggregator>public long getMetricLongValue(int rowOffset,
                               int aggOffset)
getMetricLongValue in class IncrementalIndex<BufferAggregator>public Object getMetricObjectValue(int rowOffset, int aggOffset)
getMetricObjectValue in class IncrementalIndex<BufferAggregator>public double getMetricDoubleValue(int rowOffset,
                                   int aggOffset)
getMetricDoubleValue in class IncrementalIndex<BufferAggregator>public void close()
close in interface Closeableclose in interface AutoCloseableclose in class IncrementalIndex<BufferAggregator>Copyright © 2011–2018. All rights reserved.