Codota Logo
Expression.updateAggregate
Code IndexAdd Codota to your IDE (free)

How to use
updateAggregate
method
in
org.h2.expression.Expression

Best Java code snippets using org.h2.expression.Expression.updateAggregate (Showing top 20 results out of 315)

  • Common ways to obtain Expression
private void myMethod () {
Expression e =
  • Codota IconValueExpression.getNull()
  • Codota IconColumn column;column.getDefaultExpression()
  • Codota IconTableFilter tableFilter;tableFilter.getJoinCondition()
  • Smart code suggestions by Codota
}
origin: com.h2database/h2

@Override
public void updateAggregate(Session session) {
  left.updateAggregate(session);
  right.updateAggregate(session);
  if (escape != null) {
    escape.updateAggregate(session);
  }
}
origin: com.h2database/h2

@Override
public void updateAggregate(Session session) {
  left.updateAggregate(session);
  if (right != null) {
    right.updateAggregate(session);
  }
}
origin: com.h2database/h2

@Override
public void updateAggregate(Session session) {
  left.updateAggregate(session);
  if (right != null) {
    right.updateAggregate(session);
  }
}
origin: com.h2database/h2

@Override
public void updateAggregate(Session session) {
  for (Expression e : list) {
    e.updateAggregate(session);
  }
}
origin: com.h2database/h2

@Override
public void updateAggregate(Session session) {
  for (Expression e : args) {
    if (e != null) {
      e.updateAggregate(session);
    }
  }
}
origin: com.h2database/h2

@Override
public void updateAggregate(Session session) {
  left.updateAggregate(session);
  for (Expression e : valueList) {
    e.updateAggregate(session);
  }
}
origin: com.h2database/h2

@Override
public void updateAggregate(Session session) {
  left.updateAggregate(session);
  right.updateAggregate(session);
}
origin: com.h2database/h2

@Override
public void updateAggregate(Session session) {
  for (Expression e : args) {
    if (e != null) {
      e.updateAggregate(session);
    }
  }
}
origin: com.h2database/h2

@Override
public void updateAggregate(Session s) {
  for (Expression e : expressions) {
    e.updateAggregate(s);
  }
  if (condition != null) {
    condition.updateAggregate(s);
  }
  if (having != null) {
    having.updateAggregate(s);
  }
}
origin: com.h2database/h2

@Override
public void updateAggregate(Session session) {
  left.updateAggregate(session);
}
origin: com.h2database/h2

@Override
public void updateAggregate(Session session) {
  left.updateAggregate(session);
}
origin: com.h2database/h2

@Override
public void updateAggregate(Session session) {
  condition.updateAggregate(session);
}
origin: com.h2database/h2

@Override
public void updateAggregate(Session session) {
  expr.updateAggregate(session);
}
origin: com.h2database/h2

@Override
public void updateAggregate(Session session) {
  left.updateAggregate(session);
  query.updateAggregate(session);
}
origin: com.h2database/h2

if (groupByExpression == null || !groupByExpression[i]) {
  Expression expr = expressions.get(i);
  expr.updateAggregate(getSession());
origin: com.h2database/h2

if (groupByExpression == null || !groupByExpression[i]) {
  Expression expr = expressions.get(i);
  expr.updateAggregate(session);
origin: com.h2database/com.springsource.org.h2

public void updateAggregate(Session session) throws SQLException {
  left.updateAggregate(session);
  if (right != null) {
    right.updateAggregate(session);
  }
}
origin: org.wowtools/h2

@Override
public void updateAggregate(Session s) {
  for (Expression e : expressions) {
    e.updateAggregate(s);
  }
  if (condition != null) {
    condition.updateAggregate(s);
  }
  if (having != null) {
    having.updateAggregate(s);
  }
}
origin: org.wowtools/h2

@Override
public void updateAggregate(Session session) {
  left.updateAggregate(session);
  if (right != null) {
    right.updateAggregate(session);
  }
}
origin: com.h2database/com.springsource.org.h2

public void updateAggregate(Session session) throws SQLException {
  left.updateAggregate(session);
  for (int i = 0; i < values.size(); i++) {
    Expression e = (Expression) values.get(i);
    e.updateAggregate(session);
  }
}
org.h2.expressionExpressionupdateAggregate

Javadoc

Update an aggregate value. This method is called at statement execution time. It is usually called once for each row, but if the expression is used multiple times (for example in the column list, and as part of the HAVING expression) it is called multiple times - the row counter needs to be used to make sure the internal state is only updated once.

Popular methods of Expression

  • getAlias
    Get the alias name of a column or SQL expression if it is not an aliased expression.
  • getDisplaySize
    Get the display size of this expression.
  • getNonAliasExpression
    Returns the main expression, skipping aliases.
  • getNotIfPossible
    If it is possible, return the negated expression. This is used to optimize NOT expressions: NOT ID>1
  • getPrecision
    Get the precision of this expression.
  • getScale
    Get the scale of this expression.
  • getType
    Return the data type. The data type may not be known before the optimization phase.
  • getValue
    Return the resulting value for the current row.
  • isConstant
    Check if this expression will always return the same value.
  • addFilterConditions
    Add conditions to a table filter if they can be evaluated.
  • createIndexConditions
    Create index conditions if possible and attach them to the table filter.
  • getBooleanValue
    Get the value in form of a boolean expression. Returns true or false. In this database, everything c
  • createIndexConditions,
  • getBooleanValue,
  • getColumnName,
  • getCost,
  • getNullable,
  • getSQL,
  • getSchemaName,
  • getTableAlias,
  • getTableName,
  • isAutoIncrement

Popular in Java

  • Start an intent from android
  • putExtra (Intent)
  • runOnUiThread (Activity)
  • getApplicationContext (Context)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • FileWriter (java.io)
    Convenience class for writing character files. The constructors of this class assume that the defaul
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registery of org.quartz
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now