optimizer
Class OperatorSelector

java.lang.Object
  extended by optimizer.OperatorSelector

public class OperatorSelector
extends java.lang.Object

An object of OperatorSelector will partition the FelixQuery into different StatOperators. Current version does not rely on the cost model, however, we may need to do that in the future.

Author:
Ce

Field Summary
(package private)  CostModel cm
          Cost model used to partition operators.
(package private)  FelixQuery fq
          FelixQuery which will be partitioned.
(package private)  parser.CommandOptions options
          Command line options.
 
Constructor Summary
OperatorSelector(FelixQuery _fq, CostModel _cm, parser.CommandOptions _options)
          The constructor.
 
Method Summary
 java.util.HashSet<StatOperator> getOperators()
          Get partitioned operators.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cm

CostModel cm
Cost model used to partition operators.


fq

FelixQuery fq
FelixQuery which will be partitioned.


options

parser.CommandOptions options
Command line options.

Constructor Detail

OperatorSelector

public OperatorSelector(FelixQuery _fq,
                        CostModel _cm,
                        parser.CommandOptions _options)
The constructor.

Parameters:
_fq -
_cm -
_options -
Method Detail

getOperators

public java.util.HashSet<StatOperator> getOperators()
Get partitioned operators.

Returns: