Modifier and Type | Method and Description |
---|---|
default void |
DimensionValueLoader.updateDimensionWithValue(Dimension dimension,
DimensionRow dimensionRow)
Adds dimension row values to a dimension.
|
Modifier and Type | Method and Description |
---|---|
DimensionRow |
Result.getDimensionRow(DimensionColumn dimensionColumn)
Fetch a DimensionRow from dimensionValues based on the column provided.
|
Modifier and Type | Method and Description |
---|---|
Map<DimensionColumn,DimensionRow> |
Result.getDimensionRows()
The dimensions in the result row expressed as an unmodifiable map keyed by columns.
|
Constructor and Description |
---|
Result(Map<DimensionColumn,DimensionRow> dimensionRows,
Map<MetricColumn,Object> metricValues,
org.joda.time.DateTime timeStamp)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
DimensionRow |
Dimension.createEmptyDimensionRow(String keyFieldValue)
Create an empty DimensionRow for this dimension.
|
DimensionRow |
Dimension.findDimensionRowByKeyValue(String value)
Get a dimension row given an id.
|
DimensionRow |
Dimension.parseDimensionRow(Map<String,String> fieldNameValueMap)
Generate a DimensionRow for this dimension from a field name / value map.
|
Modifier and Type | Method and Description |
---|---|
TreeSet<DimensionRow> |
FilterDimensionRows.containsFilterOperation(TreeSet<DimensionRow> dimensionRows,
ApiFilter filter)
Contains filter operation.
|
default Set<DimensionRow> |
SearchProvider.findAllDimensionRows()
Deprecated.
Searching for dimension rows is moving to a paginated version
(
SearchProvider.findAllDimensionRowsPaged(com.yahoo.bard.webservice.web.util.PaginationParameters) ) in order to give greater control to the caller. |
Pagination<DimensionRow> |
SearchProvider.findAllDimensionRowsPaged(PaginationParameters paginationParameters)
Return the desired page of dimension rows.
|
TreeSet<DimensionRow> |
SearchProvider.findAllOrderedDimensionRows()
Getter for dimension rows in tree set for consistent order.
|
default TreeSet<DimensionRow> |
SearchProvider.findFilteredDimensionRows(Set<ApiFilter> filters)
Deprecated.
Searching for filtered dimension rows is moving to a paginated version
(
SearchProvider.findFilteredDimensionRowsPaged(java.util.Set<com.yahoo.bard.webservice.web.ApiFilter>, com.yahoo.bard.webservice.web.util.PaginationParameters) )
in order to give greater control to the caller. |
Pagination<DimensionRow> |
SearchProvider.findFilteredDimensionRowsPaged(Set<ApiFilter> filters,
PaginationParameters paginationParameters)
Return the desired page of dimension rows that match the specified filters.
|
TreeSet<DimensionRow> |
FilterDimensionRows.inFilterOperation(TreeSet<DimensionRow> dimensionRows,
ApiFilter filter)
In-filter operation.
|
TreeSet<DimensionRow> |
FilterDimensionRows.notinFilterOperation(TreeSet<DimensionRow> dimensionRows,
ApiFilter filter)
Notin-filter operation.
|
Set<DimensionRow> |
AvroDimensionRowParser.parseAvroFileDimensionRows(Dimension dimension,
String avroFilePath)
Parses the avro file and returns the dimension rows.
|
TreeSet<DimensionRow> |
FilterDimensionRows.startswithFilterOperation(TreeSet<DimensionRow> dimensionRows,
ApiFilter filter)
Startswith-filter operation.
|
Modifier and Type | Method and Description |
---|---|
void |
Dimension.addDimensionRow(DimensionRow dimensionRow)
Add a dimension row to the dimension's set of rows.
|
int |
DimensionRow.compareTo(DimensionRow that) |
void |
SearchProvider.refreshIndex(String rowId,
DimensionRow dimensionRow,
DimensionRow dimensionRowOld)
Method to add / update indexes.
|
Modifier and Type | Method and Description |
---|---|
void |
Dimension.addAllDimensionRows(Set<DimensionRow> dimensionRows)
Add all dimension rows to the dimension's set of rows.
|
TreeSet<DimensionRow> |
FilterDimensionRows.containsFilterOperation(TreeSet<DimensionRow> dimensionRows,
ApiFilter filter)
Contains filter operation.
|
TreeSet<DimensionRow> |
FilterDimensionRows.inFilterOperation(TreeSet<DimensionRow> dimensionRows,
ApiFilter filter)
In-filter operation.
|
TreeSet<DimensionRow> |
FilterDimensionRows.notinFilterOperation(TreeSet<DimensionRow> dimensionRows,
ApiFilter filter)
Notin-filter operation.
|
void |
AvroDimensionRowParser.parseAvroFileDimensionRows(Dimension dimension,
String avroFilePath,
Consumer<DimensionRow> consumer)
Parses the avro file and sends dimension rows to a consumer.
|
void |
SearchProvider.refreshIndex(Map<String,HashDataCache.Pair<DimensionRow,DimensionRow>> changedRows)
Method to add / update indexes.
|
void |
SearchProvider.refreshIndex(Map<String,HashDataCache.Pair<DimensionRow,DimensionRow>> changedRows)
Method to add / update indexes.
|
TreeSet<DimensionRow> |
FilterDimensionRows.startswithFilterOperation(TreeSet<DimensionRow> dimensionRows,
ApiFilter filter)
Startswith-filter operation.
|
Modifier and Type | Method and Description |
---|---|
DimensionRow |
KeyValueStoreDimension.createEmptyDimensionRow(String keyFieldValue) |
DimensionRow |
KeyValueStoreDimension.findDimensionRowByKeyValue(String value) |
DimensionRow |
ScanSearchProvider.findDimensionRowByKeyValue(String value)
Get a dimension row given an id.
|
DimensionRow |
KeyValueStoreDimension.parseDimensionRow(Map<String,String> fieldNameValueMap) |
Modifier and Type | Method and Description |
---|---|
void |
KeyValueStoreDimension.addDimensionRow(DimensionRow dimensionRow) |
void |
NoOpSearchProvider.refreshIndex(String rowId,
DimensionRow dimensionRow,
DimensionRow dimensionRowOld) |
void |
LuceneSearchProvider.refreshIndex(String rowId,
DimensionRow dimensionRow,
DimensionRow dimensionRowOld)
Refresh lucene index
|
void |
ScanSearchProvider.refreshIndex(String rowId,
DimensionRow dimensionRow,
DimensionRow dimensionRowOld) |
Constructor and Description |
---|
KeyValueStoreDimension(String dimensionName,
String description,
LinkedHashSet<DimensionField> dimensionFields,
KeyValueStore keyValueStore,
SearchProvider searchProvider,
Set<DimensionRow> dimensionRows)
Constructor.
|
KeyValueStoreDimension(String dimensionName,
String longName,
String category,
String description,
LinkedHashSet<DimensionField> dimensionFields,
KeyValueStore keyValueStore,
SearchProvider searchProvider,
Set<DimensionRow> dimensionRows)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Set<DimensionRow> |
ConjunctionDruidFilterBuilder.getFilteredDimensionRows(Dimension dimension,
Set<ApiFilter> filters)
Resolves a set of ApiFilters into a list of dimension rows that need to be filtered in Druid.
|
Modifier and Type | Method and Description |
---|---|
protected List<Filter> |
ConjunctionDruidFilterBuilder.buildSelectorFilters(Dimension dimension,
Set<DimensionRow> rows)
Builds a list of Druid selector or extraction filters.
|
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.