Class ExternalDestinationSqlIdentifier

java.lang.Object
org.apache.calcite.sql.SqlNode
org.apache.calcite.sql.SqlIdentifier
org.apache.druid.sql.calcite.parser.ExternalDestinationSqlIdentifier
All Implemented Interfaces:
Cloneable

public class ExternalDestinationSqlIdentifier extends org.apache.calcite.sql.SqlIdentifier
Extends the SqlIdentifier to hold parameters for an external destination.
  • Field Summary

    Fields inherited from class org.apache.calcite.sql.SqlIdentifier

    componentPositions, names, STAR

    Fields inherited from class org.apache.calcite.sql.SqlNode

    EMPTY_ARRAY, pos
  • Constructor Summary

    Constructors
    Constructor
    Description
    ExternalDestinationSqlIdentifier(String name, org.apache.calcite.sql.parser.SqlParserPos pos, Map<String,String> properties)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    org.apache.calcite.sql.SqlNode
    clone(org.apache.calcite.sql.parser.SqlParserPos pos)
     
     
     
    toExportStorageProvider(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
     
    void
    unparse(org.apache.calcite.sql.SqlWriter writer, int leftPrec, int rightPrec)
     

    Methods inherited from class org.apache.calcite.sql.SqlIdentifier

    accept, add, assignNamesFrom, equalsDeep, getCollation, getComponent, getComponent, getComponentParserPosition, getKind, getMonotonicity, getSimple, getString, isComponentQuoted, isSimple, isStar, plus, plusStar, setName, setNames, simpleNames, simpleNames, skipLast, star, star, toStar, toString, validate, validateExpr

    Methods inherited from class org.apache.calcite.sql.SqlNode

    clone, cloneArray, equalDeep, equalDeep, equalsDeep, findValidOptions, getParserPosition, isA, toList, toList, toSqlString, toSqlString, toSqlString, unparseWithParentheses

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ExternalDestinationSqlIdentifier

      public ExternalDestinationSqlIdentifier(String name, org.apache.calcite.sql.parser.SqlParserPos pos, Map<String,String> properties)
  • Method Details

    • getDestinationType

      public String getDestinationType()
    • getProperties

      public Map<String,String> getProperties()
    • unparse

      public void unparse(org.apache.calcite.sql.SqlWriter writer, int leftPrec, int rightPrec)
      Overrides:
      unparse in class org.apache.calcite.sql.SqlIdentifier
    • clone

      public org.apache.calcite.sql.SqlNode clone(org.apache.calcite.sql.parser.SqlParserPos pos)
      Overrides:
      clone in class org.apache.calcite.sql.SqlIdentifier
    • clone

      @Deprecated public Object clone()
      Deprecated.
      Overrides:
      clone in class org.apache.calcite.sql.SqlNode
    • toExportStorageProvider

      public ExportStorageProvider toExportStorageProvider(com.fasterxml.jackson.databind.ObjectMapper objectMapper)