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

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

Best Java code snippets using org.h2.expression.Expression.addFilterConditions (Showing top 9 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 addFilterConditions(TableFilter filter, boolean outerJoin) {
  if (andOrType == AND) {
    left.addFilterConditions(filter, outerJoin);
    right.addFilterConditions(filter, outerJoin);
  } else {
    super.addFilterConditions(filter, outerJoin);
  }
}
origin: com.h2database/h2

/**
 * Optimize the full condition. This will add the full condition to the
 * filter condition.
 *
 * @param fromOuterJoin if this method was called from an outer joined table
 */
void optimizeFullCondition(boolean fromOuterJoin) {
  if (fullCondition != null) {
    fullCondition.addFilterConditions(this, fromOuterJoin || joinOuter);
    if (nestedJoin != null) {
      nestedJoin.optimizeFullCondition(fromOuterJoin || joinOuter);
    }
    if (join != null) {
      join.optimizeFullCondition(fromOuterJoin || joinOuter);
    }
  }
}
origin: com.h2database/h2

@Override
public void prepare() {
  onCondition.addFilterConditions(sourceTableFilter, true);
  onCondition.addFilterConditions(targetTableFilter, true);
  targetMatchCondition.addFilterConditions(sourceTableFilter, true);
  targetMatchCondition.mapColumns(sourceTableFilter, 2);
  targetMatchCondition = targetMatchCondition.optimize(session);
origin: com.eventsourcing/h2

@Override
public void addFilterConditions(TableFilter filter, boolean outerJoin) {
  if (andOrType == AND) {
    left.addFilterConditions(filter, outerJoin);
    right.addFilterConditions(filter, outerJoin);
  } else {
    super.addFilterConditions(filter, outerJoin);
  }
}
origin: com.h2database/com.springsource.org.h2

public void addFilterConditions(TableFilter filter, boolean outerJoin) {
  if (andOrType == AND) {
    left.addFilterConditions(filter, outerJoin);
    right.addFilterConditions(filter, outerJoin);
  } else {
    super.addFilterConditions(filter, outerJoin);
  }
}
origin: org.wowtools/h2

@Override
public void addFilterConditions(TableFilter filter, boolean outerJoin) {
  if (andOrType == AND) {
    left.addFilterConditions(filter, outerJoin);
    right.addFilterConditions(filter, outerJoin);
  } else {
    super.addFilterConditions(filter, outerJoin);
  }
}
origin: com.h2database/com.springsource.org.h2

public void optimizeFullCondition(boolean fromOuterJoin) {
  if (fullCondition != null) {
    fullCondition.addFilterConditions(this, fromOuterJoin || outerJoin);
    if (join != null) {
      join.optimizeFullCondition(fromOuterJoin || outerJoin);
    }
  }
}
origin: org.wowtools/h2

/**
 * Optimize the full condition. This will add the full condition to the
 * filter condition.
 *
 * @param fromOuterJoin if this method was called from an outer joined table
 */
void optimizeFullCondition(boolean fromOuterJoin) {
  if (fullCondition != null) {
    fullCondition.addFilterConditions(this, fromOuterJoin || joinOuter);
    if (nestedJoin != null) {
      nestedJoin.optimizeFullCondition(fromOuterJoin || joinOuter);
    }
    if (join != null) {
      join.optimizeFullCondition(fromOuterJoin || joinOuter);
    }
  }
}
origin: com.eventsourcing/h2

/**
 * Optimize the full condition. This will add the full condition to the
 * filter condition.
 *
 * @param fromOuterJoin if this method was called from an outer joined table
 */
void optimizeFullCondition(boolean fromOuterJoin) {
  if (fullCondition != null) {
    fullCondition.addFilterConditions(this, fromOuterJoin || joinOuter);
    if (nestedJoin != null) {
      nestedJoin.optimizeFullCondition(fromOuterJoin || joinOuter);
    }
    if (join != null) {
      join.optimizeFullCondition(fromOuterJoin || joinOuter);
    }
  }
}
org.h2.expressionExpressionaddFilterConditions

Javadoc

Add conditions to a table filter if they can be evaluated.

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.
  • 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
  • getColumnName
    Get the column name or alias name of this expression.
  • getBooleanValue,
  • getColumnName,
  • getCost,
  • getNullable,
  • getSQL,
  • getSchemaName,
  • getTableAlias,
  • getTableName,
  • isAutoIncrement

Popular in Java

  • Finding current android device location
  • scheduleAtFixedRate (Timer)
  • notifyDataSetChanged (ArrayAdapter)
  • requestLocationUpdates (LocationManager)
  • Iterator (java.util)
    An iterator over a collection. Iterator takes the place of Enumeration in the Java Collections Frame
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Join (org.hibernate.mapping)
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • 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