Class SchemaConfig

java.lang.Object
org.apache.drill.exec.store.SchemaConfig

public class SchemaConfig extends Object
Contains information needed by AbstractSchema implementations.
  • Method Details

    • getTemporaryTableName

      public String getTemporaryTableName(String table)
    • getTemporaryWorkspace

      public String getTemporaryWorkspace()
    • newBuilder

      public static SchemaConfig.Builder newBuilder(String userName, SchemaConfig.SchemaConfigInfoProvider provider)
      Create new builder.
      Parameters:
      userName - Name of the user accessing the storage sources.
      provider - Implementation SchemaConfig.SchemaConfigInfoProvider
      Returns:
    • getUserName

      public String getUserName()
      Returns:
      User whom to impersonate as while creating SchemaPlus instances interact with the underlying storage.
    • getQueryUserCredentials

      public UserBitShared.UserCredentials getQueryUserCredentials()
    • getIgnoreAuthErrors

      public boolean getIgnoreAuthErrors()
      Returns:
      Should ignore if authorization errors are reported while SchemaPlus instances interact with the underlying storage.
    • getOption

      public OptionValue getOption(String optionKey)
    • getViewExpansionContext

      public ViewExpansionContext getViewExpansionContext()