Class

org.locationtech.rasterframes.datasource.raster

RasterSourceRelation

Related Doc: package raster

Permalink

case class RasterSourceRelation(sqlContext: SQLContext, catalogTable: RasterSourceCatalogRef, bandIndexes: Seq[Int], subtileDims: Option[Dimensions[Int]], lazyTiles: Boolean, spatialIndexPartitions: Option[Int]) extends BaseRelation with TableScan with Product with Serializable

Constructs a Spark Relation over one or more RasterSource paths.

sqlContext

Query context

catalogTable

Specification of raster path sources

bandIndexes

band indexes to fetch

subtileDims

how big to tile/subdivide rasters info

lazyTiles

if true, creates a lazy representation of tile instead of fetching contents.

spatialIndexPartitions

Number of spatial index-based partitions to create. If Option value > 0, that number of partitions are created after adding a spatial index. If Option value <= 0, uses the value of numShufflePartitions in SparkContext. If None, no spatial index is added and hash partitioning is used.

Linear Supertypes
Serializable, Serializable, Product, Equals, TableScan, BaseRelation, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RasterSourceRelation
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. TableScan
  7. BaseRelation
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RasterSourceRelation(sqlContext: SQLContext, catalogTable: RasterSourceCatalogRef, bandIndexes: Seq[Int], subtileDims: Option[Dimensions[Int]], lazyTiles: Boolean, spatialIndexPartitions: Option[Int])

    Permalink

    sqlContext

    Query context

    catalogTable

    Specification of raster path sources

    bandIndexes

    band indexes to fetch

    subtileDims

    how big to tile/subdivide rasters info

    lazyTiles

    if true, creates a lazy representation of tile instead of fetching contents.

    spatialIndexPartitions

    Number of spatial index-based partitions to create. If Option value > 0, that number of partitions are created after adding a spatial index. If Option value <= 0, uses the value of numShufflePartitions in SparkContext. If None, no spatial index is added and hash partitioning is used.

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. val bandIndexes: Seq[Int]

    Permalink

    band indexes to fetch

  6. def buildScan(): RDD[Row]

    Permalink
    Definition Classes
    RasterSourceRelation → TableScan
  7. val catalogTable: RasterSourceCatalogRef

    Permalink

    Specification of raster path sources

  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def defaultNumPartitions: Int

    Permalink
    Attributes
    protected
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. lazy val extraCols: Seq[StructField]

    Permalink
  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. lazy val indexCols: Seq[StructField]

    Permalink
  15. lazy val inputColNames: Seq[String]

    Permalink
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. val lazyTiles: Boolean

    Permalink

    if true, creates a lazy representation of tile instead of fetching contents.

  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. def needConversion: Boolean

    Permalink
    Definition Classes
    BaseRelation
  20. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  22. def pathColNames: Seq[String]

    Permalink
  23. def refColNames: Seq[String]

    Permalink
  24. def schema: StructType

    Permalink
    Definition Classes
    RasterSourceRelation → BaseRelation
  25. def sizeInBytes: Long

    Permalink
    Definition Classes
    BaseRelation
  26. val spatialIndexPartitions: Option[Int]

    Permalink

    Number of spatial index-based partitions to create.

    Number of spatial index-based partitions to create. If Option value > 0, that number of partitions are created after adding a spatial index. If Option value <= 0, uses the value of numShufflePartitions in SparkContext. If None, no spatial index is added and hash partitioning is used.

  27. val sqlContext: SQLContext

    Permalink

    Query context

    Query context

    Definition Classes
    RasterSourceRelation → BaseRelation
  28. def srcColNames: Seq[String]

    Permalink
  29. val subtileDims: Option[Dimensions[Int]]

    Permalink

    how big to tile/subdivide rasters info

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

    Permalink
    Definition Classes
    AnyRef
  31. def tileColNames: Seq[String]

    Permalink
  32. def unhandledFilters(filters: Array[Filter]): Array[Filter]

    Permalink
    Definition Classes
    BaseRelation
  33. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from TableScan

Inherited from BaseRelation

Inherited from AnyRef

Inherited from Any

Ungrouped