Codota Logo
WithScope.<init>
Code IndexAdd Codota to your IDE (free)

How to use
org.apache.calcite.sql.validate.WithScope
constructor

Best Java code snippets using org.apache.calcite.sql.validate.WithScope.<init> (Showing top 3 results out of 315)

  • Common ways to obtain WithScope
private void myMethod () {
WithScope w =
  • Codota IconSqlValidatorScope parent;SqlWithItem withItem;new WithScope(parent, withItem)
  • Smart code suggestions by Codota
}
origin: apache/flink

private void registerWith(
  SqlValidatorScope parentScope,
  SqlValidatorScope usingScope,
  SqlWith with,
  SqlNode enclosingNode,
  String alias,
  boolean forceNullable,
  boolean checkUpdate) {
  final WithNamespace withNamespace =
    new WithNamespace(this, with, enclosingNode);
  registerNamespace(usingScope, alias, withNamespace, forceNullable);
  SqlValidatorScope scope = parentScope;
  for (SqlNode withItem_ : with.withList) {
    final SqlWithItem withItem = (SqlWithItem) withItem_;
    final WithScope withScope = new WithScope(scope, withItem);
    scopes.put(withItem, withScope);
    registerQuery(scope, null, withItem.query, with,
      withItem.name.getSimple(), false);
    registerNamespace(null, alias,
      new WithItemNamespace(this, withItem, enclosingNode),
      false);
    scope = withScope;
  }
  registerQuery(scope, null, with.body, enclosingNode, alias, forceNullable,
    checkUpdate);
}
origin: Qihoo360/Quicksql

private void registerWith(
  SqlValidatorScope parentScope,
  SqlValidatorScope usingScope,
  SqlWith with,
  SqlNode enclosingNode,
  String alias,
  boolean forceNullable,
  boolean checkUpdate) {
 final WithNamespace withNamespace =
   new WithNamespace(this, with, enclosingNode);
 registerNamespace(usingScope, alias, withNamespace, forceNullable);
 SqlValidatorScope scope = parentScope;
 for (SqlNode withItem_ : with.withList) {
  final SqlWithItem withItem = (SqlWithItem) withItem_;
  final WithScope withScope = new WithScope(scope, withItem);
  scopes.put(withItem, withScope);
  registerQuery(scope, null, withItem.query, with,
    withItem.name.getSimple(), false);
  registerNamespace(null, alias,
    new WithItemNamespace(this, withItem, enclosingNode),
    false);
  scope = withScope;
 }
 registerQuery(scope, null, with.body, enclosingNode, alias, forceNullable,
   checkUpdate);
}
origin: org.apache.calcite/calcite-core

private void registerWith(
  SqlValidatorScope parentScope,
  SqlValidatorScope usingScope,
  SqlWith with,
  SqlNode enclosingNode,
  String alias,
  boolean forceNullable,
  boolean checkUpdate) {
 final WithNamespace withNamespace =
   new WithNamespace(this, with, enclosingNode);
 registerNamespace(usingScope, alias, withNamespace, forceNullable);
 SqlValidatorScope scope = parentScope;
 for (SqlNode withItem_ : with.withList) {
  final SqlWithItem withItem = (SqlWithItem) withItem_;
  final WithScope withScope = new WithScope(scope, withItem);
  scopes.put(withItem, withScope);
  registerQuery(scope, null, withItem.query, with,
    withItem.name.getSimple(), false);
  registerNamespace(null, alias,
    new WithItemNamespace(this, withItem, enclosingNode),
    false);
  scope = withScope;
 }
 registerQuery(scope, null, with.body, enclosingNode, alias, forceNullable,
   checkUpdate);
}
org.apache.calcite.sql.validateWithScope<init>

Javadoc

Creates a WithScope.

Popular methods of WithScope

    Popular in Java

    • Finding current android device location
    • putExtra (Intent)
    • startActivity (Activity)
    • onRequestPermissionsResult (Fragment)
    • Point (java.awt)
      A point representing a location in (x, y) coordinate space, specified in integer precision.
    • Kernel (java.awt.image)
    • IOException (java.io)
      Signals that an I/O exception of some sort has occurred. This class is the general class of exceptio
    • Collections (java.util)
      This class consists exclusively of static methods that operate on or return collections. It contains
    • Executor (java.util.concurrent)
      An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
    • Join (org.hibernate.mapping)
    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