Class CalciteConnectionImpl.SlimDataContext

  • All Implemented Interfaces:, DataContext
    Enclosing class:

    private static class CalciteConnectionImpl.SlimDataContext
    extends java.lang.Object
    implements DataContext,
    Implementation of DataContext that has few variables and is Serializable. For Spark.
    • Constructor Detail

      • SlimDataContext

        private SlimDataContext()
    • Method Detail

      • get

        public java.lang.Object get​(java.lang.String name)
        Description copied from interface: DataContext
        Returns a context variable.

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

        Specified by:
        get in interface DataContext
        name - Name of variable