Package | Description |
---|---|
io.druid.query.aggregation | |
io.druid.query.filter | |
io.druid.segment | |
io.druid.segment.column | |
io.druid.segment.data | |
io.druid.segment.historical | |
io.druid.segment.virtual |
Modifier and Type | Method and Description |
---|---|
void |
BufferAggregator.aggregate(ByteBuffer buf,
int position)
Aggregates metric values into the given aggregate byte representation
Implementations of this method must read in the aggregate value from the buffer at the given position,
aggregate the next element of data and write the updated aggregate value back into the buffer.
|
abstract void |
SimpleDoubleBufferAggregator.aggregate(ByteBuffer buf,
int position,
double value) |
abstract void |
SimpleFloatBufferAggregator.aggregate(ByteBuffer buf,
int position,
float value) |
void |
BufferAggregator.init(ByteBuffer buf,
int position)
Initializes the buffer location
Implementations of this method must initialize the byte buffer at the given position
Implementations must not change the position, limit or mark of the given buffer
This method must not exceed the number of bytes returned by
AggregatorFactory.getMaxIntermediateSize()
in the corresponding AggregatorFactory |
abstract void |
SimpleDoubleBufferAggregator.putFirst(ByteBuffer buf,
int position,
double value)
Faster equivalent to
aggregator.init(buf, position);
aggregator.aggregate(buf, position, value);
|
Modifier and Type | Method and Description |
---|---|
boolean |
ValueMatcher.matches() |
Modifier and Type | Method and Description |
---|---|
double |
BaseDoubleColumnValueSelector.getDouble() |
float |
BaseFloatColumnValueSelector.getFloat() |
long |
BaseLongColumnValueSelector.getLong() |
IndexedInts |
DimensionSelector.getRow()
Gets all values for the row inside of an IntBuffer.
|
String |
DimensionSelector.lookupName(int id)
The Name is the String name of the actual field.
|
Modifier and Type | Method and Description |
---|---|
double |
GenericColumn.getDoubleSingleValueRow(int rowNum) |
float |
GenericColumn.getFloatSingleValueRow(int rowNum) |
long |
GenericColumn.getLongSingleValueRow(int rowNum) |
Modifier and Type | Method and Description |
---|---|
int |
IndexedInts.get(int index) |
T |
Indexed.get(int index) |
int |
ReadableOffset.getOffset() |
abstract void |
Offset.increment() |
int |
IndexedInts.size() |
abstract boolean |
Offset.withinBounds() |
Modifier and Type | Method and Description |
---|---|
double |
HistoricalColumnSelector.getDouble(int offset) |
IndexedInts |
HistoricalDimensionSelector.getRow(int offset) |
int |
SingleValueHistoricalDimensionSelector.getRowValue(int offset) |
Modifier and Type | Method and Description |
---|---|
protected abstract String |
BaseSingleValueDimensionSelector.getValue() |
Copyright © 2011–2018. All rights reserved.