Class WorkspaceConfig

java.lang.Object
org.apache.drill.exec.store.dfs.WorkspaceConfig

public class WorkspaceConfig extends Object
Stores the workspace related config. A workspace has: - location which is a path. - writable flag to indicate whether the location supports creating new tables. - default storage format for new tables created in this workspace.
  • Field Details

    • DEFAULT

      public static final WorkspaceConfig DEFAULT
      Default workspace is a root directory which supports read, but not write.
  • Constructor Details

    • WorkspaceConfig

      public WorkspaceConfig(String location, boolean writable, String defaultInputFormat, boolean allowAccessOutsideWorkspace)
  • Method Details

    • getLocation

      public String getLocation()
    • isWritable

      public boolean isWritable()
    • getDefaultInputFormat

      public String getDefaultInputFormat()
    • allowAccessOutsideWorkspace

      public Boolean allowAccessOutsideWorkspace()
    • hashCode

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

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