public abstract class AbstractQuery extends Object implements Query
Constructor and Description |
---|
AbstractQuery() |
Modifier and Type | Method and 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) |
AggregatesTableModel |
asTableModel() |
Query |
collapse() |
Query |
dice(Set<Object> valuesSets) |
CuboidQuery |
drillDown(Object... columns) |
Query |
drillUp() |
boolean |
isDirty() |
protected void |
notifyQueryChanged() |
Query |
on(Cuboid... cuboids) |
Query |
order(Aggregation... aggregations) |
Query |
pivot(Aggregation aggregation) |
Query |
pivot(Aggregation aggregation,
Object[] columns) |
void |
printResults(PrintStream out,
String caption,
boolean html) |
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 |
setDirty(boolean dirty) |
Query |
slice(Object value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAggregations, getCuboid, getDimensions, getGroups, getValue, setDice
public boolean isDirty()
public void setDirty(boolean dirty)
public CuboidQuery drillDown(Object... columns)
public Query pivot(Aggregation aggregation, Object[] columns)
public Query pivot(Aggregation aggregation)
public Query order(Aggregation... aggregations)
public AggregatesTableModel asTableModel()
asTableModel
in interface Query
public DataFrame asDataFrame(boolean includeIndex)
asDataFrame
in interface Query
public void printResults(PrintStream out, String caption, boolean html)
printResults
in interface Query
public void addQueryListener(QueryListener listener)
Query
addQueryListener
in interface Query
listener
- the QueryListenerpublic void addWeakQueryListener(QueryListener listener)
Query
addWeakQueryListener
in interface Query
listener
- the QueryListenerpublic void removeQueryListener(QueryListener listener)
Query
removeQueryListener
in interface Query
listener
- the QueryListenerpublic void removeQueryListeners()
Query
removeQueryListeners
in interface Query
protected void notifyQueryChanged()
Copyright © 2014 Macrofocus GmbH. All Rights Reserved.