Packages

object SparkUtils extends LazyLogging

Linear Supertypes
LazyLogging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SparkUtils
  2. LazyLogging
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. case class SimpleFeatureRowMapping(sft: SimpleFeatureType, mappings: Seq[(Int, Int, Boolean)], id: (Row) => String) extends Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. def createFeatureType(name: String, struct: StructType): SimpleFeatureType
  7. def createStructType(sft: SimpleFeatureType): StructType
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. val ff: FilterFactory2
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def getExtractors(requiredColumns: Array[String], schema: StructType): Array[(SimpleFeature) => AnyRef]
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def joinedSf2row(schema: StructType, sf1: SimpleFeature, sf2: SimpleFeature, extractors: Array[(SimpleFeature) => AnyRef]): Row
  17. lazy val logger: Logger
    Attributes
    protected
    Definition Classes
    LazyLogging
    Annotations
    @transient()
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. def rowsToFeatures(name: String, schema: StructType): SimpleFeatureRowMapping

    Creates a function to convert a row to a simple feature, which will be based on the columns in the row schema.

    Creates a function to convert a row to a simple feature, which will be based on the columns in the row schema.

    If the row has a fid column, it will be used for the feature id. Otherwise, it will use a random id prefixed with the current time

    name

    simple feature type name to use

    schema

    row schema

  22. def rowsToFeatures(sft: SimpleFeatureType, schema: StructType): SimpleFeatureRowMapping

    Creates a function to convert a row to a simple feature.

    Creates a function to convert a row to a simple feature. Columns will be mapped to attributes based on matching names.

    If the row has a fid column, it will be used for the feature id. Otherwise, it will use a random id prefixed with the current time

    sft

    simple feature type

    schema

    dataframe schema

  23. def sf2row(schema: StructType, sf: SimpleFeature, extractors: Array[(SimpleFeature) => AnyRef]): Row
  24. def sparkFilterToCQLFilter(filt: Filter): Option[Filter]
  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from LazyLogging

Inherited from AnyRef

Inherited from Any

Ungrouped