public class OffheapIncrementalIndex extends IncrementalIndex<BufferAggregator>
IncrementalIndex.Builder, IncrementalIndex.DimensionDesc, IncrementalIndex.MetricDesc| Modifier and Type | Field and Description |
|---|---|
protected int |
maxRowCount |
TYPE_MAP| Modifier and Type | Method and Description |
|---|---|
protected org.apache.druid.segment.incremental.IncrementalIndex.AddToFactsResult |
addToFacts(InputRow row,
IncrementalIndexRow 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) |
org.apache.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) |
boolean |
isNull(int rowOffset,
int aggOffset) |
add, add, dimsComparator, formatRow, getAggs, getBytesInMemory, getCapabilities, getColumnCapabilities, getColumnNames, getCombinedParseException, getDimension, getDimensionIndex, getDimensionNames, getDimensionOrder, getDimensions, getInterval, getMaxIngestedEventTime, getMaxTime, getMetadata, getMetricAggs, getMetricNames, getMetricType, getMinTime, isEmpty, isRollup, iterableWithPostAggregations, iterator, loadDimensionIterable, makeColumnSelectorFactory, makeColumnSelectorFactory, makeMetricColumnValueSelector, size, toStorageAdaptertoStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic org.apache.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 org.apache.druid.segment.incremental.IncrementalIndex.AddToFactsResult addToFacts(InputRow row, IncrementalIndexRow 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 boolean isNull(int rowOffset,
int aggOffset)
isNull in class IncrementalIndex<BufferAggregator>public void close()
close in interface Closeableclose in interface AutoCloseableclose in class IncrementalIndex<BufferAggregator>Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.