Class

astraea.spark.rasterframes.extensions.Implicits

WithDataFrameMethods

Related Doc: package Implicits

Permalink

implicit class WithDataFrameMethods extends DataFrameMethods

Linear Supertypes
DataFrameMethods, MetadataKeys, MethodExtensions[DataFrame], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WithDataFrameMethods
  2. DataFrameMethods
  3. MetadataKeys
  4. MethodExtensions
  5. Serializable
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new WithDataFrameMethods(self: DataFrame)

    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 asRF(spatialKey: Column, temporalKey: Column, tlm: TileLayerMetadata[SpaceTimeKey]): RasterFrame

    Permalink

    Convert DataFrame into a RasterFrame

    Convert DataFrame into a RasterFrame

    spatialKey

    The column where the spatial key is stored

    temporalKey

    The column tagged under the temporal role

    tlm

    Metadata describing layout under which tiles were created. Note: no checking is performed to ensure metadata, key-space, and tiles are coherent.

    returns

    Encoded RasterFrame

    Definition Classes
    DataFrameMethods
    Annotations
    @throws( ... )
    Exceptions thrown

    IllegalArgumentException when constraints outlined in asRF are not met.

  6. def asRF(spatialKey: Column, tlm: TileLayerMetadata[SpatialKey]): RasterFrame

    Permalink

    Convert DataFrame into a RasterFrame

    Convert DataFrame into a RasterFrame

    spatialKey

    The column where the spatial key is stored

    tlm

    Metadata describing layout under which tiles were created. Note: no checking is performed to ensure metadata, key-space, and tiles are coherent.

    returns

    Encoded RasterFrame

    Definition Classes
    DataFrameMethods
    Annotations
    @throws( ... )
    Exceptions thrown

    IllegalArgumentException when constraints outlined in asRF are not met.

  7. def asRF: RasterFrame

    Permalink

    Converts this DataFrame to a RasterFrame after ensuring it has:

    Converts this DataFrame to a RasterFrame after ensuring it has:

    • a space or space-time key column
    • one or more tile columns
    • tile layout metadata

    If any of the above are violated, and IllegalArgumentException is thrown.

    returns

    validated RasterFrame

    Definition Classes
    DataFrameMethods
    Annotations
    @throws( ... )
    Exceptions thrown

    IllegalArgumentException when constraints are not met.

  8. def asRFSafely: Option[RasterFrame]

    Permalink

    Converts DataFrame to a RasterFrame if the following constraints are fulfilled:

    Converts DataFrame to a RasterFrame if the following constraints are fulfilled:

    • a space or space-time key column
    • one or more tile columns
    • tile layout metadata
    returns

    Some[RasterFrame] if constraints fulfilled, None otherwise.

    Definition Classes
    DataFrameMethods
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  16. def isRF: Boolean

    Permalink

    Tests for the following conditions on the DataFrame:

    Tests for the following conditions on the DataFrame:

    • a space or space-time key column
    • one or more tile columns
    • tile layout metadata
    returns

    true if all constraints are fulfilled, false otherwise.

    Definition Classes
    DataFrameMethods
  17. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  20. val self: DataFrame

    Permalink
    Definition Classes
    WithDataFrameMethods → MethodExtensions
  21. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. def withPrefixedColumnNames(prefix: String): DataFrame

    Permalink

    Renames all columns such that they start with the given prefix string.

    Renames all columns such that they start with the given prefix string. Useful for preparing dataframes for joins where duplicate names may arise.

    Definition Classes
    DataFrameMethods

Inherited from DataFrameMethods

Inherited from MetadataKeys

Inherited from MethodExtensions[DataFrame]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped