Interface Query
-
- All Known Implementing Classes:
AbstractQuery
,CuboidQuery
,CuboidsQuery
,OrderQuery
,PivotQuery
public interface Query
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addQueryListener(QueryListener listener)
Add a listener to the list that's notified each time a change to the query occurs.void
addWeakQueryListener(QueryListener listener)
Add a listener to the list that's notified each time a change to the query occurs.DataFrame
asDataFrame(boolean includeIndex)
Query
collapse()
Query
dice(java.util.Set<java.lang.Object> valuesSets)
Query
drillDown(java.lang.Object... columns)
Query
drillUp()
Aggregation[]
getAggregations()
Cuboid
getCuboid()
Dimensions
getDimensions()
java.util.List<Group>
getGroups()
java.lang.Object
getValue(Group path, Aggregation aggregation)
Query
on(Cuboid... cuboids)
Query
order(Aggregation... aggregations)
Query
pivot(Aggregation aggregation)
Query
pivot(Aggregation aggregation, java.lang.Object[] values)
void
removeQueryListener(QueryListener listener)
Remove a listener to the list that's notified each time a change to the query occurs.void
removeQueryListeners()
Remove all listeners to the list that's notified each time a change to the query occurs.void
setDice(java.util.Set<java.lang.Object> valuesSets)
Query
slice(java.lang.Object value)
-
-
-
Method Detail
-
getValue
java.lang.Object getValue(Group path, Aggregation aggregation)
-
getDimensions
Dimensions getDimensions()
-
getAggregations
Aggregation[] getAggregations()
-
getGroups
java.util.List<Group> getGroups()
-
drillDown
Query drillDown(java.lang.Object... columns)
-
drillUp
Query drillUp()
-
slice
Query slice(java.lang.Object value)
-
dice
Query dice(java.util.Set<java.lang.Object> valuesSets)
-
pivot
Query pivot(Aggregation aggregation, java.lang.Object[] values)
-
pivot
Query pivot(Aggregation aggregation)
-
collapse
Query collapse()
-
order
Query order(Aggregation... aggregations)
-
getCuboid
Cuboid getCuboid()
-
setDice
void setDice(java.util.Set<java.lang.Object> valuesSets)
-
asDataFrame
DataFrame asDataFrame(boolean includeIndex)
-
addQueryListener
void addQueryListener(QueryListener listener)
Add a listener to the list that's notified each time a change to the query occurs.- Parameters:
listener
- the QueryListener
-
addWeakQueryListener
void addWeakQueryListener(QueryListener listener)
Add a listener to the list that's notified each time a change to the query occurs. The listener will automatically be disposed of should no other object have a reference to it.- Parameters:
listener
- the QueryListener
-
removeQueryListener
void removeQueryListener(QueryListener listener)
Remove a listener to the list that's notified each time a change to the query occurs.- Parameters:
listener
- the QueryListener
-
removeQueryListeners
void removeQueryListeners()
Remove all listeners to the list that's notified each time a change to the query occurs.
-
-