Class TypeMapperRdfSpark

java.lang.Object
net.sansa_stack.query.spark.rdd.op.TypeMapperRdfSpark

public class TypeMapperRdfSpark extends Object
  • Constructor Details

    • TypeMapperRdfSpark

      public TypeMapperRdfSpark()
  • Method Details

    • getNodeToSparkMapperRegistry

      public static Map<String,NodeToSparkMapper> getNodeToSparkMapperRegistry()
      Function that returns a registry of custom rdf datatype to Spark mappings.

      FIXME Convert this method into a proper registry: A singleton instance that wraps the map and upon initialization adds the default registrations

      Returns:
    • sqlTimestampToCalendar

      public static Calendar sqlTimestampToCalendar(Timestamp timestamp)
    • sqlDateToCalendar

      public static Calendar sqlDateToCalendar(Date timestamp)