def set_trace(entry_trace=None, exit_trace=None):
        """
        Set XFrame tracing.

        Turns on and off tracing of XFrame method calls.
        When entry tracing is on, a message is written when each XFrame method is entered,
        giving its imput parameters.  
        When exit tracing is on, then a message is written when each method exits.

        Parameters
        ----------
        entry_trace, boolean, optional
            If True, turn on entry tracing.  Defaults to False.

        exit_trace, boolean, optional
            If True, turns on exit tracing.  Defaults to False.

        """
        XObjectImpl.set_trace(entry_trace, exit_trace)
Exemple #2
0
    def set_trace(entry_trace=None, exit_trace=None):
        """
        Set XFrame tracing.

        Turns on and off tracing of XFrame method calls.
        When entry tracing is on, a message is written when each XFrame method is entered,
        giving its imput parameters.  
        When exit tracing is on, then a message is written when each method exits.

        Parameters
        ----------
        entry_trace, boolean, optional
            If True, turn on entry tracing.  Defaults to False.

        exit_trace, boolean, optional
            If True, turns on exit tracing.  Defaults to False.

        """
        XObjectImpl.set_trace(entry_trace, exit_trace)
    def spark_sql_context():
        """
        Get the spark sql context.

        Returns
        -------
        out : SparkSqlContext
            The spark sql context.  
            If no sql context has been created yet, then one is created.
        """
        return XObjectImpl.spark_sql_context()
Exemple #4
0
    def spark_sql_context():
        """
        Get the spark sql context.

        Returns
        -------
        out : SparkSqlContext
            The spark sql context.  
            If no sql context has been created yet, then one is created.
        """
        return XObjectImpl.spark_sql_context()