Class GoogleSheetsScanSpec

java.lang.Object
org.apache.drill.exec.store.googlesheets.GoogleSheetsScanSpec
All Implemented Interfaces:
DrillTableSelection

public class GoogleSheetsScanSpec extends Object implements DrillTableSelection
  • Constructor Details

  • Method Details

    • getSheetID

      public String getSheetID()
    • getConfig

      public GoogleSheetsStoragePluginConfig getConfig()
    • getTableName

      public String getTableName()
    • getPluginName

      public String getPluginName()
    • getTabIndex

      public int getTabIndex()
    • getFileName

      public String getFileName()
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object
    • digest

      public String digest()
      Description copied from interface: DrillTableSelection
      The digest of the selection represented by the implementation. The selections that accompany Tables can modify the contained dataset, e.g. a file selection can restrict to a subset of the available data and a format selection can include options that affect the behaviour of the underlying reader. Two scans will end up being considered identical during logical planning if their digests are the same so selection implementations should override this method so that exactly those scans that really are identical (in terms of the data they produce) have matching digests.
      Specified by:
      digest in interface DrillTableSelection
      Returns:
      this selection's digest, normally a string built from its properties.