# Path: orangecontrib/spark/base/shared_spark_context.py
# class SharedSparkContext:
#     _sc = None
#     _hc = None
# 
#     @property
#     def sc(self):
#         return SharedSparkContext._sc
# 
#     @sc.setter
#     def sc(self, val):
#         SharedSparkContext._sc = val
# 
#     @property
#     def hc(self):
#         return SharedSparkContext._hc
# 
#     @hc.setter
#     def hc(self, val):
#         SharedSparkContext._hc = val


import pyspark
from Orange.widgets import widget
from pyspark.sql import HiveContext
from orangecontrib.spark.base.shared_spark_context import SharedSparkContext
__author__ = 'jamh'




class OWSparkMLMOdel(SharedSparkContext, widget.OWWidget):
    priority = 6
    name = "Cache DataFrame"

# Path: orangecontrib/spark/base/shared_spark_context.py
# class SharedSparkContext:
#     _sc = None
#     _hc = None
# 
#     @property
#     def sc(self):
#         return SharedSparkContext._sc
# 
#     @sc.setter
#     def sc(self, val):
#         SharedSparkContext._sc = val
# 
#     @property
#     def hc(self):
#         return SharedSparkContext._hc
# 
#     @hc.setter
#     def hc(self, val):
#         SharedSparkContext._hc = val


# Path: orangecontrib/spark/widgets/data/spark_df_cache.py
import pyspark
from Orange.widgets import widget
from pyspark.sql import HiveContext
from orangecontrib.spark.base.shared_spark_context import SharedSparkContext

__author__ = 'jamh'




class OWSparkMLMOdel(SharedSparkContext, widget.OWWidget):
    priority = 6
    name = "Cache DataFrame"

    description = "Call DataFrame.cache(), executes all pending steps on the tasks graph"