object SaveToHadoop
- Alphabetic
- By Inheritance
- SaveToHadoop
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply[K, V](rdd: RDD[(K, V)], keyToUri: (K) ⇒ String, toBytes: (K, V) ⇒ Array[Byte]): Long
Saves to Hadoop FileSystem, returns an count of records saved.
Saves to Hadoop FileSystem, returns an count of records saved.
- keyToUri
A function from K (a key) to a Hadoop URI
- toBytes
A function from record to array of bytes
-
def
apply[K](rdd: RDD[(K, Array[Byte])], keyToUri: (K) ⇒ String): Long
Saves to Hadoop FileSystem, returns an count of records saved.
Saves to Hadoop FileSystem, returns an count of records saved.
- keyToUri
A function from K (a key) to a Hadoop URI
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
saveIterator[K, V](recs: Iterator[(K, V)], keyToUri: (K) ⇒ String, conf: Configuration)(toBytes: (K, V) ⇒ Array[Byte]): Iterator[(K, V)]
Saves records from an iterator and returns them unchanged.
Saves records from an iterator and returns them unchanged.
- recs
Key, Value records to be saved
- keyToUri
A function from K (a key) to Hadoop URI
- conf
Hadoop Configuration to used to get FileSystem
- toBytes
A function from record to array of bytes
-
def
setup[K, V](rdd: RDD[(K, V)], keyToUri: (K) ⇒ String, toBytes: (K, V) ⇒ Array[Byte]): RDD[(K, V)]
Sets up saving to Hadoop, but returns an RDD so that writes can be chained.
Sets up saving to Hadoop, but returns an RDD so that writes can be chained.
- keyToUri
A function from K (a key) to a Hadoop URI
- toBytes
A function from record to array of bytes
-
def
setup[K](rdd: RDD[(K, Array[Byte])], keyToUri: (K) ⇒ String): RDD[(K, Array[Byte])]
Sets up saving to Hadoop, but returns an RDD so that writes can be chained.
Sets up saving to Hadoop, but returns an RDD so that writes can be chained.
- keyToUri
A function from K (a key) to a Hadoop URI
-
def
spatialKeyToPath(id: LayerId, pathTemplate: String): (SpatialKey) ⇒ String
- id
A Layer ID
- pathTemplate
The template used to convert a Layer ID and a SpatialKey into a Hadoop URI
- returns
A functon which takes a spatial key and returns a Hadoop URI
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()