public class AsyncAggExecutionNode extends ProjectionNode
Steps: 1. identify agg and nonagg columns of a given select agg query. 2. convert the query into multiple block-agg queries. 3. issue those block-agg queries one by one. 4. combine the results of those block-agg queries as the answers to those queries arrive. 5. depending on the interface, call an appropriate result handler.
selectQuery| Modifier and Type | Method and Description |
|---|---|
HashMap<List<Integer>,Double> |
calculateScaleFactor(List<HyperTableCube> cubes)
Currently, assume block size is uniform
|
static AsyncAggExecutionNode |
create(IdCreator idCreator,
List<ExecutableNodeBase> individualAggs,
List<ExecutableNodeBase> combiners,
ScrambleMetaSet meta) |
SqlConvertible |
createQuery(List<ExecutionInfoToken> tokens)
Creates a query that should be run.
|
ExecutionInfoToken |
createToken(DbmsQueryResult result) |
ExecutableNodeBase |
deepcopy() |
ScrambleMetaSet |
getScrambleMeta() |
void |
setScrambleMeta(ScrambleMetaSet meta) |
createaddPartitionColumn, getNamer, setNamercopyFields, createPlaceHolderTable, getPlaceholderTables, getPlaceholderTablesinFiltercopyFields, equals, getSelectQuery, setSelectQuerycancelSubscriptionsFromAllSubscribers, cancelSubscriptionTo, copyFields, create, createSubscriptionTicket, getAggMeta, getChannelForSource, getDependentNodeCount, getExecutableNodeBaseDependent, getExecutableNodeBaseDependents, getExecutableNodeBaseParents, getGroupId, getMethodsToInvokeOnConnection, getNotified, getSourceQueues, getSources, getSourcesAndChannels, getSubscribers, hashCode, print, registerSubscriber, setAggMeta, subscribeTo, subscribeTo, toStringpublic static AsyncAggExecutionNode create(IdCreator idCreator, List<ExecutableNodeBase> individualAggs, List<ExecutableNodeBase> combiners, ScrambleMetaSet meta) throws VerdictDBValueException
VerdictDBValueExceptionpublic SqlConvertible createQuery(List<ExecutionInfoToken> tokens) throws VerdictDBException
ExecutableNodecreateQuery in interface ExecutableNodecreateQuery in class ProjectionNodeVerdictDBExceptionpublic ExecutionInfoToken createToken(DbmsQueryResult result)
createToken in interface ExecutableNodecreateToken in class ProjectionNodepublic ExecutableNodeBase deepcopy()
deepcopy in class ProjectionNodepublic ScrambleMetaSet getScrambleMeta()
public void setScrambleMeta(ScrambleMetaSet meta)
Copyright © 2018 University of Michigan. All rights reserved.