Class ExternalDataSource

java.lang.Object
org.apache.druid.query.LeafDataSource
org.apache.druid.sql.calcite.external.ExternalDataSource
All Implemented Interfaces:
Cacheable, DataSource

public class ExternalDataSource extends LeafDataSource
Represents external data for INSERT queries. Only used by the SQL layer, not by the query stack. Includes an InputSource and InputFormat, plus a RowSignature so the SQL planner has the type information necessary to validate and plan the query. This class is exercised in CalciteInsertDmlTest but is not currently exposed to end users.
  • Constructor Details

  • Method Details

    • getInputSource

      public InputSource getInputSource()
    • getInputFormat

      public InputFormat getInputFormat()
    • getSignature

      public RowSignature getSignature()
    • getTableNames

      public Set<String> getTableNames()
    • isCacheable

      public boolean isCacheable(boolean isBroker)
    • isGlobal

      public boolean isGlobal()
    • isProcessable

      public boolean isProcessable()
    • getCacheKey

      public byte[] getCacheKey()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object