Class ShowFilesHandler.ShowFilesCommandResult

java.lang.Object
org.apache.drill.exec.planner.sql.handlers.ShowFilesHandler.ShowFilesCommandResult
Enclosing class:
ShowFilesHandler

public static class ShowFilesHandler.ShowFilesCommandResult extends Object
Original show files command result holder is used as wrapper over new Records.File holder to maintain backward compatibility with ODBC driver etc. in column names and types.
  • Field Details

    • name

      public final String name
    • isDirectory

      public final boolean isDirectory
    • isFile

      public final boolean isFile
    • length

      public final long length
    • owner

      public final String owner
    • group

      public final String group
    • permissions

      public final String permissions
    • accessTime

      public final Timestamp accessTime
    • modificationTime

      public final Timestamp modificationTime
  • Constructor Details

    • ShowFilesCommandResult

      public ShowFilesCommandResult(Records.File fileRecord)