Object

org.locationtech.geomesa.spark

SparkUtils

Related Doc: package spark

Permalink

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. All

Type Members

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

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def createFeatureType(name: String, struct: StructType): SimpleFeatureType

    Permalink
  7. def createStructType(sft: SimpleFeatureType): StructType

    Permalink
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. val ff: FilterFactory2

    Permalink
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def getExtractors(requiredColumns: Array[String], schema: StructType): Array[(SimpleFeature) ⇒ AnyRef]

    Permalink
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def joinedSf2row(schema: StructType, sf1: SimpleFeature, sf2: SimpleFeature, extractors: Array[(SimpleFeature) ⇒ AnyRef]): Row

    Permalink
  17. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LazyLogging
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. def rowsToFeatures(name: String, schema: StructType): SimpleFeatureRowMapping

    Permalink

    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

    Permalink

    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

    Permalink
  24. def sparkFilterToCQLFilter(filt: Filter): Option[Filter]

    Permalink
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from LazyLogging

Inherited from AnyRef

Inherited from Any

Ungrouped