@Component public class PuiElasticsearchViewsAnalysis extends Object
| Constructor and Description |
|---|
PuiElasticsearchViewsAnalysis() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getIndexableModels()
Get the list of indexable models in Elastic Serach
|
List<es.prodevelop.pui9.common.model.dto.interfaces.IPuiElasticsearchViews> |
getIndexableViews()
Get the list of indexable views in Elastic Serach
|
Set<String> |
getRelatedTables(String view)
Get the list of related tables for the given views
|
List<LinkedList<JoinTableDef>> |
getTableOrder(String table,
String view)
Get the list of ordered joins that the given table uses to participate in the
given view.
|
Set<String> |
getViews(String table)
Get all the views where the given table participates in any way (with from or
join)
|
public List<es.prodevelop.pui9.common.model.dto.interfaces.IPuiElasticsearchViews> getIndexableViews()
public List<String> getIndexableModels()
public List<LinkedList<JoinTableDef>> getTableOrder(String table, String view)
table - The table to retrieve the used joins to participate in the given
viewview - The view where to check the table participationpublic Set<String> getViews(String table)
table - The table to retrieve its views participationCopyright © 2020. All rights reserved.