Tabnine Logo
FloatMaxAggregatorFactory
Code IndexAdd Tabnine to your IDE (free)

How to use
FloatMaxAggregatorFactory
in
org.apache.druid.query.aggregation

Best Java code snippets using org.apache.druid.query.aggregation.FloatMaxAggregatorFactory (Showing top 12 results out of 315)

origin: apache/incubator-druid

@Override
public AggregatorFactory getCombiningFactory()
{
 return new FloatMaxAggregatorFactory(name, name, null, macroTable);
}
origin: apache/incubator-druid

@Override
protected BaseFloatColumnValueSelector selector(ColumnSelectorFactory metricFactory)
{
 return getFloatColumnSelector(
   metricFactory,
   Float.NEGATIVE_INFINITY
 );
}
origin: apache/incubator-druid

@Override
public List<AggregatorFactory> getRequiredColumns()
{
 return Collections.singletonList(new FloatMaxAggregatorFactory(fieldName, fieldName, expression, macroTable));
}
origin: org.apache.druid/druid-processing

@Override
protected BaseFloatColumnValueSelector selector(ColumnSelectorFactory metricFactory)
{
 return getFloatColumnSelector(
   metricFactory,
   Float.NEGATIVE_INFINITY
 );
}
origin: apache/incubator-druid

 private static AggregatorFactory createMaxAggregatorFactory(
   final ValueType aggregationType,
   final String name,
   final String fieldName,
   final String expression,
   final ExprMacroTable macroTable
 )
 {
  switch (aggregationType) {
   case LONG:
    return new LongMaxAggregatorFactory(name, fieldName, expression, macroTable);
   case FLOAT:
    return new FloatMaxAggregatorFactory(name, fieldName, expression, macroTable);
   case DOUBLE:
    return new DoubleMaxAggregatorFactory(name, fieldName, expression, macroTable);
   default:
    throw new ISE("Cannot create aggregator factory for type[%s]", aggregationType);
  }
 }
}
origin: apache/incubator-druid

QueryRunnerTestHelper.commonFloatAggregators,
Lists.newArrayList(
  new FloatMaxAggregatorFactory("maxIndex", "indexFloat"),
  new FloatMinAggregatorFactory("minIndex", "indexFloat")
origin: apache/incubator-druid

.setAggregatorSpecs(
  new FloatMinAggregatorFactory("a0", "m1"),
  new FloatMaxAggregatorFactory("a1", "m1")
origin: apache/incubator-druid

.setAggregatorSpecs(
  new FloatMinAggregatorFactory("a0", "m1"),
  new FloatMaxAggregatorFactory("a1", "m1")
origin: apache/incubator-druid

.aggregators(AGGS(
  new FloatMinAggregatorFactory("a0", "m1"),
  new FloatMaxAggregatorFactory("a1", "m1")
))
.postAggregators(
origin: org.apache.druid/druid-processing

@Override
public AggregatorFactory getCombiningFactory()
{
 return new FloatMaxAggregatorFactory(name, name, null, macroTable);
}
origin: org.apache.druid/druid-processing

@Override
public List<AggregatorFactory> getRequiredColumns()
{
 return Collections.singletonList(new FloatMaxAggregatorFactory(fieldName, fieldName, expression, macroTable));
}
origin: org.apache.druid/druid-sql

 private static AggregatorFactory createMaxAggregatorFactory(
   final ValueType aggregationType,
   final String name,
   final String fieldName,
   final String expression,
   final ExprMacroTable macroTable
 )
 {
  switch (aggregationType) {
   case LONG:
    return new LongMaxAggregatorFactory(name, fieldName, expression, macroTable);
   case FLOAT:
    return new FloatMaxAggregatorFactory(name, fieldName, expression, macroTable);
   case DOUBLE:
    return new DoubleMaxAggregatorFactory(name, fieldName, expression, macroTable);
   default:
    throw new ISE("Cannot create aggregator factory for type[%s]", aggregationType);
  }
 }
}
org.apache.druid.query.aggregationFloatMaxAggregatorFactory

Most used methods

  • <init>
  • getFloatColumnSelector

Popular in Java

  • Finding current android device location
  • setContentView (Activity)
  • onCreateOptionsMenu (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now