Interface DataContext

All Known Implementing Classes:
VisitorDataContext

public interface DataContext
Runtime context allowing access to the tables in a database.
See Also:
  • Field Details

  • Method Details

    • getRootSchema

      @Nullable SchemaPlus getRootSchema()
      Returns a sub-schema with a given name, or null.
    • getTypeFactory

      JavaTypeFactory getTypeFactory()
      Returns the type factory.
    • getQueryProvider

      QueryProvider getQueryProvider()
      Returns the query provider.
    • get

      @Nullable Object get(String name)
      Returns a context variable.

      Supported variables include: "sparkContext", "currentTimestamp", "localTimestamp".

      Parameters:
      name - Name of variable