congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
CalciteResource.extendNotAllowed
Code IndexAdd Tabnine to your IDE (free)

How to use
extendNotAllowed
method
in
org.apache.calcite.runtime.CalciteResource

Best Java code snippets using org.apache.calcite.runtime.CalciteResource.extendNotAllowed (Showing top 9 results out of 315)

origin: apache/storm

/**
 * Parses a compound identifier with optional type.
 */
 final public void CompoundIdentifierType(List<SqlNode> list, List<SqlNode> extendList) throws ParseException {
  final SqlIdentifier name;
  SqlDataTypeSpec type = null;
  boolean nullable = true;
  name = CompoundIdentifier();
  if (jj_2_154(2)) {
   type = DataType();
      if (!this.conformance.allowExtend()) {
        {if (true) throw new ParseException(RESOURCE.extendNotAllowed().str());}
      }
   if (jj_2_153(2)) {
    jj_consume_token(NOT);
    jj_consume_token(NULL);
        nullable = false;
   } else {
    ;
   }
  } else {
   ;
  }
    if (type != null) {
      extendList.add(name);
      extendList.add(type.withNullable(nullable));
    }
    list.add(name);
 }

origin: apache/storm

/**
 * Parses a compound identifier with optional type.
 */
 final public void CompoundIdentifierType(List<SqlNode> list, List<SqlNode> extendList) throws ParseException {
  final SqlIdentifier name;
  SqlDataTypeSpec type = null;
  boolean nullable = true;
  name = CompoundIdentifier();
  if (jj_2_154(2)) {
   type = DataType();
      if (!this.conformance.allowExtend()) {
        {if (true) throw new ParseException(RESOURCE.extendNotAllowed().str());}
      }
   if (jj_2_153(2)) {
    jj_consume_token(NOT);
    jj_consume_token(NULL);
        nullable = false;
   } else {
    ;
   }
  } else {
   ;
  }
    if (type != null) {
      extendList.add(name);
      extendList.add(type.withNullable(nullable));
    }
    list.add(name);
 }

origin: uber/AthenaX

/**
 * Parses a compound identifier with optional type.
 */
 final public void CompoundIdentifierType(List<SqlNode> list, List<SqlNode> extendList) throws ParseException {final SqlIdentifier name;
  SqlDataTypeSpec type = null;
  boolean nullable = true;
  name = CompoundIdentifier();
  if (jj_2_156(2)) {
   type = DataType();
if (!this.conformance.allowExtend()) {
        {if (true) throw new ParseException(RESOURCE.extendNotAllowed().str());}
      }
   if (jj_2_155(2)) {
    jj_consume_token(NOT);
    jj_consume_token(NULL);
nullable = false;
   } else {
    ;
   }
  } else {
   ;
  }
if (type != null) {
      extendList.add(name);
      extendList.add(type.withNullable(nullable));
    }
    list.add(name);
}

origin: Qihoo360/Quicksql

/**
 * Parses a compound identifier with optional type.
 */
 final public void CompoundIdentifierType(List<SqlNode> list, List<SqlNode> extendList) throws ParseException {
  final SqlIdentifier name;
  SqlDataTypeSpec type = null;
  boolean nullable = true;
  name = CompoundIdentifier();
  if (jj_2_159(2)) {
   type = DataType();
      if (!this.conformance.allowExtend()) {
        {if (true) throw new ParseException(RESOURCE.extendNotAllowed().str());}
      }
   if (jj_2_158(2)) {
    jj_consume_token(NOT);
    jj_consume_token(NULL);
        nullable = false;
   } else {
    ;
   }
  } else {
   ;
  }
    if (type != null) {
      extendList.add(name);
      extendList.add(type.withNullable(nullable));
    }
    list.add(name);
 }

origin: dremio/dremio-oss

/**
 * Parses a compound identifier with optional type.
 */
 final public void CompoundIdentifierType(List<SqlNode> list, List<SqlNode> extendList) throws ParseException {
  final SqlIdentifier name;
  SqlDataTypeSpec type = null;
  boolean nullable = true;
  name = CompoundIdentifier();
  if (jj_2_284(2)) {
   type = DataType();
      if (!this.conformance.allowExtend()) {
        {if (true) throw new ParseException(RESOURCE.extendNotAllowed().str());}
      }
   if (jj_2_283(2)) {
    jj_consume_token(NOT);
    jj_consume_token(NULL);
        nullable = false;
   } else {
    ;
   }
  } else {
   ;
  }
    if (type != null) {
      extendList.add(name);
      extendList.add(type.withNullable(nullable));
    }
    list.add(name);
 }

origin: com.alibaba.blink/flink-sql-parser

/**
 * Parses a compound identifier with optional type.
 */
 final public void CompoundIdentifierType(List<SqlNode> list, List<SqlNode> extendList) throws ParseException {
  final SqlIdentifier name;
  SqlDataTypeSpec type = null;
  boolean nullable = true;
  name = CompoundIdentifier();
  if (jj_2_190(2)) {
   type = DataType();
      if (!this.conformance.allowExtend()) {
        {if (true) throw new ParseException(RESOURCE.extendNotAllowed().str());}
      }
   if (jj_2_189(2)) {
    jj_consume_token(NOT);
    jj_consume_token(NULL);
        nullable = false;
   } else {
    ;
   }
  } else {
   ;
  }
    if (type != null) {
      extendList.add(name);
      extendList.add(type.withNullable(nullable));
    }
    list.add(name);
 }

origin: org.apache.calcite/calcite-core

/**
 * Parses a compound identifier with optional type.
 */
 final public void CompoundIdentifierType(List<SqlNode> list, List<SqlNode> extendList) throws ParseException {
  final SqlIdentifier name;
  SqlDataTypeSpec type = null;
  boolean nullable = true;
  name = CompoundIdentifier();
  if (jj_2_147(2)) {
   type = DataType();
      if (!this.conformance.allowExtend()) {
        {if (true) throw new ParseException(RESOURCE.extendNotAllowed().str());}
      }
   if (jj_2_146(2)) {
    jj_consume_token(NOT);
    jj_consume_token(NULL);
        nullable = false;
   } else {
    ;
   }
  } else {
   ;
  }
    if (type != null) {
      extendList.add(name);
      extendList.add(type.withNullable(nullable));
    }
    list.add(name);
 }

origin: org.apache.drill.exec/drill-java-exec

/**
 * Parses a compound identifier with optional type.
 */
 final public void CompoundIdentifierType(List<SqlNode> list, List<SqlNode> extendList) throws ParseException {
  final SqlIdentifier name;
  SqlDataTypeSpec type = null;
  boolean nullable = true;
  name = CompoundIdentifier();
  if (jj_2_189(2)) {
   type = DataType();
      if (!this.conformance.allowExtend()) {
        {if (true) throw new ParseException(RESOURCE.extendNotAllowed().str());}
      }
   if (jj_2_188(2)) {
    jj_consume_token(NOT);
    jj_consume_token(NULL);
        nullable = false;
   } else {
    ;
   }
  } else {
   ;
  }
    if (type != null) {
      extendList.add(name);
      extendList.add(type.withNullable(nullable));
    }
    list.add(name);
 }

origin: org.apache.calcite/calcite-core

/**
 * Parses a compound identifier with optional type.
 */
 final public void CompoundIdentifierType(List<SqlNode> list, List<SqlNode> extendList) throws ParseException {
  final SqlIdentifier name;
  SqlDataTypeSpec type = null;
  boolean nullable = true;
  name = CompoundIdentifier();
  if (jj_2_150(2)) {
   type = DataType();
      if (!this.conformance.allowExtend()) {
        {if (true) throw new ParseException(RESOURCE.extendNotAllowed().str());}
      }
   if (jj_2_149(2)) {
    jj_consume_token(NOT);
    jj_consume_token(NULL);
        nullable = false;
   } else {
    ;
   }
  } else {
   ;
  }
    if (type != null) {
      extendList.add(name);
      extendList.add(type.withNullable(nullable));
    }
    list.add(name);
 }

org.apache.calcite.runtimeCalciteResourceextendNotAllowed

Popular methods of CalciteResource

  • applyNotAllowed
  • bangEqualNotAllowed
  • identifierTooLong
  • illegalBinaryString
  • illegalCursorExpression
  • illegalFromEmpty
  • illegalMinusDate
  • illegalNonQueryExpression
  • illegalOrderBy
  • illegalQueryExpression
  • illegalRowExpression
  • invalidSampleSize
  • illegalRowExpression,
  • invalidSampleSize,
  • minusNotAllowed,
  • unicodeEscapeUnexpected,
  • unknownCharacterSet,
  • geometryDisabled,
  • limitStartCountNotAllowed,
  • percentRemainderNotAllowed,
  • illegalIntervalLiteral

Popular in Java

  • Reading from database using SQL prepared statement
  • compareTo (BigDecimal)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • setRequestProperty (URLConnection)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Top plugins for WebStorm
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